LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

help with data reading

Solved!
Go to solution

I had the measurement and automation studio make me the attached VI to read in some strain gage readings, but I'm getting these enormous files with headers that break everything up making it a real pain to process the data outside of labview. Can anyone help me

 

1) Get the files to write with only one header

2) Sample the signal at a lower rate so I don't have 16 meg files or whatever it is everytime I do a data collection

 

I'd really appreciate it.

 

Thanks,
Brian

Download All
0 Kudos
Message 1 of 3
(2,648 Views)
Solution
Accepted by topic author bcglaxer

There is another connection on the bottom of the Write to File function where you can connect a False to tell it not to write the header.

 

Turn on context help (Ctrl-H) and select the function to see.

Message 2 of 3
(2,636 Views)

Hi Bc,

The sampling rate you can change in your task, if you want to sample slower that would be the place to make that change. You can try Raven’s suggestion and wire a F to the input or use a “First Call?” VI instead. Alternatively you can use the “Write to Measurement File” Express VI which will also let you write your waveform data to a text file.

Matt
Applications Engineer
National Instruments
Message 3 of 3
(2,610 Views)