-
Notifications
You must be signed in to change notification settings - Fork 1
RunScript commands
The following run-script commands are available:
- signal_vs_time(instrument;magnet_value;detector(s);integrtime;settling_time) -> plotname(s)
Sets the magnet of instrument to magnet_value, waits settling_time before starting the integration of the signal for integrtime. After that the measured signal of the detector(s) is (are) returned and plotted versus time in plot(s) plot_name(s). Qtegra supports only certain values of integrtime.
Magnet_value can be a number or a string the identifies an isotope in the magfield_table
Detector(s) and plot_name(s) can be a string lists = strings separated by comma
Make sure that the number of detectors and plot_names agree.
Example – single detector use Use Qtegra to set the magnet to the magnet value of He3 (or 1.5 in the second example), use the H1_CDD detector with settling and integration times of 1 sec. Plot the result to the plot named “He3Plot”
signal_vs_time(Qtegra; He3; H1_CDD; 1, 1) -> He3Plot
signal_vs_time(Qtegra; 1.5; H1_CDD; 1, 1) -> He3Plot
Example – multi detector use Use Qtegra to set the magnet to the magnet value of He3, use the H1_CDD and the H2 detectors with settling and integration times of 1 sec. Plot the result of the H1_CDD detector to the plot named “He3Plot” and the H2 detector to “He4Plot”
signal_vs_time(Qtegra; He3; H1_CDD, H2; 1, 1) -> He3Plot, He4Plot
- protect_detector(instrument;detector;[0,1])
Protects (1) or unprotects (0) the detector of the instrument
Example: protect_detector(qtegra,H1_CDD,1)
- set_cupconfiguration(instrument;cupconfig_name;subcupconfig_name)
Changes the cup and subcup configuration of the instrument. Make sure the cup and subcup configurations actually exsist!
- set_detector_deflection(instrument;detector;voltage)
Sets the voltage of the deflection of the detector
- set_detector_supply(instrument;detector;voltage)
Sets the supply voltage of the detector
- systemdevice_vs_time(SystemDeviceName) -> plotname
Returns the time and the value of SystemDevice (pressure sensor, temp sensor etc etc) and plots the data in a plot with the name plotname.
The data are stored during an analysis session and saved with the whole session.
A list of available SystemDevices is given in MSControl SystemDevice.ini
- SampleList_proceed
If a SampleList is used to run multiple samples automatically, the sample list starts running the next sample when this command is processed. The command is being ignored if samples are run without a SampleList.