ROUTe:SCAN:ORDered

34980A

ROUTe:SCAN:ORDered

Syntax

ROUTe:SCAN:ORDered <mode>

ROUTe:SCAN:ORDered?

Description

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 this command to enable a non-sequential scanning mode.

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

<mode>

Boolean

{OFF|0|ON|1}

ON (enabled)

Remarks

  • This command applies to the entire mainframe and cannot be selectively used on individual modules.

  • When sequential scanning is enabled (default, ON), the channels in the scan list are placed in ascending order from slot 1 through slot 8. Duplicate channels are not allowed. For example, (@2001,1003,1001,1003) will be interpreted as (@1001,1003,2001).

  • When sequential scanning is disabled (OFF), the channels remain in the order presented in the scan list (see exception below). 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.

  • When you specify a range of channels in the scan list, the channels are always sorted in ascending order, regardless of the scan order setting. Therefore, (@1009:1001) will always be interpreted as 1001, 1002, 1003, etc.  

  • If you define a scan list with the sequential mode enabled and later disable the mode, the scan list will not be reordered; however, the scan list will be treated as a non-sequential list thereafter.

  • If you have defined a scan list with the sequential mode disabled (OFF) and later enable the mode, the channels will be reordered.

  • Non-sequential scan lists are not stored as part of the instrument state by the *SAV command; in this case, the ordered mode will be enabled and the scan list will be empty when the instrument state is restored (*RCL command).

  • The scan order setting is stored in volatile memory and the ordered mode will be enabled when power is turned off or after a Factory Reset (*RST command).

Return Format

The query command returns "0" (OFF, non-sequential mode) or "1" (ON, sequential mode).

Examples

The following command disables the sequential scanning mode.

ROUT:SCAN:ORD OFF

The following query returns the scan order setting.

ROUT:SCAN:ORD?

Typical Response:  0

See Also

ROUTe:SCAN

ROUTe:SCAN:ADD

ROUTe:SCAN:REMove

ROUTe:SCAN:SIZE?