ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

export waveform to excel

Solved!
Go to solution

Hi Emna,

 

right now I'm limited to LV2017. Please attach a downconverted version of your VI…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 25
(2,829 Views)

Change your X-Axis scale from absolute time to relative time. 

0 Kudos
Message 12 of 25
(2,826 Views)

Hi GerdW (Knight of NI)

you find below  the program ( i use save to previous version 17.0 ) .

 

 

0 Kudos
Message 13 of 25
(2,823 Views)
Solution
Accepted by Emna20

Hi Emna,

 

don't use ExpressVIs to reach your goals:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 14 of 25
(2,819 Views)

Hi GerdW ,

thank you very much ( you program it works )

i want to aske you if i change the Sine Wave with the cDAQmx it works or note ? (see below ) 

and what about exporting the signal Data to Excel ? 

Thank you for your reply .

Best regards .

 

Cap2.PNG

0 Kudos
Message 15 of 25
(2,808 Views)

Hi Emna,

 

if i change the Sine Wave with the cDAQmx it works or note ? (see below )

Yes. (Just try it out!)

 

and what about exporting the signal Data to Excel ?

No problem.

You just need to program it!

(There is a palette full of Waveform functions…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 16 of 25
(2,815 Views)

Hi ,

when i use this program i obtain a graph from 0 seconds to 60 seconds but in the Excel file i only have acquisation from 0 seconds to 20 seconds .

any explanation please .( see below my program )

n.PNG

0 Kudos
Message 17 of 25
(2,794 Views)

Hi Emna,

 

don't use a wait function in parallel with a hardware-timed DAQmx task: let the DAQmx task do the timing!

(DAQmxRead is set to read 50k samples at a sample rate of 50kS/s, so you need 60 iterations to get data for a whole minute…)

 

Why don't you save the resulting waveform using a Waveform function to a file?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 18 of 25
(2,788 Views)

Hi , 

i want  your help using  DAQmx to stop the acquisation after 60 seconds .

i change the program using extract Waveform to graph and with elapsed time i only end up with Excel file Containe acquisation from 0 Seconds to 20 Seconds . (see below ) 

n2.PNG

0 Kudos
Message 19 of 25
(2,781 Views)

Hi Emna,

 

this basically is all you  need:

check.png

I don't know why you are fiddling with t0 of your resulting waveform in this very Rube-Goldberg way…

(Ofcourse you need to define the channel and clear the task after the loop.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 20 of 25
(2,769 Views)