lock
¶
The lock commands module.
These commands are used in the following models: DPO7AX, LPD6, MSO4, MSO4B, MSO5, MSO5B, MSO5LP, MSO6, MSO6B
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Commands and Queries
- LOCk {ALL|NONe}
- LOCk?
Lock
¶
Bases: SCPICmdWrite, SCPICmdRead
The LOCk command.
Description
- This command enables or disables the touch screen and all front panel buttons and knobs.
There is no front panel equivalent. When the front panel is locked, the front panel
commands will not work and will not generate error events. You can work around a locked
front panel, by using the appropriate programmatic interface commands, instead of the
front-panel commands. For example, to set the trigger level to 50%, you could use
TRIGger:A SETLevel. To force a trigger, you could use TRIGger FORCe.
Usage
- Using the
.query()method will send theLOCk?query. - Using the
.verify(value)method will send theLOCk?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theLOCk valuecommand.
SCPI Syntax
- LOCk {ALL|NONe}
- LOCk?
Info
ALLdisables all front panel controls and the touch screen.NONeenables all front panel controls and the touch screen. The UNLock ALL command only unlocks the front panel controls.LOCk NONecommand has no effect. For more information, see the ANSI/IEEE Std 488.1-1987 Standard Digital Interface for Programmable Instrumentation, section 2.8.3 on RL State Descriptions.