Campbell CR1000 Manuale Utente Pagina 12

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 12
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 11
Paroscientific, Inc. Technical Note
Precision Pressure Instrumentation Doc. No. G8044 25 March 2005
©2005 Paroscientific, Inc.
12
'Send Temperature string over one communication port C1 (COM1 TX).
OutString = "*0100Q3"+CHR(13)+CHR(10)
SerialOut (Com1,OutString,"",0,500)
'Receive String on port C2 (COM1 RX).
SerialIn (Instring, Com1,500,10,100) 'Receive timeout is 5 secs. Change if needed.
SplitStr (Temp,InString,"*0001",1,4)
'Send Tper string over one communication port C1 (COM1 TX).
OutString = "*0100Q1"+CHR(13)+CHR(10)
SerialOut (Com1,OutString,"",0,500)
'Receive String on port C2 (COM1 RX).
SerialIn (Instring, Com1,500,10,100) 'Receive timeout is 5 secs. Change if needed.
SplitStr (Tper,InString,"*0001",1,4)
'Send ambient temperature string over one communication port C1 (COM1 TX).
OutString = "*0100TT"+CHR(13)+CHR(10)
SerialOut (Com1,OutString,"",0,500)
'Receive String on port C2 (COM1 RX).
SerialIn (Instring, Com1,500,10,100) 'Receive timeout is 5 secs. Change if needed.
SplitStr (AmbT,InString,"*0001",1,4)
'Send humidity string over one communication port C1 (COM1 TX).
OutString = "*0100RH"+CHR(13)+CHR(10)
SerialOut (Com1,OutString,"",0,500)
'Receive String on port C2 (COM1 RX).
SerialIn (Instring, Com1,500,10,100) 'Receive timeout is 5 secs. Change if needed.
SplitStr (AmbRH,InString,"*0001",1,4)
'Call Output Tables to store values
CallTable Digiqrtz
NextScan
EndProg
Note: This source code is available at Paroscientific web site. (File Name:AllParams.cr1)
Vedere la pagina 11
1 2 ... 7 8 9 10 11 12

Commenti su questo manuale

Nessun commento