Example Code

Spreadsheet Time/Data on XY Graph in LabVIEW

Code and Documents

Attachment

This example reads data from the specified spreadsheet file and plots a column of data versus a column of time. You can configure this VI to skip multiple header rows, as well as columns before and between data you want to view on the graph. The VI also can convert the time value to seconds or milliseconds and normalize the time to a zero starting index. The actual starting and ending times are displayed as well. Since the VI uses an XY Graph, the time information does not need to have a fixed time-interval between samples (Δt).

You can modify this to process multiple data sets, as well as include the ability to use date in the time information.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors