CONTrol:HANDler...   

This subsystem provides device-specific commands to control the "Universal Interface", option R&S ZVAB-B14. The pin assignment of the Centronics 36 rear-panel connector of this option is shown below. For a detailed description refer to section Universal Interface.

Command tree: CONTrol:HANDler

:A

[:DATA]

:MODE

:B

[:DATA]

:MODE

:C

[:DATA]

:MODE

:D

[:DATA]

:MODE

[:EXTension]

:INDex

:STATe

:RTRigger

:STATe

:OUTPut

[:DATA]

:USER

:RESet


CONTrol:HANDler:A[:DATA] <decimal>
CONTrol:HANDler:B[:DATA] <decimal>
CONTrol:HANDler:C[:DATA] <decimal>
CONTrol:HANDler:D[:DATA] <decimal>

The setting commands write data to ports A, B, C, D. To write data to a port, the port must be configured as an output port (see example). The port lines have negative logic: A "0" at a pin corresponds to a high signal, a "1" to a low signal.

The queries read data from ports A, B, C, D. If the port is an output port, the queries return the last value that was written to the port.

<decimal>

Decimal representation of an n-bit binary value.

Range

Port A: 0 to 255 (pins A7 ... A0)

Port B: 0 to 255 (pins B7 ... B0)

Port C: 0 to 15 (pins C3 ... C0)

Port D: 0 to 15 (pins D3 ... D0)

The parameters MIN, MAX, DEF are not supported.

*RST value

0 (port A and B)
Ports C and D are configured as input ports

Note: *RST or Preset do not change the configuration of the Universal Interface. Use CONTrol:HANDler:RESet to restore default values.

 

SCPI, Command Types

Device-specific, command or query

 

Example 1:

CONT:HAND:A:MODE OUTP

Configure port A as an output port.

CONT:HAND:A 192

Write data to port A.

CONT:HAND:B:MODE INP

Configure port B as an input port.

CONT:HAND:B?

Read data from port B.

 

Example 2:

Use the output ports A or B for channel monitoring; see CONTrol:AUXiliary:A[:DATA]?

 

 


CONTrol:HANDler:A:MODE INPut | OUTPut
CONTrol:HANDler:B:MODE INPut | OUTPut
CONTrol:HANDler:C:MODE INPut | OUTPut
CONTrol:HANDler:D:MODE INPut | OUTPut

Controls the direction of the data flow at ports A, B, C, D.

Parameters

INPut – Input of data at the port
OUTPut – Output of data at the port

*RST value

Port A and B: OUTPut
Port C and D: INPut

Note: *RST or Preset do not change the configuration of the Universal Interface. Use CONTrol:HANDler:RESet to restore default values.

 

SCPI, Command Types

Device-specific, command or query

 

Example:

See CONTrol:HANDler:A[:DATA]

 

 


CONTrol:HANDler[:EXTension]:INDex:STATe <Boolean>

Selects the digital signal that is routed to pin 20 of the Universal Interface connector.  

<Boolean>

ON – /INDEX signal at pin 20
OFF – /PORT_B6 signal at pin 20

*RST value

OFF

 

SCPI, Command Types

Device-specific, command or query

Note: *RST or Preset do not change the configuration of the Universal Interface. Use CONTrol:HANDler:RESet to restore default values.

 

Example:

CONT:HAND:EXT:IND:STAT ON

Route the /INDEX signal to pin 20.

CONT:HAND:EXT:RTR:STAT ON

Route the /READY_FOR_TRIGGER signal to pin 21.

CONT:HAND:RES

Restore the default state: Pins no. 20 and 21 are available for port B input/output signals.  

 

 


CONTrol:HANDler[:EXTension]:RTRigger:STATe

Selects the digital signal that is routed to pin 21 of the Universal Interface connector.  

<Boolean>

ON – /READY_FOR_TRIGGER
OFF – /PORT_B7 signal at pin 21

*RST value

OFF

 

SCPI, Command Types

Device-specific, command or query

Note: *RST or Preset do not change the configuration of the Universal Interface. Use CONTrol:HANDler:RESet to restore default values.

 

Example:

See CONTrol:HANDler[:EXTension]:INDex:STATe  

 

 


CONTrol:HANDler:OUTPut<port>[:DATA] <binary>

Writes a 0 or 1 to the output ports (pin 3 or 4) of the Universal Interface connector. The port lines have negative logic: A "0" corresponds to a high signal, a "1" to a low signal.

The query reads the last value that has been written to the output port.

<port>

Output port number:

1 – /OUTPUT1 (pin 3)
2 – /OUTPUT2 (pin 4)

<binary>

0 – high
1 – low

The parameters MIN, MAX, DEF are not supported.

*RST value

0

 

SCPI, Command Types

Device-specific, command or query

Note: *RST or Preset do not change the configuration of the Universal Interface. Use CONTrol:HANDler:RESet to restore default values.

 

Example:

CONT:HAND:OUTP2:DATA 0

Set the /OUTPUT2 line (pin 4)  to 0 (current state of /OUTPUT2).

CONT:HAND:OUTP2:USER 1

Define the next state of the /OUTPUT2 line as 1 (low). /OUTPUT2 will go from 0 to 1 when the analyzer receives a negative pulse on the /INPUT1 line (pin 2).  

 

 


CONTrol:HANDler:OUTPut<port>:USER <binary>

Defines the state of the output ports (pin 3 or 4) of the Universal Interface connector after the next negative pulse on the /INPUT1 line (pin 2).  

<port>

Output port number:

1 – /OUTPUT1 (pin 3)
2 – /OUTPUT2 (pin 4)

<binary>

0 – high
1 – low

The parameters MIN, MAX, DEF are not supported.

*RST value

0

 

SCPI, Command Types

Device-specific, command or query

Note: *RST or Preset do not change the configuration of the Universal Interface. Use CONTrol:HANDler:RESet to restore default values.

 

Example:

See CONTrol:HANDler:OUTPut<port>[:DATA]  

 

 


CONTrol:HANDler:RESet

Restores the default states of the CONTrol:HANDler... commands including the data port values.  

*RST value

n/a

 

SCPI, Command Types

Device-specific, no query (event)

 

Example:

See CONTrol:HANDler[:EXTension]:INDex:STATe