Slowsequence(timeslice) – Campbell Scientific CR9000X Measurement and Control System User Manual
Page 350

Section 9. Program Control Instructions
SlotConfigure (Slot4CardID, Slot5CardID, Slot6CardID, Slot7CardID,
Slot8CardID, Slot9CardID, Slot10CardID, Slot11CardID,
Slot12CardID)
Used to provide the CRBasic precompiler with information about the modules
installed in the datalogger's chassis.
Syntax
SlotConfigure(9050, 9060, 9070, 9071, 9055, 9052, 9058, 9058, none)
Remarks
This instruction is placed in the Declarations section of the program, prior to
the BeginProg instruction. It is used only to provide information to the pre-
compiler. SlotConfigure is not required for the program to run, and it is
ignored by the data-logger hardware when the program is compiled. The pre-
compiler uses this information to check for module specific errors and timing
issues with the program.
If this instruction is used, at least one (and up to nine) module IDs must be
defined. IDs 2 through 9 (Slots 5 through 12) are optional. Select "None" for
any unused slots or delete the remaining commas in the instruction after the
last card defined: SlotConfigure(none,9050,9060). Permissible inputs for the 9
parameters are: None, 9050, 9051,9060,9070,9071,9055,9052, and 9058.
The SlotConfigure instruction has the following parameters:
Enter
Parameter
Module Type
None
No Card in slot
9050 CR9050
9051 CR9051E
9052 CR9052DC/CR9052IEPE
9055 CR9055/CR9055E
9058 CR9058E
9060 CR9060
9070 CR9070
9071 CR9071E
SlowSequence(TimeSlice)
Allows slower measurements and low priority processing to take place in
background.
Syntax
SlowSequence(TimeSlice)
Remarks
Ends the main program and begins a low priority program. The instructions for
this program are executed as time allows when the main program is not
running. There must be a Scan … NextScan loop following SlowSequence.
It is possible to have a scan in the SlowSequence for measurements that are
not needed at the rate of the primary scan interval. The CR9000X tags on
measurement instructions from the slow sequence scan to the normal scan as
time allows. At least one A/D conversion from the slow sequence scan is
added to each normal scan (the appropriate settling time occurs before the A/D
conversion). Thus, the primary scan interval must be long enough to make the
primary scan measurements plus the longest single measurement fragment
9-20