User manual
Windows Server Program
ComTec GmbH 5-24
erasedat ; Clears the data of actual ADC spectra.
exit ; Exits the server (and MPANT) programs
alert Message ; Displays a Messagebox containing Message and an OK
; button that must be pressed before execution can continue.
waitinfo 5000 Message ; Displays a Messagebox containing Message, an OK
; and an END button. After the specified time (5000 msec)
; the Messagebox vanishes and execution continues. OK
; continues immediately, END escapes execution.
beep * ; Makes a beep. The character '*' may be replaced with '?', '!' or
; left empty. The corresponding sound is defined in the WIN.INI
; file in the [sounds] section.
delay 4000 ; Waits specified time (4000 msec = 4 sec).
pulse 100 ; Outputs a pulse of 100 ms duration at dig 3.
waitpin 4000 ; Waits 4000 ms for going the level at dig 5 going low.
; After a timeout a Messagebox warns and waits for pressing OK
; Can be used for connecting a sample changer.
run controlfile ; Runs a sequence of commands stored in controlfile. This
; command cannot be nested, i.e. it is not possible to execute
; a run command from the controlfile called with a run command,
; only if it was called with a load command.
onstart command ; The command is executed always after a start action when the
; acquisition is already running. The command can be any valid
; command, also 'run controlfile' is possible.
onstart off ; Switches off the 'onstart' feature. Also a manual Stop command
; switches it off.
onstop command ; The command is executed always after a stop caused by a
; preset reached or trigger. This can be used to program measure
; cycles. For example the command 'onstop start' makes a
; loop of this kind.
onstop off ; Switches off the 'onstop' feature. Also a manual Stop command
; switches it off.
lastrun=5 ; Defines the file count for the last run in a measure cycle. After a
; file with this count or greater was saved with autoinc on, instead
; of the 'onstop command' the 'onlast command' is executed.
numruns=5 ; Defines the file count for the last run in a measure cycle. The
; last count is the present one plus the numruns number.After a
; file with this count was saved with autoinc on, instead of the
; 'onstop command' the 'onlast command' is executed.
onlast command ; The command is executed after a stop caused by a preset
; reached or trigger instead of the 'onstop command', when the
; last file count is reached with autoinc on. This can be used to
; finish programmed measure cycles.
onlast off ; Switches off the 'onlast' feature. Also a manual Stop command
; switches it off.
exec program ; Executes a Windows program or .PIF file.
; Example: exec notepad test.ctl
; opens the notepad editor and loads test.ctl.
updatestatus ; Send a message to the MPANT program to update the status