Go to Post Man, FIRST is amazing :D - galewind [more]
Home
Go Back   Chief Delphi > Technical > National Instruments LabVIEW and Data Acquisition > LabView and Data Acquisition
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-12-2006, 13:47
JimGRobot JimGRobot is offline
Registered User
AKA: Jim
FRC #1388 (Eagle Robotics)
Team Role: Mentor
 
Join Date: Nov 2006
Rookie Year: 2005
Location: Arroyo Grande, CA
Posts: 29
JimGRobot is just really niceJimGRobot is just really niceJimGRobot is just really niceJimGRobot is just really nice
Getting ready to use LabView for 2007

We just received the LabView gift package, and will be trying it out next week, thanks NI!

Last year on Team 1388, we instrumented our code by setting a digital output on the RC upon entering a section of code, and clearing the output upon exiting a section of code. We connected an oscilloscope to the output, and could measure exactly how long it took to exececute that block of code.

One problem we encountered was the 26 mS refresh rate produced a flashing and dim trace on the oscilloscope, and it was also jittery since the time through the code is not always the same during each pass through it.

I am hoping to use LabView to solve all of these problems. Using some of the digital inputs on the data acquisition module connected to digital outputs on the RC, I plan to create a multi-trace storage oscilloscope for viewing the timing signals, but more importantly, measure the actual pulse width each time, and track the minimum, maximum, and average times in a given part of the code. Another cool way to do this will be to display the pulse width sample data in a histogram display.

I will post more information in this thread as we work through this application.

Jim Greenhaw
Team 1388 Programming Mentor
Reply With Quote
  #2   Spotlight this post!  
Unread 02-12-2006, 01:31
EStokely's Avatar
EStokely EStokely is offline
Registered User
AKA: Eric Stokely
FRC #0360 (Revolution)
Team Role: Mentor
 
Join Date: Nov 2001
Rookie Year: 1998
Location: Tacoma
Posts: 195
EStokely has a reputation beyond reputeEStokely has a reputation beyond reputeEStokely has a reputation beyond reputeEStokely has a reputation beyond reputeEStokely has a reputation beyond reputeEStokely has a reputation beyond reputeEStokely has a reputation beyond reputeEStokely has a reputation beyond reputeEStokely has a reputation beyond reputeEStokely has a reputation beyond reputeEStokely has a reputation beyond repute
Re: Getting ready to use LabView for 2007

Quote:
Originally Posted by JimGRobot
I am hoping to use LabView to solve all of these problems. Using some of the digital inputs on the data acquisition module connected to digital outputs on the RC, I plan to create a multi-trace storage oscilloscope for viewing the timing signals, but more importantly, measure the actual pulse width each time, and track the minimum, maximum, and average times in a given part of the code. Another cool way to do this will be to display the pulse width sample data in a histogram display.
Great idea. We also just got our NI package and I am excited about getting into it. Now I have a first task for it.
I am also curious how well my students who are 'C' biased for programming take to the icons.

And I will post whatever we manage to get it to do
__________________
Eric Stokely
Team 360 The Revolution, past mentor of 258 The Sea Dawgs
Experience is what you get when you don't get what you want.
Reply With Quote
  #3   Spotlight this post!  
Unread 03-12-2006, 17:38
Danny Diaz's Avatar
Danny Diaz Danny Diaz is offline
Smooth Operator
AKA: FrankenMentor
None #0418
Team Role: Alumni
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Manchester, NH
Posts: 545
Danny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond repute
Send a message via AIM to Danny Diaz
Re: Getting ready to use LabView for 2007

Quote:
Originally Posted by EStokely
I am also curious how well my students who are 'C' biased for programming take to the icons.
[laughs] I find that I have to sit down with the students and introduce them to the concept of functional, procedural, and data flow language paradigms before they can begin to appreciate the fact that they'll most likely be dealing with "non C-or-text-based languages" for the rest of their lives.

Text based functional or procedural programmers will have some transition time before they can effectively program in a graphical dataflow language - this is normal, I recommend that they open example programs in LabVIEW to begin understanding how to write proper graphical LabVIEW code. G-based programs (G is the graphical language name) have their own design patterns, and students who can identify and learn those patterns will be more effective LabVIEW programmers.

-Danny
__________________
Danny Diaz
Former Lead Technical Mentor, FRC 418
Reply With Quote
  #4   Spotlight this post!  
Unread 19-12-2006, 14:11
Jon236's Avatar
Jon236 Jon236 is offline
Registered User
AKA: Jon Mittelman
FRC #2648 (Infinite Loop)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Windsor, Maine
Posts: 741
Jon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond repute
Re: Getting ready to use LabView for 2007

Thanks, Danny and NI for the package! It took all of 10 minutes to configure the DAQ for a Greyhill encoder. Visualizing the actual output is an excellent teaching tool for the programmers!

I had heard that NI was going to provide a VI 'Dashboard' so that we could connect the RC to the DAQ and watch the output as the program ran. I can also see, having completed the tutorial and started using the device myself, that maybe the idea was for the teams to come up with their own Dashboard.

I only wish I had a tool like this during my EE days!

JOn
Reply With Quote
  #5   Spotlight this post!  
Unread 20-12-2006, 15:12
Danny Diaz's Avatar
Danny Diaz Danny Diaz is offline
Smooth Operator
AKA: FrankenMentor
None #0418
Team Role: Alumni
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Manchester, NH
Posts: 545
Danny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond repute
Send a message via AIM to Danny Diaz
Re: Getting ready to use LabView for 2007

Give me until Friday to answer that question - we're putting some additional touches on a tool we've been working on for several months now, and it includes everything you're asking about (improved Dashboard and such). I promise you won't be disappointed!

-Danny
__________________
Danny Diaz
Former Lead Technical Mentor, FRC 418
Reply With Quote
  #6   Spotlight this post!  
Unread 26-12-2006, 20:42
Danny Diaz's Avatar
Danny Diaz Danny Diaz is offline
Smooth Operator
AKA: FrankenMentor
None #0418
Team Role: Alumni
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Manchester, NH
Posts: 545
Danny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond repute
Send a message via AIM to Danny Diaz
Re: Getting ready to use LabView for 2007

Quote:
Originally Posted by Danny Diaz View Post
Give me until Friday to answer that question
Eh, looks like it took a *little* bit longer, but here is your answer:

http://www.chiefdelphi.com/forums/sh...ad.php?t=50742

The Dashboard we've created is part of a "Dashboard Provider" that can be used with the toolkit or as a stand-alone type of client. It uses the NI Datasocket Server to publish dashboard values (you can read those values from another computer if you're networked) and any LabVIEW application can access the dashboard values and pluck what you want out of a well-structured cluster and display them, plot them, or whatever!

Go ahead, give it a try.

-Danny
__________________
Danny Diaz
Former Lead Technical Mentor, FRC 418
Reply With Quote
  #7   Spotlight this post!  
Unread 26-12-2006, 23:00
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: Getting ready to use LabView for 2007

Hi,

The links in the link you posted seem to be dead, any way of getting those tutorials back online?

Thanks
Reply With Quote
  #8   Spotlight this post!  
Unread 27-12-2006, 12:55
Danny Diaz's Avatar
Danny Diaz Danny Diaz is offline
Smooth Operator
AKA: FrankenMentor
None #0418
Team Role: Alumni
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Manchester, NH
Posts: 545
Danny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond repute
Send a message via AIM to Danny Diaz
Re: Getting ready to use LabView for 2007

Quote:
Originally Posted by bear24rw View Post
The links in the link you posted seem to be dead, any way of getting those tutorials back online?
Yep, I was finally able to move everything to the permanent location set up for this project (and others in the future). The links in the original post have been updated to reflect these locations; give it a little while, though, it may take some time for the downloadable tutorial packages to update and become available on the server.

Let me know if you have any further problems.

-Danny
__________________
Danny Diaz
Former Lead Technical Mentor, FRC 418

Last edited by Danny Diaz : 27-12-2006 at 13:05.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
getting the databse ready for the nationals Nimmy Scouting 6 04-04-2006 22:15
Getting ready for 2006 Macdaddy549 General Forum 29 16-12-2005 23:30
pic: Getting Ready For Comps CD47-Bot Extra Discussion 2 16-02-2004 13:10
Getting ready for the next season Eugene General Forum 9 25-07-2002 11:25
Custom Dashboard code for LabVIEW ready for download. archiver 2001 3 24-06-2002 00:49


All times are GMT -5. The time now is 02:41.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi