Configures the scan list and scan mode used for scanning.

Refer to Devices to determine if the switch module supports scanning.

The scan list is comprised of a list of channel connections separated by semicolons. For example, the following scan list will scan the first three channels of a multiplexer:

com0->ch0; com0->ch1; com0->ch2;

Refer to Scan Lists for more information on scan list syntax.

To see the status of the scan, call either the niSwitch Switch Is Scanning VI or the niSwitch Wait For Scan To Complete VI. Use the niSwitch Configure Scan Trigger VI and the niSwitch Initiate Scan VI to configure the scan trigger and start scan respectively.

Related Topics


icon

Inputs/Outputs

  • civrn.png instrument handle

    instrument handle identifies a particular NI-SWITCH session established with the niSwitch Initialize With Topology VI, the niSwitch Initialize With Options VI, or the niSwitch Initialize VI.

  • cstr.png scan list

    scan list specifies the scan list to use. NI-SWITCH uses this value to set the Scan List property.

  • cenum.png scan mode (Break Before Make)

    scan mode specifies how the switch module breaks existing connections when scanning. NI-SWITCH uses this value to set the Scan Mode property. Refer to scan modes for more information. The default value is Break Before Make.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • iivrn.png instrument handle out

    instrument handle out identifies a particular NI-SWITCH session established with the niSwitch Initialize With Topology VI, the niSwitch Initialize With Options VI, or the niSwitch Initialize VI and used for all subsequent NI-SWITCH calls.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.