CAN functions(CAN)

 

Command

Data
(for a query, response data)

Explanation

:IF:ENABle A,B$

A = 1 to 4 (CAN Ch. No.)
C$ = OFF, ON

Set CAN channels on/off status

:IF:ENABle? A

A<NR1>,B$

Query CAN channels on/off status

:IF:COMMent A,"B$"

A = 1 to 4
"B$"=Comment

Set CAN channel comment

:IF:COMMent? A

A,B$

Query CAN channel comment

:IF:MODE A,B$

A = 1~4
B$ = CAN, CANFd, LIN

Set CAN mode

:IF:MODE? A

A,B

Query CAN mode

:IF:BAUDRate A,B

A = 1 to 4
B = 2.4E+03 to 8.00E+06

Set CAN baudrate

:IF:BAUDRate? A

A,B

Query CAN baudrate

:IF:DATARate A,B

A = 1 to 4
B = 33.3E+04 to 8.00E+06

Set CAN data rate

:IF:DATARate? A

A,B

Query CAN data rate

:IF:ACK A,B$

A = 1 to 4
B$ = NORMal, OFF

Set CAN ACK

:IF:ACK? A

A,B$

Query CAN ACK

:IF:FLTId A,B$

A = 1 to 4
B$ = Character string consisting of 0/1/X (up to 11 characters)

Set CAN acceptance filter ID

:IF:FLTId? A

A,B$

Query CAN acceptance filter ID

:IF:FLTCode A,B$

A = 1 to 4
B$ = 0x000 to 0x7ff (Hexadecimal string)

Set CAN acceptance filter code

:IF:FLTCode? A

A,B$

Query CAN acceptance filter code

:IF:FLTMask A,B$

A = 1 to 4
B$ = 0x000 to 0x7ff (Hexadecimal string)

Set CAN acceptance filter mask

:IF:FLTMask? A

A,B$

Query CAN acceptance filter mask

:IF:FLTBlock A,B$

A = 1 to 4
B$ = OFF, ON

Set blockall on/off status

:IF:FLTBlock? A

A,B$

Query CAN blockall on/off status

:IF:EFLTId A,B$

A = 1 to 4
B$ = Character string consisting of 0/1/X (up to 29 characters)

Set CAN extension acceptance filter ID

:IF:EFLTId? A

A,B$

Query CAN extension acceptance filter ID

:IF:EFLTCode A,B$

A = 1 to 4
B$ = 0x00000000 to 0x1fffffff (Hexadecimal string)

Set CAN extension acceptance filter code

:IF:EFLTCode? A

A,B$

Query CAN extension acceptance filter code

:IF:EFLTMask A,B$

A = 1 to 4
B$ = 0x00000000 to 0x1fffffff(Hexadecimal string)

Set CAN extension acceptance filter mask

:IF:EFLTMask? A

A,B$

Query CAN extension acceptance filter mask

:IF:EFLTBlock A,B$

A = 1 to 4
B$ = OFF, ON

Set extension blockall on/off status

:IF:EFLTBlock? A

A,B$

Query CAN extension blockall on/off status

:IF:LINProt A,B$

A = 1 to 4
B$ = LIN22, LIN21, LIN20, LIN13

Set LIN protocol

:IF:LINProt? A

A,B$

Query LIN protocol

:SIG:NAME A,B$

A = 1 to 300
B$ = string (up to 32 characters)

Set CAN signal name

:SIG:NAME? A

A,B$

Query CAN signal name

:SIG:ID A,B$

A = 1 to 300
B$ = 0x00000000 to 0x1fffffff (Hexadecimal string)

Set CAN message ID

:SIG:ID? A

A,B$

Query CAN message ID

:SIG:STARtbit A,B

A = 1 to 300
B = 0 to 511

Set CAN start bit

:SIG:STARtbit? A

A,B

Query CAN start bit

:SIG:BITLen A,B

A = 1 to 300
B = 1 to 64

Set CAN bit length

:SIG:BITLen? A

A,B

Query CAN bit length

:SIG:BYTEorder A,B$

A = 1 to 300
B$ = BIG, LITTle

Set CAN byte order

:SIG:BYTEorder? A

A,B$

Query CAN byte order

:SIG:VALType A,B$

A = 1 to 300
B$ = SIGNed, UNSIgned, FLOAt, DOUBle

Set CAN data type

:SIG:VALType? A

A,B$

Query CAN data type

:SIG:FACTor A,B

A = 1 to 300
B = -9.9999E+29 to +9.9999E+29

Set CAN conversion ratio

:SIG:FACTor? A

A,B

Query CAN conversion ratio

:SIG:OFFSet A,B

A = 1 to 300
B = -9.9999E+29 to +9.9999E+29

Set CAN offset value

:SIG:OFFSet? A

A,B

Query CAN offset value

:SIG:CHECksum A,B$

A = 1 to 300
B$ = CLASsic, ENHAnced

Set LIN checksum type

:SIG:CHECksum? A

A,B$

Query LIN checksum type

:SIG:LINDlc A,B

A = 1 to 300
B = 0 to 8

Set LIN DLC

:SIG:LINDlc? A

A,B

Query LIN DLC

:SEND:ENABle A,B$

A = 1 to 16
B$ = OFF, ON

Set CAN transmission on/off status

:SEND:ENABle? A

A,B$

Query CAN transmission on/off status

:SEND:TIMIng A,B$

A = 1 to 16
B$ = KEY1, KEY2, STARt, TRIGger, RESPonse, PASS, FAIL, ERROr

Set CAN transmission timing

:SEND:TIMIng? A

A,B$

Query CAN transmission timing

:SEND:TYPE A,B$

A = 1 to 16
B$ = STDNormal, EXTNormal, STDRemort, EXTRemort, STDFd, EXTFd

Set CAN transmission data type

:SEND:TYPE? A

A,B$

Query CAN transmission data type

:SEND:CHANnel A,B$

A = 1 to 16
B$ = C1, C2, C3, C4, ALL

Set CAN channel for transmission

:SEND:CHANnel? A

A,B$

Query CAN channel for transmission

:SEND:ID A,B$

A = 1 to 16
B$ = 0x00000000 to 0x1fffffff (Hexadecimal string)

Set CAN send ID

:SEND:ID? A

A,B$

Query CAN send ID

:SEND:DLC A,B

A = 1 to 16
B = 0 to 8, 12, 16, 20, 24, 32, 48, 64

Set CAN DLC for transmission

:SEND:DLC? A

A,B

Query CAN DLC for transmission

:SEND:DELAy A,B

A = 1 to 16
B = 0 to 10000

Set CAN delay time for transmission

:SEND:DELAy? A

A,B

Query CAN delay time for transmission

:SEND:PERIodic A,B$

A = 1 to 16
B$ = OFF, ON

Set CAN periodic transmission on/off status

:SEND:PERIodic? A

A,B$

Query CAN periodic transmission on/off status

:SEND:CYCLe A,B

A = 1 to 16
B = 0 to 10000

Set CAN transmission interval

:SEND:CYCLe? A

A,B

Query CAN transmission interval

:SEND:RESPonse A,B$

A = 1 to 16
B$ = 0x00000000 to 0x1fffffff (Hexadecimal string)

Set CAN reply ID

:SEND:RESPonse? A

A,B$

Query CAN reply ID

:SEND:DATA A,B$

A = 1 to 16
B$ = (Hexadecimal up to 64 bytes)

Set CAN data to be transmitted

:SEND:DATA? A

A,B$

Query CAN data to be transmitted

:FRAMe:CLR

-

Initialize list of CAN frames

:FRAMe:NUM?

A = 0 or more (number of frames)

Query number of CAN frames

:FRAMe:TIME? A

A,B
A = 1 or more (frame number)
B = 0 or more (time stamp)

Query time stamp of CAN frame

:FRAMe:CHANnel? A

A,B
A = 1 or more (frame number)
B = 1 to 4

Query input channel of CAN frame

:FRAMe:ID? A

A,B$
A = 1 or more (Hexadecimal string)
B$ = 0x00000000 to 0x1fffffff(Hexadecimal string)

Query ID of CAN frame

:FRAMe:DLC? A

A,B
A = 1 or more (frame number)
B = 0 to 8, 12, 16, 20, 24, 32, 48, 64

Query DLC of CAN frame

:FRAMe:DATA? A

A,B$
A = 1 or more (frame number)
B$ = (Hexadecimal up to 64 bytes)

Query data of CAN frame

:WAVE:INTErface A$,B$

A$ = CAN1 to CAN64
B$ = C1, C2, C3, C4, ALL

Set CAN channel for CAN wave

:WAVE:INTErface? A$

A$,B$

Query CAN channel for CAN wave

:WAVE:SIGNal A$,B

A$ = CAN1 to CAN64
B = 1 to 300

Set signal definition number for CAN wave

:WAVE:SIGNal? A$

A$,B

Query signal definition number for CAN wave