05-17-2010 03:44 PM
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.
05-18-2010 11:06 AM
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