Property (Read-Write)
SCPI.SENSe(Ch).SWEep.GENeration = Param
Param = SCPI.SENSe(Ch).SWEep.GENeration
This command sets/gets the sweep mode of selected channel (Ch).
When the sweep type is the power sweep (POW specified with the SCPI.SENSe(Ch).SWEep.TYPE object), with power calibration ON (ON specified with the SCPI.SOURce(Ch).POWer.PORT(Pt).CORRection.STATe object), or the power slope value is other than 0 and the power slope function is ON (ON specified with the SCPI.SOURce(Ch).POWer.LEVel.SLOPe.STATe object), if you execute this object to try to set the sweep mode to swept mode, an error occurs and the sweep mode is automatically set to step mode.
Parameter |
Param |
Description |
Sweep mode |
Data type |
Character string type (String) |
Range |
Select from either of the following:
|
Preset value |
"STEPped" |
Dim SwptMode As String
SCPI.SENSe(1).SWEep.GENeration = "anal"
SwptMode = SCPI.SENSe(1).SWEep.GENeration
SCPI.SOURce(Ch).POWer.PORT(Pt).CORRection.STATe
SCPI.SOURce(Ch).POWer.LEVel.SLOPe.STATe
Sweep Setup > Sweep Mode > Stepped|Swept
:SENSe{[1]-160}:SWEep:GENeration {STEPped|ANALog|FSTepped|FANalog}
:SENSe{[1]-160}:SWEep:GENeration?
{STEP|ANAL|FST|FAN}<newline><^END>
10 OUTPUT 717;":SENS1:SWE:GEN ANAL"
20 OUTPUT 717;":SENS1:SWE:GEN?"
30 ENTER 717;A$