Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving data from daq at iterations

Solved!
Go to solution

I am doing some testing on some materials. my setup cycles a relay to change a solenoid valve and im monitoring the pressure over time with a pressure sensor. Id like to save this data say every 5 min so im not constantly processing and saving. I dont know what the best approach is or what will work best.

 

Im trying write to measurement file but cant get it to work the way id like it to. any help is appreciated

 

to use this vi you will need the drivers/libraries for my relay and daq, which are too large to load so I have attached links. otherwise another vi just simulating a signal could carry out the same function

 

http://www.phidgets.com/docs/Language_-_LabVIEW#Quick_Downloads

 

http://www.mccdaq.com/daq-software/universal-library-extensions-lv.aspx

0 Kudos
Message 1 of 3
(4,453 Views)
Solution
Accepted by topic author cgarlow

Hi cgarlow,

 

Have you tried using the "flush?" input on the Write To Measurement File Express VI?  This input allows you to specify when LabVIEW writes data to a measurement file.

0 Kudos
Message 2 of 3
(4,422 Views)

Thanks for your help, this ended up working, there is an example showing how to save after x number of iterations with the flush input. I ended up having to save locally, having it save to my server caused too much bogging down 

0 Kudos
Message 3 of 3
(4,382 Views)