EasyManua.ls Logo

Campbell CR1000 - Peer-To-Peer Pakbus Communications

Campbell CR1000
678 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix A. CRBasic Programming Instructions
SerialInRecord
Reads incoming serial data on a COM port and stores the data in a destination
variable.
Syntax
SerialInRecord(COMPort, Dest, BeginWord, NBytes, EndWord,
NBytesReturned, LoadNAN)
SerialOpen
Sets up a datalogger port for communication with a non-PakBus device.
Syntax
SerialOpen(ComPort, BaudRate, Format, TXDelay, BufferSize)
SerialOut
Transmits a string over a datalogger communication port.
Syntax
SerialOut(ComPort, OutString, WaitString, NumberTries,
TimeOut)
SerialOutBlock
Send binary data out a communication port. Supports transparent serial talk-
through.
Syntax
SerialOutBlock(ComPort, Expression, NumberBytes)
A.13 Peer-to-Peer PakBus® Communications
Related Topics:
PakBus
®
Communications Overview (p. 88)
PakBus
®
Communications Details (p. 393)
PakBus
®
Communications Instructions (p. 584)
PakBus Networking Guide (available at www.campbellsci.com/manuals
(http://www.campbellsci.com/manuals
))
PakBus is a proprietary networking communication protocol designed to optimize
communications between Campbell Scientific dataloggers and peripherals.
PakBus features auto-discovery and self-healing. Following is a list of CRBasic
instructions that control PakBus processes. Some PakBus instructions specify a
PakBus address (PakBusAddr) or a COM port (ComPort). PakBusAddr can be a
CRBasic variable. ComPort is a constant. ComPort arguments are as follows:
ComRS232
ComME
Com310
ComSDC7
ComSDC8
ComSDC10
584

Table of Contents

Related product manuals