Setting and Checking Properties and Attributes

NI Switches Help

Edition Date: April 2015

Part Number: 375472H-01

»View Product Info
Download Help (Windows Only)

Properties and attributes allow access to advanced configuration options and information for LabVIEW and CVI\C\C++\VB respectively.

NI-SWITCH contains high-level VIs/functions that set most of the switch module properties/attributes. Use the high-level driver VIs/functions as much as possible because they handle order dependencies and multithread locking.

Properties

In LabVIEW, you can get (read) or set (write) properties with the NI-SWITCH Property Node. Refer to the niSwitch Property Node for more information.

Refer to niSwitch Properties for a complete listing of NI-SWITCH properties.

Attributes

In C and Visual Basic, attributes are accessed with the niSwitch_SetAttribute and niSwitch_GetAttribute functions. These functions correspond to a particular data type. For example, to set NISWITCH_ATTR_CONTINUOUS_SCAN (data type ViBoolean), use the niSwitch_SetAttributeViBoolean function.

Refer to NI-SWITCH Attributes for a complete listing of NI-SWITCH attributes.

WAS THIS ARTICLE HELPFUL?

Not Helpful