Merge from Quokka hvcommands.tcl and pulser.tcl
This commit is contained in:
@@ -23,7 +23,7 @@ proc SetVolt {volt} {
|
||||
}
|
||||
|
||||
proc GetVolt {} {
|
||||
pulser send VOLT:OFFS?
|
||||
pulser transact VOLT:OFFS?
|
||||
}
|
||||
|
||||
proc SingleVolt {volt oscno} {
|
||||
@@ -47,7 +47,7 @@ proc SetDC {} {
|
||||
pulseroff
|
||||
#NOTE: Setting FUNC DC generates a remote ctrl error if the
|
||||
# burst mode happens to be on
|
||||
set resp [pulser send "BURS:STAT OFF;:FUNC DC;:VOLT:OFFS 0; OFFS?"]
|
||||
set resp [pulser transact "BURS:STAT OFF;:FUNC DC;:VOLT:OFFS 0; OFFS?"]
|
||||
pulseron
|
||||
}
|
||||
|
||||
@@ -311,7 +311,7 @@ proc PulserBurst {} {
|
||||
PulserOn
|
||||
pulser send "*TRG;:BURS:NCYC?"
|
||||
while {1} {
|
||||
set sval [pulser send *OPC?]
|
||||
set sval [pulser transact *OPC?]
|
||||
if {[string first 1 $sval] >-1} {break}
|
||||
}
|
||||
PulserOff
|
||||
|
||||
Reference in New Issue
Block a user