LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Restarting data capture after power failure using Labview RT/cDAQ-9137

Hello all,

I am trying to program a cDAQ-9137 for extended, unmonitored data capture and logging. In the event of a power failure or cDAQ restarting, I would like the code to continue taking data and logging it from where it previously left off.

How would I go about setting this up?

Thank you,
AbeG

0 Kudos
Message 1 of 2
(2,694 Views)

When the logging starts, write info to a file that will let the application know it was logging when it was last active. Read that file when the application starts and ...

 

A config file would be good for this. Make sure you "close" the config file after writing it to make sure it gets written to disk.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 2
(2,677 Views)