IVISWTCH_ATTR_SCAN_MODE

CVI/LabWindows IVI Class Driver

IVISWTCH_ATTR_SCAN_MODE

IviSwtchScanner Attribute

Data Type Access Applies to Coercion High Level Functions Id Definition
ViInt32 R/W N/A None IviSwtch_ConfigureScanList 1250021

Description

This attribute indicates whether, during a scan, the connections made in the previous trigger event (that is, before the semi-colon) should be broken, and if so, how they should be broken. For example, if CH1 is already connected to CH2 and the scan list instructs the switch device to connect CH1 to CH3, this attribute specifies what happens to the connection between CH1 and CH2.

BREAK BEFORE MAKE and BREAK AFTER MAKE determines a set of signals multiplexed down to a single line short together during a change of channel, typically during a scan (although any switch module can use this feature).

IVISWTCH_VAL_BREAK_BEFORE_MAKE—tells the device to break the previous paths before making the new paths.

IVISWTCH_VAL_BREAK_AFTER_MAKE—tells the driver to make new paths before breaking the previous paths.

IVISWTCH_VAL_NONE—indicates that no action should be taken on the previous paths.

A driver is required to support only one of these values for this attribute.

If the switch module is currently scanning through the scan list, setting this attribute returns the error IVISWTCH_ERROR_SCAN_IN_PROGRESS.

Defined Values

IVISWTCH_VAL_NONE

IVISWTCH_VAL_BREAK_BEFORE_MAKE

IVISWTCH_VAL_BREAK_AFTER_MAKE