ROUTe:SCAN:ADD

34980A

ROUTe:SCAN:ADD

Syntax

ROUTe:SCAN:ADD (@<ch_list>)

Description

This command adds the specified channels to the current scan list.

Used With:

  • 34921A through 34925A Multiplexer Modules

  • 34950A Digital I/O Module (digital input and counter channels only)

  • 34952A Multifunction Module (digital input and totalizer channels only)

Parameters

Name

Type

Range of Values

Default Value

<ch_list>

Numeric

One or more channels in the form (@sccc).

This is a required parameter

Remarks

  • By default, the instrument scans the list of channels in ascending order from slot 1 through slot 8 (channels are reordered as needed). If your application requires non-ordered scanning of the channels in the present scan list, you can use the ROUTe:SCAN:ORDered command to enable the non-sequential scanning mode.  

  1. For sequential scanning (default, ROUT:SCAN:ORDERED ON), the specified channels are added, the scan list is reordered as needed, and duplicate channels are eliminated. For example, (@2001,1003,1001,1003) will be interpreted as (@1001,1003,2001).

  2. For non-sequential scanning (ROUT:SCAN:ORDERED OFF), the specified channels are added to the end of the present scan list. Multiple occurrences of the same channel are allowed. For example, (@2001,2001,2001) and (@3010,1003,1001,1005) are valid and the channels will be scanned in the order presented.

  • For sequential scanning, if you specify a channel that is already part of the present scan list, the command is ignored and no error is generated. For non-sequential scanning, the channel is added to the end of the present scan list.

Example

The following command adds channel 3 (slot 1) to the present scan list.  

ROUT:SCAN:ADD (@1003)

See Also

ROUTe:SCAN

ROUTe:SCAN:ORDered

ROUTe:SCAN:REMove