60 Keysight N777xC Series Tunable Laser Family Programming Guide
4 Measurement Operations & Settings
Root Layer Command
Command: :LOCK
Syntax: :LOCK<wsp><boolean>, <value>
Description: Switches the lock off and on.
Lasers cannot be switched on, if you switch the lock on. Lasers are switched off immediately when you switch the lock on.
Parameters: A boolean value: 0 or OFF: switch lock off
1 or ON: switch lock on
<value> is the four-figure lock password.
Response: none
Example: :lock 1,1234 - 1234 is the default password
Command: :LOCK?
Syntax: :LOCK?
Description: Queries the current state of the lock.
Parameters: none
Response: A boolean value: 0: lock is switched off
1: lock is switched on
Example: :lock? -> 1