10-01-2011 12:21 AM
@Dave I have tried doing the method you have explained but it seems like not working. The instrument stores a set of values for current and voltage in an excell file and most probably to graph the THD i need to extract those values from the excell sheet and plot in LabVIEW. Is there any application for doing that in LabVIEW?
10-03-2011 05:57 PM
Yes, there are a couple different ways you can read the data in from an excel file to use in your LabVIEW program. The first way would be to use the Read From Measurement File express VI. This can be found under File I/O in the functions palette. This express VI will read from an excel file that you specify and output the data as dynamic data type. You will probably then have to use the Convert from Dynamic Data function to convert this data into an array, but that depends on how you want to use the data.
The second method for reading from a spreadsheet is to use the Read From Spreadsheet subVI. This can also be found under File I/O in the functions palette.
The Read From Measurement File express VI can be a little more user friendly than using the Read From Spreadsheet subVI, but it also is slower and sometimes more cumbersome than the subVI.
Regards,
-Chris G
Applications Engineer
National Instruments