beautypg.com

Sdmint8 interval timer – Campbell Scientific CR9000X Measurement and Control System User Manual

Page 251

background image

Section 7. Measurement Instructions

7-27

The SDMCVO4 instruction has the following parameters:

Parameter
& Data Type

Enter

SDMCVO4 PARAMETERS

Source

Variable or
Array

The Source parameter is a variable array that holds the values for the
voltages (millivolts) or currents (microamps) that will be output by each
channel of the device (Source(1) sets channel 1, Source(2) sets channel 2,
etc.). When outputting a voltage, the variable must be within the range of 0
to 10,000. When outputting a current, the variable must be within the range
of 0 to 20,000.

This parameter must be an array dimensioned to the size of the Reps
parameter.

Reps
Constant

The Reps parameter indicates the number of channels to set to the defined
voltage or current. Additional SDM-CVO4 devices can be controlled by one
SDMCVO4 instruction by assigning them consecutive addresses and setting
the Reps parameter to a value equal to the total number of channels of all
devices (e.g., to set all four channels on two devices, set the Reps parameter
to 8).
If the 4Reps parameter is set to 0, power to the device will be turned off.

SDMAddress

Constant

The SDMAddress parameter defines the address of the SDM-AO4 that the
instruction will set. Valid SDM addresses are 0 through 14. Address 15 is
reserved for the SDMTrigger instruction

SDMAddress

Constant

The SDMAddress parameter defines the address of the SDM-CVO4 which
will be affected by this instruction. Valid SDM addresses are 0 through 14.
Address 15 is reserved for the SDMTrigger instruction.
Note: CRBasic dataloggers use base 10 when addressing SDM devices.

SDMINT8 INTERVAL TIMER

Used to control the SDM-INT8, an 8 Channel Interval Timer module, using the
CR9000X.

This instruction cannot be used in a SubScan.

Syntax
SDMINT8
(Dest, Address, Config8_5, Config4_1, Funct8_5, Funct4_1,

OutputOpt, CaptureTrig, Mult, Offset )

NOTE