![LabSmith HVS448 User Manual Download Page 35](http://html1.mh-extra.com/html/labsmith/hvs448/hvs448_user-manual_3205695035.webp)
35
This instruction sets the trigger output state. This instruction has no other effect.
Example:
Output Set ; Set the trigger output high for 10 ms
10 ms
Pause
Output Clear
; Now set the trigger output low.
InputSet?
Usage:
InputSet?
This instruction tests whether the trigger input is set. If it is set, the next instruction is executed; if it is not set, the next
instruction is skipped. This instruction has no other effect.
Example:
Label a
InputSet?
; Loop while the trigger input is set
Goto a
...
; Get here when the trigger input is clear
InputClear?
Usage:
InputClear?
This instruction tests whether the trigger input is clear. If it is clear, the next instruction is executed; if it is not clear, the next
instruction is skipped. This instruction has no other effect.
Example:
Label a
InputClear? ; Loop while the trigger input is clear
Goto a
...
; Get here when the trigger input is set
Channel Functions
Channel functions determine how a channel will perform and how its status will appear on the front panel of the HVS448.
Reg
Usage:
Reg {Voltage, Current, None}
The instruction Reg sets the regulation mode of the channel:
-
Reg Voltage:
Regulate the voltage to the value stored in the X register
-
Reg Current:
Regulate the current to the value stored in the X register
-
Reg None:
Do not regulate. The channel is a high-impedance input.
Example:
100V
Reg Voltage ; Regulate the output voltage to 100 V
1s
Pause
; Wait 1 s
200V
Reg Voltage ; Now regulate the output to 200 V
1s
Pause
; Wait 1 s
-1mA
Reg Current ; Now regulate to -1 mA (1 mA
into
the channel)