fpanel
¶
The fpanel commands module.
These commands are used in the following models: DPO4K, DPO4KB, MDO3, MDO3K, MDO4K, MDO4KB, MDO4KC, MSO4K, MSO4KB
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Commands and Queries
- FPAnel:HOLD CURsor [,<NR1>]
- FPAnel:PRESS <button>
- FPAnel:TURN <knob>,<n>
Fpanel
¶
Bases: SCPICmdRead
The FPAnel command tree.
Usage
- Using the
.query()method will send theFPAnel?query. - Using the
.verify(value)method will send theFPAnel?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.hold: TheFPAnel:HOLDcommand..press: TheFPAnel:PRESScommand..turn: TheFPAnel:TURNcommand.
hold
property
¶
hold: FpanelHold
Return the FPAnel:HOLD command.
Description
- This command is used to emulate the button push-and-hold feature. Presently, only the
Cursors button is supported by this command, even though any of the button
enumerations described for
FPAnel:PREssare accepted. (When the Cursors button on the front panel is held, the cursor menu is displayed on screen.) This command contains two arguments: a button, and an optional hold time.
Usage
- Using the
.write(value)method will send theFPAnel:HOLD valuecommand.
SCPI Syntax
- FPAnel:HOLD CURsor [,<NR1>]
Info
CURsor- currently this is the only button supported by this command. If the hold time is not specified, it defaults to 1200 milliseconds. The range is 0 to 10,000 milliseconds. The system expects a minimum of 1 second to recognize a hold.<NR1>(optional), an integer, is the hold time - ie. the time to emulate holding the button down before releasing it, in milliseconds. If the hold time is not specified, it defaults to 1200 milliseconds.
press
property
¶
press: FpanelPress
Return the FPAnel:PRESS command.
Description
- Simulates the action of pressing a specified front-panel button. When the front panel
is locked, the front-panel button and multipurpose knob operations are suspended. The
and the
FPANEL:TURNcommands will also not work. You can work around this by using the appropriate programmatic interface commands, instead of the front-panel commands.
Usage
- Using the
.write(value)method will send theFPAnel:PRESS valuecommand.
SCPI Syntax
- FPAnel:PRESS <button>
Info
<button>is the name of a front-panel button. Most of the argument names associate directly with their front panel buttons. For example, AUTOSet is for the Autoset button.Acquirebutton.Arbitrary Function Generatorbutton.Autosetbutton.Cursorsbutton.D<x>button x has a minimum of 15 and a maximum of 0.Default Setupbutton.Finebutton.Force Trigbutton.Printbutton.Intensitybutton.Set/Clearbutton.Mbutton.Menu Offbutton.Measurebutton.Rbutton.Run/Stopbutton.Savebutton.Menubutton.Searchbutton.Selectbutton.Singlebutton.Testbutton.Menubutton.Utilitybutton.
turn
property
¶
turn: FpanelTurn
Return the FPAnel:TURN command.
Description
- Simulates the action of turning a specified front-panel control knob. When the front
panel is locked, the front-panel button and multipurpose knob operations are
suspended. The
FPANEL:PRESSand commands will also not work, and, they will not generate an error. You can work around this by using the appropriate programmatic interface commands, instead of the front-panel commands. For example, to set the trigger level to 50%, you could useTRIGger:A SETLevel. To force a trigger, you could use TRIGger FORCe.
Usage
- Using the
.write(value)method will send theFPAnel:TURN valuecommand.
SCPI Syntax
- FPAnel:TURN <knob>,<n>
Info
<knob>is the name of a rotating control.<n>represents the rotation direction and magnitude of rotation. Negative values represent a counterclockwise knob rotation, and positive values represent a clockwise rotation. The magnitude ofspecifies the amount of the turn, where = 1 represents turning the knob one unit, = 2 represents turning the knob two units, = 4 represents turning the knob four units, and so on. The range of units depends on which front panel knob is specified. Multipurpose aknob.Multipurpose bknob.Positionknob.Scaleknob.Levelknob.Positionknob.Scaleknob.
FpanelHold
¶
Bases: SCPICmdWrite
The FPAnel:HOLD command.
Description
- This command is used to emulate the button push-and-hold feature. Presently, only the
Cursors button is supported by this command, even though any of the button enumerations
described for
FPAnel:PREssare accepted. (When the Cursors button on the front panel is held, the cursor menu is displayed on screen.) This command contains two arguments: a button, and an optional hold time.
Usage
- Using the
.write(value)method will send theFPAnel:HOLD valuecommand.
SCPI Syntax
- FPAnel:HOLD CURsor [,<NR1>]
Info
CURsor- currently this is the only button supported by this command. If the hold time is not specified, it defaults to 1200 milliseconds. The range is 0 to 10,000 milliseconds. The system expects a minimum of 1 second to recognize a hold.<NR1>(optional), an integer, is the hold time - ie. the time to emulate holding the button down before releasing it, in milliseconds. If the hold time is not specified, it defaults to 1200 milliseconds.
FpanelPress
¶
Bases: SCPICmdWrite
The FPAnel:PRESS command.
Description
- Simulates the action of pressing a specified front-panel button. When the front panel is
locked, the front-panel button and multipurpose knob operations are suspended. The and the
FPANEL:TURNcommands will also not work. You can work around this by using the appropriate programmatic interface commands, instead of the front-panel commands.
Usage
- Using the
.write(value)method will send theFPAnel:PRESS valuecommand.
SCPI Syntax
- FPAnel:PRESS <button>
Info
<button>is the name of a front-panel button. Most of the argument names associate directly with their front panel buttons. For example, AUTOSet is for the Autoset button.Acquirebutton.Arbitrary Function Generatorbutton.Autosetbutton.Cursorsbutton.D<x>button x has a minimum of 15 and a maximum of 0.Default Setupbutton.Finebutton.Force Trigbutton.Printbutton.Intensitybutton.Set/Clearbutton.Mbutton.Menu Offbutton.Measurebutton.Rbutton.Run/Stopbutton.Savebutton.Menubutton.Searchbutton.Selectbutton.Singlebutton.Testbutton.Menubutton.Utilitybutton.
FpanelTurn
¶
Bases: SCPICmdWrite
The FPAnel:TURN command.
Description
- Simulates the action of turning a specified front-panel control knob. When the front panel
is locked, the front-panel button and multipurpose knob operations are suspended. The
FPANEL:PRESSand commands will also not work, and, they will not generate an error. You can work around this by using the appropriate programmatic interface commands, instead of the front-panel commands. For example, to set the trigger level to 50%, you could useTRIGger:A SETLevel. To force a trigger, you could use TRIGger FORCe.
Usage
- Using the
.write(value)method will send theFPAnel:TURN valuecommand.
SCPI Syntax
- FPAnel:TURN <knob>,<n>
Info
<knob>is the name of a rotating control.<n>represents the rotation direction and magnitude of rotation. Negative values represent a counterclockwise knob rotation, and positive values represent a clockwise rotation. The magnitude ofspecifies the amount of the turn, where = 1 represents turning the knob one unit, = 2 represents turning the knob two units, = 4 represents turning the knob four units, and so on. The range of units depends on which front panel knob is specified. Multipurpose aknob.Multipurpose bknob.Positionknob.Scaleknob.Levelknob.Positionknob.Scaleknob.