931054C / 1213
8. JOB FILES
77
8.1.2. The RUN Command
The RUN command can be used to execute other programs. For example, if the system consists
of a computer-controlled filter changer and an Easy-MCS, you can write a program that triggers
the filter changer to change the filter. Following is an example of this type of JOB:
SET_MCS 1
SET_DWELL_TIME 2e-6
SET_PASS_LENGTH 7500
SET_PRESET_PASS 1000
CLEAR
START
LOOP 10
WAIT
FILL_BUFFER
CLEAR
RUN “MOVEFILT.EXE”
START
SET_MCS 0
DESCRIBE_SAMPLE “This is filter ???”
SAVE “PEAK???.MCS”
RECALL_ROI “PEAK.ROI”
REPORT “PRN”
SET_MCS 1
END_LOOP
Now the filter is changed before each acquisition.
Note that when an
EXE
program is run, the program starts but returns to the JOB before it exits.
This is usually undesirable. For instance, in the preceding example, the Easy-MCS will start the
acquisition before the filter is changed. The way around this is to add a WAIT command
immediately after the RUN command:
RUN “MOVEFILT.EXE”
WAIT “MOVEFILT.EXE”
The
.JOB
file will now suspend execution until
MOVEFILT.EXE
exits.
8.1.3. Controlling MCS-32 from Other Programs
In the preceding example, MCS-32 ran another executable to control the system. A different
method of operation is to run MCS-32 from another control program. In this situation, a user-
written program would set up the hardware for the acquisition, then run MCS-32 with a com-
mand line that immediately starts a JOB to perform the acquisition. Using the QUIT command as
Summary of Contents for Easy-MCS
Page 10: ...x...
Page 20: ...Easy MCS Multichannel Scaler and MCS 32 A73 B32 Software 931054C 1213 10 Intentionally blank...
Page 24: ...Easy MCS Multichannel Scaler and MCS 32 A73 B32 Software 931054C 1213 14 Intentionally blank...
Page 77: ...931054C 1213 7 KEYBOARD FUNCTIONS 67 Fig 59 MCS 32 Keyboard and Keypad Accelerators...
Page 98: ...Easy MCS Multichannel Scaler and MCS 32 A73 B32 Software 931054C 1213 88 Intentionally blank...
Page 100: ...Easy MCS Multichannel Scaler and MCS 32 A73 B32 Software 931054C 1213 90 Intentionally blank...
Page 108: ...Easy MCS Multichannel Scaler and MCS 32 A73 B32 Software 931054C 1213 98 Intentionally blank...
Page 110: ...Easy MCS Multichannel Scaler and MCS 32 A73 B32 Software 931054C 1213 100 Intentionally blank...
Page 114: ...Easy MCS Multichannel Scaler and MCS 32 A73 B32 Software 931054C 1213 104 Intentionally blank...
Page 130: ...Easy MCS Multichannel Scaler and MCS 32 A73 B32 Software 931054C 1213 120 Intentionally blank...