Campbell-scientific CR1000 Measurement and Control System Uživatelský manuál Strana 512

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 588
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 511
Appendix A. CRBasic Programming Instructions
512
ClockReport
SendsthedataloggerclockvaluetoaremotedataloggerinthePakBusnetwork.
Syntax
ClockReport(ComPort, RouterAddr, PakBusAddr)
DataGram
InitializesaSerialServer/DataGram/PakBusapplicationinthedataloggerwhen
aprogramiscompiled.
Syntax
DataGram(ComPort, BaudRate, PakBusAddr, DestAppID, SrcAppID)
DialSequence/EndDialSequence
DefinesthecodenecessarytoroutepacketstoaPakBusdevice.
Syntax
DialSequence(PakBusAddr)
DialSuccess = DialModem(ComPort, DialString, ResponseString)
EndDialSequence(DialSuccess)
GetDataRecord
RetrievesthemostrecentrecordfromadatatableinaremotePakBus
dataloggerandstorestherecordintheCR1000.
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)
Zobrazit stránku 511
1 2 ... 507 508 509 510 511 512 513 514 515 516 517 ... 587 588

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

Žádné komentáře