Campbell-scientific EC155 CO2 and H2O Closed-Path Gas Analyzer and EC1 Uživatelský manuál Strana 47

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 70
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 46
EC155 CO
2
and H
2
O Closed-Path Gas Analyzer
10. Datalogger Programming with CRBasic
CRBasic supports two instructions to communicate with the EC100 via SDM.
The first is the EC100() instruction, which reads measurement data from the
EC100. The second is the EC100Configure() instruction, which receives and
sends configuration settings.
10.1 EC100() Instruction
The EC100() instruction is used to retrieve data from the EC155 via SDM.
The instruction syntax is:
EC100(Dest,SDMAddress,EC100Cmd)
Dest is the input variable name in which to store the data from the EC155. The
length of the input variable array will depend on the selected value for the
EC100CMd. A value of -99999 will be loaded into Dest(1) if a signature error
on SDM data occurs.
Command
Input Variable Length
0
8
1
12
2
13
SDMAddress defines the address of the EC155 with which to communicate.
Valid SDM addresses are 0 through 14. Address 15 is reserved for the
SDMTrigger() instruction.
EC100Cmd is a parameter that requests the data to be retrieved from the
analyzer. The results for the command will be returned in the array specified
by the Dest parameter. A numeric code is entered to request the data, as shown
in TABLE 10-1.
37
Zobrazit stránku 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 69 70

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

Žádné komentáře