ROUTe:SCAN:SIZE?

34980A

ROUTe:SCAN:SIZE?

Syntax

ROUTe:SCAN:SIZE?

Description

This command returns the number of channels in the scan list as defined by the ROUTe:SCAN command.

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)

Remarks

  • The present scan list is stored in volatile memory and will be lost when power is turned off or after a Factory Reset (*RST command).

Return Format

The command returns a value between 0 and the maximum number of scanned channels in the 34980A (up to 640 channels). Since the non-sequential scanning mode allows duplicate channels in the scan list (see ROUTe:SCAN:ORDered command), each occurrence of a channel is counted and included in the returned value.

Example

The following command returns the number of channels in the scan list.

ROUT:SCAN (@1001:1020) ROUT:SCAN:SIZE?

Typical Response:  +20

See Also

ROUTe:SCAN

ROUTe:SCAN:ADD

ROUTe:SCAN:ORDered

ROUTe:SCAN:REMove