LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programming issues?

Solved!
Go to solution

Hi again you guys,

like i said previously, i'm new to LV and my english is not the best...

I'm constructing a VI to aquire analogic signals from 4 pressure transductors...I

I need the aquired data on a excel file (table) and the waveform chart on a datasheet file...

The data exported to excel file should be 2 values each second, and I'm getting something like...700 samples per second....what turns my excel file very extensive....and 1 time column for each channel, I just need 1 time column to all channels....

Another issue: The x-axis values ( set to 0-300 seconds) when i run program it changes to something else that i don´t really know what is....

For last, i don´t know how to automatically export the waveform chart to a datasheet file at the elapsed time (like it's happening with the excel export)...

Can anyone, please, teach or show me how to solve this issues???

Sorry for  my bad english...

 

Best regards

Jimmy
0 Kudos
Message 1 of 2
(2,364 Views)
Solution
Accepted by GoncaloPT

You need to adjust the sample rate on on DAQ step.  Double click on the DAQ assistant, go down to the bottom right box and enter a different number in the Rate (Hz) box.  You currently have 1k = 1000 samples/sec.  If you only need 2 samples per second, change this to two.  You can also wire in the number 2 to the input called "rate" on the DAQ assistant.

 

If I were you, I would use the Write Measurement File VI instead of the export data to Excel.  It will write a file with a *.lvm extension.  But if you double click on the file and tell it to open with Excel, Excel can read it just fine.  You can find this function under Express-Output-Write Meas File.   Place one of these on a block diagram and then read the help about it.

 

Craig

Message 2 of 2
(2,278 Views)