Property (Read-Write)
SCPI.SYSTem.COMMunicate.GPIB.SGENerator.CCOMmand.POWer = Param
Param = SCPI.COMMunicate.GPIB.SGENerator.CCOMmand.POWer
This command sets/gets the output level setting command for the external signal source in use.
This command is available when the type of the external signal source is 1 (user-defined external signal source).
Parameter |
Value |
Description |
Level setting command for the user-defined external signal source |
Data type |
Character string type (String) |
Range |
254 characters or less |
Preset value |
"AP %p% DM" |
Note |
If the specified variable is out of the allowable setup range, an error occurs when executed. The output level in the command string is written as "%p%." The output level of the external signal source, which changes for each measurement point, is set and the setting command is sent to the external signal source. |
Dim SGcomm As String
SCPI.SYSTem.COMMunicate.GPIB.SGENerator.CCOMmand.POWer = "AMPL %p%DBM"
SGcomm = SCPI.SYSTem.COMMunicate.GPIB.SGENerator.CCOMmand.POWer
SCPI.SYSTem.COMMunicate.GPIB.SGENerator.CCOMmand.FREQuency
SCPI.SYSTem.COMMunicate.GPIB.SGENerator.CCOMmand.PRESet
SCPI.SYSTem.COMMunicate.GPIB.SGENerator.CCOMmand.RFON
SCPI.SYSTem.COMMunicate.GPIB.SGENerator.DWELl
SCPI.SYSTem.COMMunicate.GPIB.SGENerator.TYPE
System> Misc Setup > GPIB Setup > Signal Generator Address > Custom Commands > Set Power Level
:SYSTem:COMMunicate:GPIB:SGENerator:CCOMmand:POWer <string>
:SYSTem:COMMunicate:GPIB:SGENerator:CCOMmand:POWer?
{string}<newline><^END>
10 OUTPUT 717;":SYST:COMM:GPIB:SGEN:CCOM:POW ""AMPL %p%DBM"""
20 OUTPUT 717;":SYST:COMM:GPIB:SGEN:CCOM:POW?"
30 ENTER 717;A$