RIGOL
DG900 Programming Guide
2-141
Example
:SYST:CHAN:CUR CH2 /*Selects CH2 as the current channel.*/
:SYST:CHAN:CUR? /*Queries the current channel and the query returns CH2.*/
:SYSTem:CHANnel:NUMber?
Syntax
:SYSTem:CHANnel:NUMber?
Description
Queries the number of the output channels of the instrument.
Return Format
The query returns an integer.
Example
:SYST:CHAN:NUM? /*Queries the number of the output channels of the instrument and the query
returns 2.*/
:SYSTem:COMMunicate:GPIB[:SELF]:ADDRess
Syntax
:SYSTem:COMMunicate:GPIB[:SELF]:ADDRess <integer>
:SYSTem:COMMunicate:GPIB[:SELF]:ADDRess?
Description
Sets the GPIB address of the instrument.
Queries the GPIB address of the instrument.
Parameter
Name
Type
Range
Default
<integer>
Integer
0 to 30
2
Remarks
To use the GPIB interface, please make sure that your PC has installed the GPIB card. Connect the USB
terminal of the USB-GPIB interface converter to the USB HOST interface on the rear panel of the generator.
Connect its GPIB terminal to the GPIB card terminal of the PC.
Return Format
The query returns the GPIB address in integer.
Example
:SYST:COMM:GPIB:ADDR 7 /*Sets the GPIB address of the instrument to 7.*/
:SYST:COMM:GPIB:ADDR? /*Queries the GPIB address of the instrument and the query returns 7.*/
Summary of Contents for DG952
Page 2: ......
Page 168: ......
Page 181: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 7 ...
Page 185: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 11 ...
Page 187: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 13 ...
Page 199: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 25 ...
Page 200: ......