NI-DMM/Switch Express
Configures and acquires a signal using NI-DMM with National Instruments digital multimeters (DMMs) and PXI or SCXI switch modules.
Note NI 4050 and NI 4060 DMMs are not supported. |
When you place this Express VI on the block diagram, the NI-DMM/Switch Express configuration page opens. To edit an existing configuration, double-click the NI-DMM/Switch Express VI.
Dialog Box Options |
Block Diagram Inputs |
Block Diagram Outputs |
Examples |
Dialog Box Options
Parameter | Description | ||||
---|---|---|---|---|---|
Data | Displays the measurement, formatted according to the function, range, and resolution. | ||||
Resolution string | Displays the absolute resolution. | ||||
Table data | Displays the measurement(s) per channel, formatted according to the function, range, and resolution. The first column lists the channel(s) being scanned, and the second column lists the last measured sample from the associated channel. | ||||
Chart data | Displays the measurements per channel. | ||||
Autoscale | Scales the amplitude axis of the chart. The default value is True. | ||||
View as chart | Specifies if the chart indicator is visible. Contains the following options:
|
||||
Configuration | Contains the following options:
|
||||
Timing | Contains the following options:
|
||||
Switching | Contains the following options:
|
Block Diagram Inputs
Parameter | Description |
---|---|
close | Used for optimization in a loop. If TRUE, closes all references and reinitializes the device the next time called. If FALSE, uses the current device handle on the next call. The default is appended to the control name. |
error in | Describes error conditions that occur before this VI or function runs. If an error occurred before this VI runs, the VI passes the error in value to error out. This VI runs normally only if no error occurs before this VI runs. If an error occurs while this VI runs, it continues and sets its own error status in error out. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node. |
max time (s) | Specifies the timeout value for the Express VI configured for multipoint or continuous acquisition. |
Block Diagram Outputs
Parameter | Description |
---|---|
signal out | Returns the data collected by the DMM. |
signal out of range? | Returns whether the measurement value is within the configured range. |
error out | Contains error information. If error in indicates that an error occurred before this VI ran, error out contains the same error information. Otherwise, it describes the error status that this VI produces. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error. |
Examples
LabVIEW users can use the LabVIEW Example Finder to search or browse examples. NI-DMM examples are classified by keyword, so you can search for a particular device or measurement function.
To browse the NI-DMM examples available in LabVIEW, launch LabVIEW, click Find Examples, and navigate to Hardware Input and Output»Modular Instruments»NI-DMM (Digital Multimeters).
You can find the installed locations of example programs in the NI-DMM Readme File.