Morning,
Here is the code:
'JOB=JOB1
'COMPILED=2010/10/04 13:55:19
'TYPE=dt80
DT=\d
001: BEGIN"JOB1"
002: CATTN
003: 'Spans and polynomial declarations
004: 'Thermistor declarations
005: 'Switches declarations
006: 'Parameter declarations
007: 'Global declarations
008: RS1S
009: ' Initialise port that CANgate is connected to
010: PS=RS232,57600,N,8,1,HWFC
011: ' Initialise the CANgate device
012: IF(1SERIAL("\e{VERBOSE OFF;VERSION^M}%f",2)<1.23)"CANgate not found or firmware version less than 1.23"
013: ' Initialise CANgate ports
014: 1SERIAL("{CONNECT 1 250;SETADDR 1 0^M}",W) 'J1939
015: 1SERIAL("{CONNECT 2 0;SETADDR 2 0^M}",W)
016: 'schedule definition
017: RA("B:",ALARMS:OV:100KB,DATA:OV:1MB)1S LOGONA GA
018: REFT("Temps")
019: 1SERIAL("\e{RQST 1 01_0C 3 4 256 0 FORMAT um 0.25 0 \034%%.2f\\n\034 ;RP^M}%f",2,"Engine RPM~rpm")
020: END
'end of program file
And the error:
12 Channel list error at line 12 col 11 [IF(1SERIAL<err>('\e{VERBO ]
12 Channel list error at line 17 col 8 [1SERIAL<err>('{BEGIN^M]
12 Channel list error at line 15 col 8 [1SERIAL<err>('{CONNECT]
12 Channel list error at line 14 col 8 [1SERIAL<err>('{CONNECT]
12 Channel list error at line 19 col 8 [1SERIAL<err>('{END^M}']
12 Channel list error at line 18 col 8 [1SERIAL<err>('{^M}',W)]
12 Channel list error at line 22 col 8 [1SERIAL<err>('\e{RQST ]
I didn't writ the code, it is the default code of DeLogger5.
Cheers,
Olivier
Morning,
Here is the code:
````
'JOB=JOB1
'COMPILED=2010/10/04 13:55:19
'TYPE=dt80
DT=\d
001: BEGIN"JOB1"
002: CATTN
003: 'Spans and polynomial declarations
004: 'Thermistor declarations
005: 'Switches declarations
006: 'Parameter declarations
007: 'Global declarations
008: RS1S
009: ' Initialise port that CANgate is connected to
010: PS=RS232,57600,N,8,1,HWFC
011: ' Initialise the CANgate device
012: IF(1SERIAL("\e{VERBOSE OFF;VERSION^M}%f",2)<1.23)"CANgate not found or firmware version less than 1.23"
013: ' Initialise CANgate ports
014: 1SERIAL("{CONNECT 1 250;SETADDR 1 0^M}",W) 'J1939
015: 1SERIAL("{CONNECT 2 0;SETADDR 2 0^M}",W)
016: 'schedule definition
017: RA("B:",ALARMS:OV:100KB,DATA:OV:1MB)1S LOGONA GA
018: REFT("Temps")
019: 1SERIAL("\e{RQST 1 01_0C 3 4 256 0 FORMAT um 0.25 0 \034%%.2f\\n\034 ;RP^M}%f",2,"Engine RPM~rpm")
020: END
'end of program file
````
And the error:
````
12 Channel list error at line 12 col 11 [IF(1SERIAL<err>('\e{VERBO ]
12 Channel list error at line 17 col 8 [1SERIAL<err>('{BEGIN^M]
12 Channel list error at line 15 col 8 [1SERIAL<err>('{CONNECT]
12 Channel list error at line 14 col 8 [1SERIAL<err>('{CONNECT]
12 Channel list error at line 19 col 8 [1SERIAL<err>('{END^M}']
12 Channel list error at line 18 col 8 [1SERIAL<err>('{^M}',W)]
12 Channel list error at line 22 col 8 [1SERIAL<err>('\e{RQST ]
````
I didn't writ the code, it is the default code of DeLogger5.
Cheers,
Olivier