
Quick Start: MCC ULx for NI LabVIEW Build the NI LabVIEW program
5
This instance reads multiple samples from one channel.
Display the data
From the front panel, select Express»Graph Indicators»Graph and place a Waveform Graph on the block
diagram.
Write the data to a file
Select Functions»Programming»File I/O»Write Meas File to add a Write to Measurement File Express VI to
the block diagram. The Configure Write to Measurement File dialog box opens:
Configure the following options on the dialog box:
1. In the File Name text box, enter a path to save the data, or browse to the destination path.
2. Select the One header only option button in the Segment Headers area to save the data in a table with one
header.
When you run the program, the data is saved to a LabVIEW measurement data file (*.lvm). An *.lvm file is a
tab-delimited ASCII text file that you can open with a spreadsheet application or text editor.
Clear the task
Select ULx for NI LabVIEW»Clear and place the VI on the block diagram. This VI releases resources that are
reserved for the task.
Add error notification
Select Functions»Programming»Dialog & User Interface»Simple Error and place the VI on the block
diagram.
Commenti su questo manuale