Campbell-scientific CR800 and CR850 Measurement and Control Systems Manual de usuario Pagina 205

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 566
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 204
Section 7. Installation
205
+3to+25with‐3to+3definedasthetransitionrangethatcontainsno
information.Amarkisalogic1andnegativevoltage.Aspaceisalogic0
andpositivevoltage.
MSB
Mostsignificantbit(theleadingbit).
RS232C
Referstothestandardusedtodefinethehardwaresignalsandvoltage
levels.TheCR800supportsseveraloptionsofseriallogicandvoltage
levelsincludingRS232logicatTTLlevelsandTTLlogicatTTLlevels.
RX
Receive
SP
Space
Startbit
Isthebitusedtoindicatethebeginningofdata.
Istheendofthedatabits.Thestopbitcanbe1,1.5or2.
TX
Transmit
7.8.8.5 CRBasic Programming
To transmit or receive RS-232 or TTL signals, a serial port (see table CR800
Serial Ports
(p. 203) ) must be opened and configured through CRBasic with the
SerialOpen() instruction. The SerialClose() instruction can be used to close the
serial port. Below is practical advice regarding the use of SerialOpen() and
SerialClose(). Program CRBasic example Receiving an RS-232 String
(p. 211)
shows the use of SerialOpen(). Consult CRBasic Editor Help for more
information.
SerialOpen(COMPort,BaudRate,Format,TXDelay,BufferSize)
COMPort — Refer to CRBasic Editor Help for a complete list of COM ports
available for use by SerialOpen().
BaudRrate — Baud rate mismatch is frequently a problem when developing
a new application. Check for matching baud rates. Some developers prefer to
use a fixed baud rate during initial development. When set to -nnnn (where
nnnn is the baud rate) or 0, auto baud-rate detect is enabled. Autobaud is
Vista de pagina 204
1 2 ... 200 201 202 203 204 205 206 207 208 209 210 ... 565 566

Comentarios a estos manuales

Sin comentarios