08-05-2016 01:06 PM
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
08-05-2016 01:33 PM
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