LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NSV w/RT FIFO Read does not return correct value

I have a cRIO which is hosting a NSV w/ RT FIFO enabled.  I can observe its value in the DSM.

I have a LabVIEW exe that reads this NSV with a SV node on the diagram.  This read value is incorrect.

If a run the same vi from the development environment then the correct value is read.  If I remove the RT FIFO option then 

the exe version will work correctly.  According to the NI SV white paper, each reader of a NSV w RT FIFO recieves its own

client side buffer so there should not be any interference.  It should be mentioned that I am also creating a SV reference to this same NSV on the cRIO

for read only use.

 

0 Kudos
Message 1 of 2
(2,191 Views)

Hello,

 

Have you tried using a Network Published shared variable to communicate between the host and target? This architecture would use a Network Published Shared Variable in a normal priority loop to pass data to a Single Process RT FIFO enabled shared variable on the target to move data to the time critical loop. Is the cRIO that you are accessing the only one present on the network? Also,. if you slow down your loop speeds, do you get correct values?

 

-Zach

0 Kudos
Message 2 of 2
(2,168 Views)