Agilent Technologies Switch/Measure Reading Cycle Count and Resetting Modules to Power-On State

Models: Switch/Measure

1 216
Download 216 pages 59.53 Kb
Page 153
Image 153

Matrix Switch Modules

5

Example: Querying channels for open or close state The following command returns a 1 (true) or 0 (false) state of channel 204 for a module in slot 3.

ROUTe:CLOSe (@3204)

ROUTe:CLOSe? (@3204) !Returns a 1

ROUTe:OPEN? (@3204) !Returns a 0

Configuring a Module

Example: Configuring the 34933A module for 2-wire or 1-wire mode The following command configures a matrix module in slot 4 for 1- wire measurements. Because you can configure only the 34933A (and the 34923A and 34925A MUX modules) for either 2- wire or 1- wire mode, an error is generated if you send this command to a slot that does not contain one of those three modules. If you are using terminal blocks with the 34933A module, be sure to use the corresponding 2- wire or 1- wire terminal block.

SYSTem:MODule:WIRE:MODE WIRE1,4

NOTE

When using a command to configure the system, the new

configuration does not take effect until you cycle power on the

 

 

34980A.

 

 

Example: Querying the system for module Identify The following command

returns the identity of the module installed in slot 7.

SYSTem:CTYPe? 7

NOTE

For the 34933A matrix module, the query response may include a

suffix to indicate a 1-wire configuration. For example, the response

 

 

for the 34933A will be either "34933A" (differential mode) or

 

"34933A-1W" (single-ended mode).

 

 

Reading Cycle Count and Resetting Modules to Power-On State

Example: Reading the cycle count for a relay The following command returns the cycle count on channels 304 and 308 for a matrix module in slot 3.

DIAGnostic:RELay:CYCLes? (@3304,3308)

Example: Resetting module(s) to power-on state The following command resets a module in slot 4 to its power- on state.

SYSTem:CPON 4

34980A User’s Guide

141

Page 153
Image 153
Agilent Technologies Switch/Measure manual Reading Cycle Count and Resetting Modules to Power-On State