05-18-2009 04:17 PM
Hi all.
I have a cRIO system that is using shared variable to publish to a host PC for display and data logging. I've declared a U32 to allow me to count to 100000000 cycles. Everything appears to run fine when I am running the RT code in labview. When I deploy and run the system out of labview, the counter maxes out at 32767 (I16 maximum size) and then stuffs 4294967295 into the display which stops the program since it is above the 100000000 cycle maximum. I am baffled. I've tried redesigning using singles instead of integers but still get this behaviour when running outside of labview.
Any ideas?
05-18-2009 08:43 PM
05-19-2009 10:50 AM
05-19-2009 11:02 AM
Win XP SP 3, Labview 8.6.1, NI-RIO 3.1.0 w/ scan engine
Hardware cRIO-9101 with 3rd Party FPGA (Drivven Fuel Port Driver) device and a NI 9219
05-19-2009 01:11 PM
05-19-2009 01:23 PM
For reference, follow the instructions provided in the linked article:
How Do I Deploy Network Shared Variables from a Compiled Executable?