LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sharing variable between computer and CompactRIO

I am trying to share 4 variables from a host computer(write) to a compactrio(read). I am new to labview so the easier it is to understand the better. Thanks

0 Kudos
Message 1 of 4
(2,858 Views)

shared Variable is one option..

0 Kudos
Message 2 of 4
(2,853 Views)

I put these in but they are all reading 0 Should I have RT FIFO enabled and should I store them in the computer or CRIO side 

0 Kudos
Message 3 of 4
(2,845 Views)

You shouldn't need to enable RT FIFO unless you would like that functionality.  You can find more information on the different types and functionality of Shared Variables in this link.

 

It is recommended to store the Shared Variables on the cRIO as it is more reliable if connection is lost the shared variables can continue to update properly.

 

For good troubleshooting steps with Shared Variables I would recommend this article.

 

http://www.ni.com/white-paper/4679/en/

 

http://digital.ni.com/public.nsf/allkb/6E37AC5435E44F9F862570D2005FEF25?OpenDocument

 

Regards,

M. Whitaker
ni.com/support
0 Kudos
Message 4 of 4
(2,807 Views)