Campbell-scientific CR3000 Micrologger Uživatelský manuál Strana 515

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 590
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 514
Appendix A. CRBasic Programming Instructions
515
DialSequence/EndDialSequence
DefinesthecodenecessarytoroutepacketstoaPakBusdevice.
Syntax
DialSequence(PakBusAddr)
DialSuccess = DialModem(ComPort, DialString, ResponseString)
EndDialSequence(DialSuccess)
GetDataRecord
RetrievesthemostrecentrecordfromadatatableinaremotePakBus
dataloggerandstorestherecordintheCR3000.
Syntax
GetDataRecord(ResultCode, ComPort, NeighborAddr, PakBusAddr,
Security, Timeout, Tries, TableNo, DestTableName)
Note CR200, CR510PB, CR10XPB, and CR23XPB dataloggers do not respond
to a GetDataRecord request from other PakBus dataloggers.
GetFile
GetsafilefromanotherPakBusdatalogger.
Syntax
GetFile(ResultCode, ComPort, NeighborAddr, PakBusAddr,
Security, TimeOut, "LocalFile", "RemoteFile")
GetVariables
RetrievesvaluesfromavariableorvariablearrayinadatatableofaPakBus
datalogger.
Syntax
GetVariables(ResultCode, ComPort, NeighborAddr, PakBusAddr,
Security, TimeOut, "TableName", "FieldName", Variable,
Swath)
Network
InconjunctionwithSendGetVariables,configuresdestinationdataloggersina
PakBusnetworktosendandreceivedatafromthehost.
Syntax
Network(ResultCode, Reps, BeginAddr, TimeIntoInterval,
Interval, Gap, GetSwath, GetVariable, SendSwath,
SendVariable)
PakBusClock
SetsthedataloggerclocktotheclockofthespecifiedPakBusdevice.
Syntax
PakBusClock(PakBusAddr)
Route
Returnstheneighboraddressof(ortherouteto)aPakBusdatalogger.
Syntax
variable = Route(PakBusAddr)
RoutersNeighbors
ReturnsalistofallPakBusroutersandtheirneighborsknowntothedatalogger.
Syntax
RoutersNeighbors( DestArray(MaxRouters, MaxNeighbors+1))
Zobrazit stránku 514
1 2 ... 510 511 512 513 514 515 516 517 518 519 520 ... 589 590

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

Žádné komentáře