Scan Buffers; Granite Measurement Module Instructions - Campbell TEMP 120 Product Manual

20-channel thermocouple module
Table of Contents

Advertisement

NOTE:
Short Cut cannot edit programs after they are imported and edited in CRBasic Editor.
See
Programming quickstart using Short Cut
Short Cut code into CRBasic Editor to create or add to a customized program, follow the
procedure in
Importing Short Cut code into CRBasic Editor
can be found in:
Example programs

9.4.1 Scan buffers

When TEMP 120 instructions are included in a program, Campbell Scientific recommends setting
the BufferOption of the
worth of scans. For example, if the scan rate is 50 ms (.05 s), set the BufferOption to 40 (2 s ÷
.05 s = 40). At a minimum, the BufferOption should be set to 3.
The data logger processes the data from the TEMP 120 in batches according to frame syncs
received from the TEMP 120. Upon receiving a batch of data, the data logger puts it into a
processing queue. Processing the data may take more time than is available in a single scan. The
BufferOption allows the data logger to balance its task load by processing the data from the
TEMP 120 during subsequent scans while maintaining correct data time stamps. If a
BufferOption is not set, the data logger will attempt to process all of the data during the scan
it is received, which can result in skipped scans. Scan buffers are only used when the data logger
is running in pipeline mode.

9.4.2 GRANITE Measurement Module instructions

For the most current information on data logger instructions, refer to the
The first two parameters for each CDM instruction are the CDMType and CPI_Addr. CDMType
refers to the GRANITE Measurement Model used; use TEMP120. CPI_Addr is the address of the
TEMP 120. Connect sensors to the terminals specified within the corresponding measurement
instructions. The following program example shows the use of CDM_TCComp().
(p. 5) for a Short Cut tutorial. If you wish to import
(p. 28).
Scan()
instruction to a value greater than or equal to two seconds'
(p. 27). Complete program examples
CRBasic Editor Help
.
TEMP 120
16

Advertisement

Table of Contents
loading

Table of Contents