|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#1
|
|||
|
|||
|
LabVIEW code deploying instead of running
Heya all!
I'm trying to test my code by running it on my own computer. Unfortunately, it insists on deploying to a nonexistent cRIO. I've tried all the menu options I could find, and I couldn't find a way to stop this. Does anyone know how to turn it off? |
|
#2
|
||||
|
||||
|
you are operating in a FRC robot project try opening a blank vi then copying your code there
|
|
#3
|
|||||
|
|||||
|
Re: LabVIEW code deploying instead of running
See this thread for more info on testing code without a cRIO:
http://www.chiefdelphi.com/forums/sh...t=labview+test Last edited by Vikesrock : 07-01-2010 at 21:16. |
|
#4
|
||||
|
||||
|
if you are trying to test FRC code then you have to replace inputs with controls or constants and replace the outputs with indicators
|
|
#5
|
||||
|
||||
|
Re: LabVIEW code deploying instead of running
In your LabVIEW project move the VI you are trying to run from under the cRIO Tree to under My Computer. This will change the context in which the VI runs. In the bottom left corner of your VI your should see if it is targeted to the cRIO or My Computer.
Note: If the VI is open when you move its location in the project you will have to close and reopen the VI before the change take effect. Also, you're VI won't work if you have attempting you use hardware resources on the cRIO when in the My Computer context. |
|
#6
|
|||
|
|||
|
Re: LabVIEW code deploying instead of running
You can replace the I/Os with controls n indicators (so that you can control and see your program) and then open the main application instance (so that it wont try and deploy when u run it)
that way u can easily test and simulate the program without having to change your programming architecture Last edited by Team843 : 09-01-2010 at 23:07. |
|
#7
|
|||
|
|||
|
Re: LabVIEW code deploying instead of running
My advice would be to keep the I/O calls at the higher levels, and call into subVIs passing in the values and possibly passing out values. Doing this means that at the lower levels, you can drag the "logic only" subVIs up to the host and unit test them easily by typing in values, setting break points, etc. Then you drag them back to the cRIO portion of the project.
Greg McKaskle |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Issue deploying Code | rudun | Java | 5 | 18-01-2010 21:24 |
| Having trouble with Deploying code | Hatefulhippo | Programming | 2 | 15-02-2009 14:02 |
| Proper procedure for deploying Labview code? | domoarigato | NI LabVIEW | 8 | 03-02-2009 06:52 |
| Problems running Default LabView Code Version 3.0 | seg9585 | Programming | 6 | 01-02-2009 17:23 |
| Problem deploying/running default code | blaxbb | FRC Control System | 0 | 10-01-2009 11:59 |