|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#1
|
||||
|
||||
|
Labview Simulator
I had heard that there is a way to run/simulate/test the 2009 Labview Robot code on the desktop machine standalone without using a CRIO to deploy on.
I could be totally off the mark, but if this is possible, could some one point me in the right direction to set this up? |
|
#2
|
|||||
|
|||||
|
Re: Labview Simulator
I haven't tried it yet, but I can repeat things I've heard...
In the Project Explorer window the vi's you want to run on your PC need to be under "My Computer" so it gets compiled for that target. You can do a copy/paste of the vi's under "RT CompactRIO Target" to "My Computer" then build for that target platform to get them to run on your PC instead of the cRIO. I'm not positive how you'd simulate system inputs/outputs, although I imagine it's pretty easy to hook it up to a USB game controller or joystick. Last edited by Mark McLeod : 12-12-2008 at 09:45. |
|
#3
|
|||||
|
|||||
|
Re: Labview Simulator
Quote:
-Danny |
|
#4
|
||||
|
||||
|
Re: Labview Simulator
Danny,
Can you use the conditional disable structure to do that? |
|
#5
|
|||||
|
|||||
|
Re: Labview Simulator
Quote:
Using the conditional disable structures allows your code to run in a "sandbox" if you want to think of it like that, but it may take significant additional work to make your code work properly within this sandbox if you normally have dependencies on cRIO hardware. I envision that this kind of "sandboxing" will be the first-pass "poor-man's simulator", and then the next phase could be a "simulated target" in the project where you could deploy VIs to and the NI-distributed VIs would use this "sandboxing" technique (or possibly something better, I dunno) to perform dual-purpose code for simulation of cRIO hardware. Good luck! -Danny |
|
#6
|
||||
|
||||
|
Re: Labview Simulator
Thanks for all the interesting discussions and ideas. I'm very "green" when it comes to Labview.
My initial thoughts were to simply be able to develop and debug new VI's within the FRC structure without needing to be tied to the CRIO. I can certainly see how that can be very doable. Perhaps in time, a method of logic testing could be developed using a file as "input" in place of a Robot, DS, CRIO, Sensors and run more detailed simulations. Something akin to what the old Labview Dashboard could do. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Robot Simulator in LabView | Jon236 | FRC Control System | 3 | 17-11-2008 22:56 |
| RC Simulator? | seg9585 | Programming | 2 | 03-02-2006 12:15 |
| Code Simulator | Mike | Programming | 7 | 31-05-2005 20:52 |
| Game Simulator | Gope | General Forum | 7 | 14-03-2003 19:28 |
| Controller Simulator | Jay | Programming | 14 | 03-04-2002 02:04 |