Go to Post Learn the ideas, look up the formulas. The other way round will drive you mad - Joe Johnson [more]
Home
Go Back   Chief Delphi > Technical > National Instruments LabVIEW and Data Acquisition
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 22-04-2008, 11:23
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: Using LabView to Simulate the Robot without the DAQ

Quote:
Originally Posted by JillianM View Post
The VIs provided seem to be dependant on the DAQ and dashboard. Am I wrong about this? The description talks about hardware-in-the-loop testing. If I don't have the hardware (since another part of our team is using it), then I need another way to test the software. One of the NI spokesmen in Atlanta said I should be able to do this, but he didn't know how. Has anyone ever tried?
I'm the one who initially designed the LabVIEW simulation toolkit for the IFI system, so maybe I can be of some help here.

The whole business with needing the DAQ and the Dashboard and all the bells and whistles that came with it was because we didn't have any kind of access to the software running on the PIC on the IFI system. We were forced to treat the IFI system as a "black box," with the exception of having the dashboard for SOME semblance of being able to peek at what was going on in there. We couldn't "fake" data being used on the IFI controller via any natural mechanism, so I was forced to use the USB-DAQ device to generate the "fake" data with LabVIEW to provide to the IFI system. That way we could test code running on the IFI system and provide the necessary "stimulus" that the software/hardware expected, and then we used the Dashboard to give us an idea about what the "result" of the "stimulus" was.

Using the cRIO with LabVIEW (or the C/C++ interface for that matter) is going to be much simpler since we actually have access to the code on the cRIO device. We have the ability to throw breakpoints on the code. We have the ability to single-step through code. And, if you want to, you can easily rig up a simulation "platform" for your code and run your FRC code on your laptop - as long as you provide the necessary inputs/data via front-panel objects (dials, sliders, numeric inputs, boolean buttons, etc...). We're working with top institutions to provide the best tutorials and documentation we can for this system, targeted to this audience. I think you'll be pleased.

-Danny
__________________
Danny Diaz
Former Lead Technical Mentor, FRC 418
Reply With Quote
 


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
Running the robot without a tether Hiromi Technical Discussion 3 05-10-2007 08:37
Using the Robot Simulation Toolkit to simulate OI Controls JimGRobot LabView and Data Acquisition 1 17-03-2007 04:14
Office Hours for LabVIEW and DAQ support Danny Diaz LabView and Data Acquisition 4 18-01-2007 15:45
Using the Example LabVIEW Apps Amin National Instruments LabVIEW and Data Acquisition 1 24-01-2006 08:51
Ideas for using the NI USB-6009 DAQ device Andrew Schuetze National Instruments LabVIEW and Data Acquisition 0 05-01-2006 22:55


All times are GMT -5. The time now is 17:56.

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