LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save data to excel

is there any way to just have a graph of the mean value of the waveform?

 

i wasn't able so far to save the data to a .csv also, the zero function isn't working, it says that the wave have different dt on the minus function....

 

 

0 Kudos
Message 21 of 23
(693 Views)

For the mean, just wire that function (Mathematics>Probablity and Statistics) to where you want it and wire the output to a Chart - not a graph.

 

For saving the data, look at the Export Waveforms to Spreadsheet File on the Waveform>Waveform File I/O palette. Works similar to the Write to Spreadsheet File except it accepts waveforms as input. If you use this, you would want to consider using a producer/consumer architecture as I mentioned.

 

Not sure about the auto-zero error. Perhaps if you wired the waveform from the acquisition to a Build Waveform function and wire up a Y array.

0 Kudos
Message 22 of 23
(686 Views)

´Hi,

 

I just managed to solve the problem of the zero function by reading the mean value of the original signal and then subtract this value form the it i was able to get a zero value, but i have to input it by hand everytime i iniciate the application... i don't know if there's another way of doing it, but for now it works perfectly 😛

 

The other problem of the data saving, in the inicial vi is in my opinion, the anti-aliasing filter that removes lot's of data, i think it as one filter in the Emant300 config analog... but now with the waveform i get plenty of data to work with. i just need to do some "cleening" on the output signal, perhaps removing the noise and stay only with the sinusoidal wave.... if you have any idea that could help me improve the application i will be appreciated! 😉

 

Thanks for all the help you been givving me so far!

 

0 Kudos
Message 23 of 23
(665 Views)