Field Test Unit Software

6.3 CHANNEL ADDRESSES

The following Table defines some important location in the Data Logger. Refer to the STARLOG Portable Data Logger Hardware Supplement for a complete List of location definitions.

ChanneI

 

# BLOCK 0 Address on field test unit

Analog 0

16

Analog

1

17

Analog

2

18

Analog

3

19

Analog

4

20

Analog

5

21

Analog

6

22

Analog

7

23

Counter 0

24 thru 27

Counter 1

28 thru 31

All values are displayed in decimal and may range from 0 to 255 ( 8 bit byte) or 0 to 4 biion (32 bit integer).

6.4 “NFTU.X07” - PROGRAM LISTING

1

DEFINT B,L,C:B = 0:L = 0:C = 4:M = 2:CONSOLE 0,4,0

2CLS

3

GOSUB 22:LOCATE 0,0:ON M GOT0 4,5

4PRINT V;:GOTO 8

5FOR I=0 TO 3

6PRINT USING“####”;VAL(“&H” + MID$(L$,(I*2) + 1,2));

7NEXT I

8LOCATE 0,1:PRINT USING“####”;B;L

9 LOCATE 0,3:PRINT“? LB P”;

10 A$ = INKEY$:IF A$ = “ ” THEN 3

11

I = INSTR(“LBP”,A$):A = ASC(A$)-27:IF A0 THEN ON A

 

GOTO 18,17,16,19

12

ON I GOTO 14,13,20,21:GOTO 3

30

Section 6. NFTU COMMANDS