09-30-2010 11:14 AM
Hello all, I am using labview to creat a data aquisition system. I sample the data and then write it into a text file I created. However, I found that the data can not be written into file instentaneously, but after I click the red button to abort execution, the data would be stored in the file. I use the probe watch window to check the wire connect to text terminal of "write to text file", there are data coming in. Could I ask is there any reason for this to happen and how can I fix it?
Thank you so much for your help in advance.
09-30-2010 11:35 AM
It is kind of hard to troubleshoot your question without seeing any kind of code to see what you are doing now. Please attach your VI.
09-30-2010 11:37 AM
We can't really help you out unless we can see what you are doing.
It sounds like you have a loop collecting your data, then your write to file function is after that loop.
Therefore, your data will not be written to the file until the data collection loop finishes.
Please look up a "producer-consumer architecture", that may be what you are looking for.
09-30-2010 02:45 PM