LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write to measurement file express vi

Hi all,

 

I have a pretty big acquisition system for hundred of channels (voltage, strain, displacement, load...) and I had to queue my data to be able to plot it and save it .

Everything works fine but since a very long test is coming (weeks acquiring 24h per day) I wanted to save data programatically. To do it simple I've changed my "saving line" from thisshort.JPG

which works perfect but you have to wait until the end of the test to obtain the data. To this:

express vi.JPG

where I can select when to cut a file, save it and close it.

My problem is that the second option does not work. It creates the file, the header but no data is saved in it and I cannot understand why, I select one header only, one time column, append data if the file exists. It seems the queue does not pass data to the express vi.But it does in the first example.

If anyone could help me with that.

Thanks!

0 Kudos
Message 1 of 4
(2,944 Views)

What was wrong with keeping what you had?  The Express VI makes things complicated (who knows how it is configured, it is often inefficient, too many options that make little sense).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 4
(2,928 Views)

Hi,

 

It was the easiest way I can think of to save data programatically. We are planning a very long test and I do not want to risk the data.

Since this Express.vi has the option to cut the files: once it reached a determined size, or once each X time interval, it could be very useful for me.

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

Hi,

 

In case anybody faces the same problem, I just post it how I solved it (it works for me at least)

 

Capture.JPG

It saves data every Interval seconds and renames the new  file by appending the hour,min,sec in the file name.

 

0 Kudos
Message 4 of 4
(2,880 Views)