L4421A 40-Channel Armature Multiplexer

4

TRIGger

TRIGger:COUNt {<count>MINMAXDEFINFinity}

(Triggering

TRIGger:COUNt? [{MINMAX}]

Commands)

TRIGger:DELay:AUTO {OFF0ON1}

 

TRIGger:DELay:AUTO?

 

TRIGger:SOURce {IMMediateBUSEXTernalTIMer}

 

TRIGger:SOURce?

 

TRIGger:TIMer {<seconds>MINMAXDEF}

 

TRIGger:TIMer? [{MINMAX}]

 

 

DIAGnostic

DIAGnostic:RELay:CYCLes? (@<ch_list>)

 

DIAGnostic:RELay:CYCLes:CLEar (@<ch_list>)

 

 

L4421A Example Program Segments

The following sections contain example program segments of commonly used instrument functions.

For detailed example programs involving multiple drivers and development environments, refer to the L4400 Product Reference CD- ROM (p/n 34989- 13601).

Opening and Closing Channels

Example: Closing and opening channels This command closes the specified channels on the L4421A. If any channel in a bank is defined to be part of the scan list, and a scan is occurring, attempting to close another channel (including Analog Bus channels) within the same bank will result in an error. Channel closures in the other bank are allowed as long as no channels are part of the scan list.

The following commands close and open channels 13 and 15 through 18.

ROUTe:CLOSe (@1013,1015:1018)

ROUTe:OPEN (@1013,1015:1018)

Example: Closing and opening Analog Bus relays The following command connects the Analog Buses to Bank 1 (via the Analog Bus relays on Bank 1).

ROUTe:CLOSe (@1911,1912,1913,1914)

ROUTe:OPEN (@1911,1912,1913,1914)

The analog bus relays (numbered 1911, 1912, 1913, 1914) on the L4421A are ignored if they are included in a range of channels. An error will be generated if an analog bus relay is specified as the first or last channel in a range of channels. For example, the following command closes all channels between channels 1 and 30. In addition, this command closes analog bus relay 1911.

ROUTe:CLOSe (@1001:1030,1911)

L4400 User’s Guide

103

Page 113
Image 113
Agilent Technologies L4400 manual L4421A Example Program Segments, Opening and Closing Channels, TRIGger, DIAGnostic