Campbell CR800 Specifikace Strana 184

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 324
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 183
Section 7. Measurement Instructions
SDMAO4 (Source, Reps, SDMAdress)
This instruction is used to set the voltage to an SDM-AO4 four-channel analog
output device.
The SDMAO4 instruction has the following parameters:
Parameter
& Data Type
Enter
Source
The Source parameter is the variable that holds the voltage, in millivolts,
which should be sent to the SDM-AO4. If multiple SDM-AO4s are to be
triggered with one instruction, this parameter must be an array dimensioned
to the size of the Reps.
Reps
The Reps parameter determines the number of SDM-AO4 devices to supply
a voltage using this instruction. The SDM-A04s must have sequential SDM
addresses if the Reps parameter is greater than 1.
SDMAddress
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
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).
7-30
Zobrazit stránku 183
1 2 ... 179 180 181 182 183 184 185 186 187 188 189 ... 323 324

Komentáře k této Příručce

Žádné komentáře