Campbell AVW1 Specifiche Pagina 19

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 50
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 18
AM16/32B Relay Analog Multiplexer
FIGURE 7. SCWIN (Short Cut for Windows Program Builder)
5.1 CRBasic Programming
The CR5000, CR800, CR850, CR3000, and CR1000 are programmed with
CRBasic; for details see the datalogger manual. While the instructions look
different than those used to program the older CR10X, CR23X, etc., they
perform similar functions. One difference that needs to be pointed out is that
with CRBasic measurement results are stored in a variable array, not numbered
input locations. In the older loggers the destination location is “indexed” so
that each pass through the measurement loop the result is stored in a higher
numbered location. In CRBasic the program must specifically increment an
index variable and use that variable to determine where each measurement is
stored.
GENERALIZED CRBASIC PROGRAMMING SEQUENCE:
ACTIVATE MULTIPLEXER/RESET INDEX
Portset (1 ,1) 'Set C1 high to Enable Multiplexer
I=0
BEGIN MEASUREMENT LOOP
SubScan(0,sec,16)
CLOCK PULSE AND DELAY
Portset (2,1 ) ‘Set port 2 high
13
Vedere la pagina 18
1 2 ... 14 15 16 17 18 19 20 21 22 23 24 ... 49 50

Commenti su questo manuale

Nessun commento