VectorStar™ MS4640A SeriesMicrowave Vector Network Analyzer : SCPI Commands : :CONTrol{1-16}:AOUT Subsystem
 
:CONTrol{1-16}:AOUT Subsystem
The :CONTrol{1-16}:AOUT subsystem commands allows the user to specify the rear panel output mode, and then set appropriate voltage levels, pulse types, and ports for that mode. When all parameters are entered, a single command allows the rear panel output to be toggled on and off. The settings are saved and can be recalled with the four setup file types:
Active Channel Setup and Cal (*.chx)
Active Channel Setup (*.stx)
All Channel Setup and Cal (*.cha)
All Channel Setup (*.sta)
Rear Panel Subsystems
A related rear panel subsystem is:
:CONTrol:AUXio Subsystem
I/O Configuration and File Operation Subsystems
Related subsystems for I/O configuration and file operation are:
:CALCulate{1-16}:FORMat Subsystem - SnP Data
:CALCulate{1-16}:NXN Subsystem
:CALCulate{1-16}[:SELected]:DATA Subsystem
:CALCulate{1-16}[:SELected]:TDATA Subsystem
:FORMat Subsystem
:HCOPy Subsystem
:MMEMory Subsystem
Setting the Rear Panel Output Mode as Horizontal
For example, to set the Rear Panel Output Mode at Horizontal, follow the general sequence below. In this example, the control is for Channel 4 with a Start voltage of -1.5 V and a Stop voltage of 2.8 V.
1. Turn the Rear Panel Output off:
:CONTrol4:AOUT:STATe OFF
2. Set the Output Mode to HORizontal:
:CONTrol4:AOUT:MODE HORizontal
3. Set the Horizontal Output Mode start (STARt) voltage to -1.5 V:
:CONTrol4:AOUT:VOLTage:STARt -1.500
4. Set the Horizontal Output Mode stop (STOP) voltage to +2.8 V:
:CONTrol4:AOUT:VOLTage:STOP 2.800
5. Check voltage settings:
:CONTrol4:AOUT:VOLTage:STARt?
-1.500
:CONTrol4:AOUT:VOLTage:STOP
2.800
6. Turn the Rear Panel Output on:
:CONTrol4:AOUT:STATe ON
7. Check that the Rear Panel is on:
:CONTrol4:AOUT:STATe?
1
Setting the Rear Panel Output Mode as Driven Port
To set the Rear Panel Output Mode as Driven Port, follow the general command sequence below. In this example, the control is for Channel 2, with Port 1 at 3 V and Port 2 at 5 V.
1. Turn the Rear Panel Output off:
:CONTrol4:AOUT:STATe OFF
2. Set the Output Mode to DRIVen
:CONTrol4:AOUT:MODE DRIVen
3. Set the Driven Output Voltage Level for Port 1 to 3 V:
:CONTrol4:AOUT1:DRIVen:LEV 3.000
4. Set the Driven Output Voltage Level for Port 2 to 5 V:
:CONTrol4:AOUT2:DRIVen:LEV 5.000
5. Check voltage settings:
:CONTrol4:AOUT1:DRIVen:LEV?
3.000
:CONTrol4:AOUT2:DRIVen:LEV?
5.000
6. Turn the Rear Panel Output on:
:CONTrol{1-16}:AOUT:STATe ON
7. Check that the Rear Panel is on:
:CONTrol{1-16}:AOUT:STATe?
1
Setting the Rear Panel Output Mode as TTL
To set the Rear Panel Output Mode as TTL, follow the general command sequence below. In this example, the control is for Channel 5, with Port 1 at High, and Port 2 at Low Pulse set to 5.000 ms.
1. Turn the Rear Panel Output off:
:CONTrol5:AOUT:STATe OFF
2. Set the Output Mode to TTL:
:CONTrol5:AOUT:MODE TTL
3. Set the TTL Output for Port 1 as High (HIGH):
:CONTrol5:AOUT1}:TTL:TYPe HIGH
4. Set the TTL Output for Port 2 as Low Pulse (LPULSE):
:CONTrol5:AOUT1}:TTL:TYPe LPULSE
5. Using units of seconds, set the Port 2 TTL Pulse Width to 0.001 seconds:
:CONTrol5:AOUT:PULSe:WIDth 1.0E-3
6. Check TTL and TTL Pulse Width settings:
:CONTrol5:AOUT:MODE?
TTL
:CONTrol5:AOUT1:TTL:TYPe?
HIGH
:CONTrol5:AOUT2:TTL:TYPe?
LPULSE
:CONTrol5:AOUT:PULSe:WIDth?
1.0E-3
7. Turn the Rear Panel Output on:
:CONTrol5:AOUT:STATe ON
8. Check that the Rear Panel is on:
:CONTrol5:AOUT:STATe?
1
 
:CONTrol{1-16}:AOUT:MODE <char1>
:CONTrol{1-16}:AOUT:MODE?
Description
For the indicated channel, the command sets the Rear Panel Output mode to horizontal, driven, or TTL where:
HORizontal = Defines the rear panel output voltage to be proportional to the horizontal position on the screen. If HOR is set, the Start and Stop voltages must by set, where the Start Voltage is the voltage for the first sweep point, and the Stop Voltage is the voltage for the last sweep point. The Start Voltage can be higher than, equal to, or less than the Stop Voltage. The voltage range for each is -10 VDC to +10 VDC. The Start Voltage is set by the :CONTrol{1-16}:AOUT:VOLTage:STARt command while the Stop Voltage is set by the :CONTrol{1-16}:AOUT:VOLTage:STOP command (both described below).
DRIVen = Defines the rear panel port analog output voltage as a function of the currently driven port. For example, if Port 1 is driving, the selected voltage is that set for Port 1. If Port 2 is driving, the selected voltage is that set for Port 2. If DRIV is set, the Output Level Voltage for Port 1 or Port 2 must be set. The command :CONTrol{1-16}:AOUT{1-2}:DRIVen:LEV sets the driven port voltage level for the indicated channel and port with a voltage range of -10 VDC to +10 VDC.
TTL = Defines the TTL power for each port as steady state high or low, or as pulse high or low. If pulse is selected, the duration of the pulse is also defined. The command :CONTrol{1-16}:AOUT{1-2}:TTL:TYPe defines the TTL type used as HIGH (+5 VDC), LOW (0 VDC), HIGH PULSE (+5 VDC), or LOW PULSE (0 VDC). If High Pulse or Low Pulse is selected, the Pulse Width in seconds must be specified using the command :CONTrol{1-16}:AOUT:PULSe:WIDth. Note that the TTL type is defined separately for Port 1 and for Port 2.
Once configured, use the command :CONTrol{1-16}:AOUT[:STATe] <ON | OFF | 0 | 1> to toggle the rear panel on and off. The query outputs the currently set Rear Panel Output mode on the indicated channel.
Cmd Parameters
<char1> HORizontal | DRIVen | TTL
Query Parameters
<char1> HOR | DRIV | TTL
Range
NA
Default Value
HOR
Syntax Example
:CONT1:AOUT:MODE HOR
:CONT1:AOUT:MODE?
 
:CONTrol{1-16}:AOUT:PULSe:WIDth <NRf>
:CONTrol{1-16}:AOUT:PULSe:WIDth?
Description
If the Rear Panel Output mode is set to TTL, and a High Plus and/or a Low Pulse is configured, use this command to set the pulse width in seconds for the indicated channel. The query outputs the Rear Panel Output pulse width in units of seconds for the indicated channel.
Cmd Parameters
<NRf> The input parameter is in Seconds.
Query Parameters
<NR3> The output parameter is in Seconds.
Range
0 to 10 seconds
Default Value
0.000000E+000
Syntax Example
:CONT1:AOUT:PULS:WID 1.0E-3
:CONT1:AOUT:PULS:WID?
1.0E-3
 
:CONTrol{1-16}:AOUT:VOLTage:STARt <NRf>
:CONTrol{1-16}:AOUT:VOLTage:STARt?
Description
If the Rear Panel Output mode is set to horizontal, this command sets the start voltage for the indicated channel. The Start Voltage is the voltage for the first sweep point in the range of -10 VDC to +10 VDC. The Start Voltage can be lower than, equal to, or greater than the Stop Voltage. The query outputs the Rear Panel Output horizontal start voltage setting for the indicated channel.
Cmd Parameters
<NRf> The input parameter is in Volts.
Query Parameters
<NR3> The output parameter is in Volts.
Range
-10 to +10 Volts
Default Value
0.00000000000E+000
Syntax Example
:CONT1:AOUT:VOLT:STAR 0.5
:CONT1:AOUT:VOLT:STAR?
0.5
 
:CONTrol{1-16}:AOUT:VOLTage:STOP <NRf>
:CONTrol{1-16}:AOUT:VOLTage:STOP?
Description
If the Rear Panel Output mode is set to horizontal, this command sets the stop voltage for the indicated channel. The Stop Voltage is the voltage for the last sweep point in the range off -10 VDC to +10 VDC. The Stop Voltage can be lower than, equal to, or greater than the Start Voltage. The query outputs the Rear Panel Output horizontal stop voltage for the indicated channel.
Cmd Parameters
<NRf> The input parameter is in Volts.
Query Parameters
<NR3> The output parameter is in Volts.
Range
-10 to +10 Volts
Default Value
1.000000E+000
Syntax Example
:CONT1:AOUT:VOLT:STOP 0.7
:CONT1:AOUT:VOLT:STOP?
0.7
 
:CONTrol{1-16}:AOUT[:STATe] <char1>
:CONTrol{1-16}:AOUT[:STATe]?
Description
Turns rear panel analog output on/off for the indicated channel. Outputs the rear panel analog output on/off status of the indicated channel.
Cmd Parameters
<char1> 1 | 0 | ON | OFF
Query Parameters
<char1> 1 | 0
Range
NA
Default Value
0
Syntax Example
:CONT1:AOUT ON
:CONT1:AOUT?
 
:CONTrol{1-16}:AOUT{1-2}:DRIVen:LEV <NRf>
:CONTrol{1-16}:AOUT{1-2}:DRIVen:LEV?
Description
If the Rear Panel Output mode is set to driven, this command sets the voltage level for the indicated port on the indicated channel. The query outputs the Rear Panel Output driven port voltage level for the indicated port on the indicated channel.
Cmd Parameters
<NRf> The input parameter is in Volts.
Query Parameters
<NR3> The output parameter is in Volts.
Range
-10 to +10 Volts
Default Value
0.000000E+000
Syntax Example
:CONT1:AOUT1:DRIV:LEV 0.5
:CONT1:AOUT1:DRIV:LEV?
0.5
 
:CONTrol{1-16}:AOUT{1-2}:TTL:TYPe <char1>
:CONTrol{1-16}:AOUT{1-2}:TTL:TYPe?
Description
The command sets the Rear Panel Output mode as TTL type for the indicated port on the indicated channel where:
HIGH = A TTL high value of +5 VDC
LOW = A TTL low value of 0 VDC
HIGH PULSE = A TTL high value of +5 VDC for a pulse width duration in seconds as set by the command :CONTrol{1-16}:AOUT:PULSe:WIDth.
LOW PULSE = A TTL low value of 0 VDC for a pulse width duration in seconds set by the command :CONTrol{1-16}:AOUT:PULSe:WIDth.
Note that the TTL type is defined separately for Port 1 and for Port 2. Outputs the rear panel analog output TTL output type of the indicated channel.
Cmd Parameters
<char1> LOW | HIGH | LPULSE | HPULSE
Query Parameters
<char1> LOW | HIGH | LPULSE | HPULSE
Range
NA
Default Value
HIGH
Syntax Example
:CONT1:AOUT1:TTL:TYP LOW
:CONT1:AOUT1:TTL:TYP?