02-22-2016 04:02 PM
Hi all,
I am now trying to generate a sel-defined waveform through a PXI. As attached is a vi I built for AC signal generation, in the vi, I used a waveform generator to generrate a sinnusoidal wave for AC voltage. I suppose that I can replace this waveform generator with a block that can read an excel file that contains time instances and their corresponding voltage.
Can you please tell me whether this idea will work. If it will, which block can do this job?
Thank you very much.
Solved! Go to Solution.
02-22-2016 04:05 PM - edited 02-22-2016 04:08 PM
Yes you can.
The easiest is to have Excel save the data as a CSV file. Use Read from Spreadsheet File to get the data into LabVIEW.
(Search the forums for Excel. This question has come up thousands of times before.)
I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours
PS: They are called functions or SubVI's, not "blocks".
02-22-2016 04:34 PM
Thank you very much for your suggetion. I am looking into excel forum and the link you sent