Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   LabVIEW code deploying instead of running (http://www.chiefdelphi.com/forums/showthread.php?t=79665)

linkhyrule5 07-01-2010 19:15

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?

bladetech932 07-01-2010 20:43

Re: LabVIEW code deploying instead of running
 
you are operating in a FRC robot project try opening a blank vi then copying your code there

Vikesrock 07-01-2010 20:48

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

bladetech932 07-01-2010 20:55

Re: LabVIEW code deploying instead of running
 
if you are trying to test FRC code then you have to replace inputs with controls or constants and replace the outputs with indicators

BLAQmx 08-01-2010 13:03

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.

Team843 09-01-2010 23:05

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

Greg McKaskle 10-01-2010 14:57

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


All times are GMT -5. The time now is 11:54.

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