05-20-2015 05:07 AM
Hello
I am new to real time acqusition and I am using cRIO 9024 with NI 9219 NI 9225 and NI 9215 for my data acqisition. I am acquiring the data in scan interface mode. I have modified the example of scan interface VI according to my requirement and it is working conditionally.
IN my program, when I run the VI first time it works fine, it writes the data to file which i can verify by seeing it but if I run it again it does not work and if I restart the RIO and run the VI, it again works. I am puzzled with this problem. I have included my VI here. If someone can give some inputs to sortout the issue, it would be great help.
Thanks
Krishnab
Solved! Go to Solution.
05-20-2015 05:44 AM
Your Stop variable should NOT be set to use a FIFO. You want the last value at all times. You likely still have a TRUE still in the FIFO which stops your loop.
You really should not use the Buffer shared variable. Just use a normal Queue to send the data to your logging loop. It will work A LOT better and greatly simplify the logging loop.