Functions | |
| AUTOUPDATE (Real DUMP_INTERVAL) | |
| Start an autoupdate loop. | |
| BEGIN (Qualifier WAIT) | |
| Start A RUN. | |
| CHANGE_FINISH () | |
| end a scripted block change operation. | |
| CHANGE_START () | |
| start a scripted block change operation. | |
| CHANGE_TABLES (String WIRING, String DETECTOR, String SPECTRA) | |
| Change tables as part of a scripted block change operation. | |
| CHANGE_TCB (Qualifier LOG, Real TLOW, Real THIGH, Real TSTEP) | |
| Change time channels as part of a scripted block change operation. | |
| CSET (Qualifier WAIT, Qualifier CONTROL, Qualifier NOCONTROL, Var RANGE, Var LOWLIMIT, Var HIGHLIMIT, Var EXTRAPARAMS) | |
| Set a sample environment variable value. | |
| CSHOW (Qualifier ALL, String BLOCK) | |
| show a sample environemtn variable value | |
| END () | |
| end a run | |
| GETRUNSTATE () | |
| Returns what state the instrument is currently in as an integer. | |
| GETSE (String FILE) | |
| read SE values from a file intop a workspace. | |
| GETUAMPS () | |
| return current Microamps. | |
| RESUME () | |
| resume a run after a pause | |
| STORE () | |
| store CRPT | |
| SUSPEND () | |
| PAUSE a run. | |
| UPDATE () | |
| update CRPT | |
| UPDATESTORE () | |
| perform an UPDATE and STORE in a combined operation | |
| WAITFOR (Qualifier ALL, Qualifier ANY, Var RANGE, Var LOWLIMIT, Var HIGHLIMIT, Var EXTRAPARAMS) | |
| Wait for a specified condition before proceeding further. | |
| WAITFORDASHRUNSTATE (Qualifier FALSE, Qualifier TRUE, String STATE) | |
| Wait for a particular instrument run state. | |
To access values on LabVIEW VIs directly you need to use the Low level commands instead
| AUTOUPDATE | ( | Real | DUMP_INTERVAL | ) |
Start an autoupdate loop.
This command is usually ran in a second gene process and caused that propcess to wait until the specified number of uAmp.hour has been reached at which point an UPDATESTORE() is executed.
| [in] | DUMP_INTERVAL | How man uAmp.hour to dump at |
| BEGIN | ( | Qualifier | WAIT | ) |
Start A RUN.
| [in] | WAIT | Wait 120 seconds, abort and then begin again |
| CHANGE_FINISH | ( | ) |
| CHANGE_START | ( | ) |
| CHANGE_TABLES | ( | String | WIRING, | |
| String | DETECTOR, | |||
| String | SPECTRA | |||
| ) |
Change tables as part of a scripted block change operation.
| [in] | WIRING | |
| [in] | DETECTOR | |
| [in] | SPECTRA |
| CHANGE_TCB | ( | Qualifier | LOG, | |
| Real | TLOW, | |||
| Real | THIGH, | |||
| Real | TSTEP | |||
| ) |
Change time channels as part of a scripted block change operation.
| [in] | TLOW | |
| [in] | THIGH | |
| [in] | TSTEP | |
| [in] | LOG |
| CSET | ( | Qualifier | WAIT, | |
| Qualifier | CONTROL, | |||
| Qualifier | NOCONTROL, | |||
| Var | RANGE, | |||
| Var | LOWLIMIT, | |||
| Var | HIGHLIMIT, | |||
| Var | EXTRAPARAMS | |||
| ) |
Set a sample environment variable value.
The command is passed the name of a SECI defined sample environment parameter and its desired value in a NAME=VALUE style.
| [in] | RANGE | |
| [in] | LOWLIMIT | |
| [in] | HIGHLIMIT | |
| [in] | EXTRAPARAMS | Additional NAME=VALUE arguments |
| [in] | WAIT | |
| [in] | CONTROL | Enable run control on this block |
| [in] | NOCONTROL | Disable run control on this block |
CSET TEMP1=10.0
| CSHOW | ( | Qualifier | ALL, | |
| String | BLOCK | |||
| ) |
show a sample environemtn variable value
| [in] | BLOCK | Name of SECI defined block to read |
| [in] | ALL | List all blocks and their values to the screen |
| END | ( | ) |
end a run
| GETRUNSTATE | ( | ) |
Returns what state the instrument is currently in as an integer.
You can use RUN_STATUS(code) to get the string run states.
| -3 | Waiting | |
| -2 | Waiting | |
| -1 | Paused | |
| 0 | Setup | |
| 1 | Running |
| GETSE | ( | String | FILE | ) |
read SE values from a file intop a workspace.
The values can then be plotted using the display command.
| [in] | FILE | Name of the log file to read |
| GETUAMPS | ( | ) |
return current Microamps.
| RESUME | ( | ) |
resume a run after a pause
| STORE | ( | ) |
store CRPT
| SUSPEND | ( | ) |
| UPDATE | ( | ) |
update CRPT
| UPDATESTORE | ( | ) |
perform an UPDATE and STORE in a combined operation
| WAITFOR | ( | Qualifier | ALL, | |
| Qualifier | ANY, | |||
| Var | RANGE, | |||
| Var | LOWLIMIT, | |||
| Var | HIGHLIMIT, | |||
| Var | EXTRAPARAMS | |||
| ) |
Wait for a specified condition before proceeding further.
The command allows script execution to be suspended until e.g. the specified number of uAmp.hour has been reached or some other condition. Multiple conditions can be specified on the command and then /ALL or /ANY will indicate if one of all of these needs to be met.
| [in] | ALL | Wait for all conditions |
| [in] | ANY | Wait for any condition |
| [in] | Range | An Interval structure indicating the range of values to wait for |
| [in] | LowLimit | Low limit of range |
| [in] | HighLimit | High limit of range |
| [in] | ExtraParams | NAME=VALUE list of blocks to wait for |
| WAITFORDASHRUNSTATE | ( | Qualifier | FALSE, | |
| Qualifier | TRUE, | |||
| String | STATE | |||
| ) |
Wait for a particular instrument run state.
| [in] | TRUE | wait for the specified run state to be entered |
| [in] | FALSE | wait for any state other than the specified one |
1.5.2