LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

generating sine wave using array of values

Dear All,

I have the samples of a signal generated from Matlab and retrieved in LabVIEW using Read Delimited Spreadsheet Vi, how could I regenerate the waveform(Let's say the samples are 10000,i want to plot this samples with time from 0 to 1se).

I appreciate any help!

Regards,

Samuel

0 Kudos
Message 11 of 14
(567 Views)

Hi Samuel,

 

Build a waveform and set dt to 0.0001s (reciprocal of 10000Hz)...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 12 of 14
(564 Views)

Dear GerdW,

Thank for your help, yes I did that but my intention was to plot the sample data of the signal over the range of time(0 to 1sec).I was trying to connect the output waveform to the xy graph but it was generating an error,

Thank you in advance!

Regards,

Samuel

 

0 Kudos
Message 13 of 14
(560 Views)

Hi Samuel,

 

why do you use a XY graph to plot a waveform? Why don't you use a waveform graph?

Best regards,
GerdW


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