Specifications
Section 7. Measurement Instructions
Parameter
& Data Type
Enter
SDMAddress
Constant
The SDMAddress parameter defines the address of the SDM-AO4 to which
a voltage should be applied. Valid SDM addresses are 0 through 14.
Address 15 is reserved for the SDMTrigger instruction.
The SDM address is entered as a base 10 number, unlike older, jumper-
settable SDM instruments that used base 4.
SDMCAN (Dest, SDMAddress, TimeQuanta, TSEG1, TSEG2, ID, DataType,
StartBit, NumBits, NumVals, Multiplier, Offset)
The SDMCAN instruction is used to measure and control the SDM-CAN
interface.
Multiple SDM instructions may be used within a program. The initial function
of the instruction is to configure the SDM-CAN interface when the datalogger
program is compiled. Subsequent instructions can be used to determine what
data is passed between the CAN-bus network and the datalogger, set and/or
read the SDM-CAN's internal switches, and read and/or reset detected errors.
The SDMTrigger instruction can be used to trigger simultaneous
measurements from one or more SDM-CANs and other SDM devices
connected to the datalogger. When the SDMTrigger instruction is encountered
in a program, it broadcasts a special SDM message which causes all the SDM-
CAN devices to copy the last data values captured from the CAN-bus into the
working data buffers. Refer to the SDM-CAN manual for additional help.
The CANBUS instruction has the following parameters:
Parameter
& Data Type
Enter
Dest
Variable or
Array
The Dest parameter is a variable array in which to store the results of the
measurement. It must be an array of sufficient size to hold all of the values
that will be returned by the function chosen (defined by the DataType
parameter).
SDMAddress
Constant
The SDMAddress parameter defines the address of the SDM-CAN with
which to communicate. Valid SDM addresses are 0 through 14. Address 15
is reserved for the SDMTrigger instruction.
The SDM address is entered as a base 10 number, unlike older, jumper-
settable SDM instruments that used base 4.
7-34