I would like to log data at 0.5 second intervals while the daq assistant acquires data at 1KHz,
I tried using the write to measurement file express vi but couldn't separate the sampling and logging rates.
Any suggestions with code is always appreciated.
Your VI is saved in LabvIEW 2013, hence I can't open, either save it in previous version and upload or share the snapshot of block diagram.
Well, have you tried running two parallel loops one for acquisition and other for data logging.
Refer to these:
I am not allergic to Kudos, in fact I love Kudos.
Make your LabVIEW experience more CONVENIENT.
I changed daq portion to daqmx rather than daq assistant express but still lost with writing data to file every 0.5 seconds.
Your screenshot doesn't show anything trying to log the data!
Take the boolean output from the Timer express VI and wire that to a case structure. Inside the true case, put your data logging function. If you set your time target to 0.5, then the the timer will become true every 1/2 second and send your data to the file.
What is your countdown timer supposed to show? It wasn't clear you were using the express VI for that purpose in your earlier screenshot.
If you need a separate timer for the sake of a countdown vs. a timer for when to log, then put two express VI's in your code, each configured however you need it.
The timer is used to toggle a valve every five seconds and provide an countdown indicator for the sampling period (0.5 sec x 10 seconds).
I will work on your suggestion using another express VI.