LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Export Data to Excel

I do get data though but only sometimes, and then sometimes it's blank.

0 Kudos
Message 21 of 22
(773 Views)

@Neil_Helsel wrote:

I do get data though but only sometimes, and then sometimes it's blank.


This is called a race condition. In your case, you have a race between Acquisition Abe and Export Edward. Edward can run the race in 5 milliseconds, but Abe takes a full second. They both start at the same time because they're running in parallel. Who do you think wins every time? Lucky for you (maybe not) Abe leaves behind his notebook after the race, so that Second-Run Sally can save the old data.

 

You will never get data the first time you run the VI after opening LabVIEW. After that point, you might have data in the graph left over from the previous run that is being saved.

Please attach a snippet version of your code above. This will allow us to manipulate it to show you what your obvious problems are. You've already shared that code... so just share it the right way. 

 

If you won't give any more info, follow this link to learn about dataflow. <-- Important

Cheers


--------,       Unofficial Forum Rules and Guidelines                                           ,--------

          '---   >The shortest distance between two nodes is a straight wire>   ---'


0 Kudos
Message 22 of 22
(757 Views)