Console commands (scripts) play an important role in modification of SpecMan4EPR environment. The following components use scripting: Script tab. Execute any commands. Experiment. Use setup tab to define scripts executed before and/or following an experiment. Experiment Queue. Use Queue dialog to configure execution of scripts before and after experiment. Control panels. Create buttons with script executed on button press. Operational modes. Using Spectrometer wizard create script to be executed when operational mode is activated. The operational modes can be activated themselves using a script command: .s.OPMODE = 'mode_ID' Calibrations (ver. 3.7 and above). Using Spectrometer wizard create scripts associated with spectrometer calibration. For example, if relations between programmed values is governed by the field entry_name of device configuration equal to '0, 1.0', a command .spec.dev.CFG.entry_name='0, 2.0' can be issued to alter it. The calibration entries can be activated themselves using a script command. .s.CAL.calibration_ID. Calibrations can be organized in groups for simplicity of use and can be accessed from the main menu. |