I am trying to export waveform data to excel automatically using Create>Invoke Node>Export Data to Excel. However, this command executes at the same time as my DAQ collection begins so the data that gets exported to excel is the data that already exists on the waveform graph, not the new data that the DAQ is collecting. Is there any way to fix this?
Yes, sure! All you need to do is to THINK DATAFLOW…
When you want to execute that method node AFTER all the other code then you must enforce execution order. To do so you should employ DATAFLOW - one of the easiest option is to use the error wire to set the execution order!
(When you don't know this part of LabVIEW then I advise to (re)visit the Training Resources offered at the top of the LabVIEW board.)
Best regards, GerdW
using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019