beautypg.com

Trigger:bus:b1:can:identifier:direction – GW Instek GDS-2000A series Programming Manual User Manual

Page 152

background image

GDS-2000A Programming Manual

152

Parameter/
Return parameter

The size of the string depends on the
data size setting. The string must be
enclosed in double quotes, “string”.

String contents:
x = don’t care
1 = binary 1
0 = binary 0

Example

:TRIGger:BUS:B1:CAN:CONDition ID
:TRIGger:BUS:B1:CAN:IDentifier:MODe STANDARD
:TRIGger:BUS:B1:CAN:IDentifier:VALue
"01100X1X01X"
:TRIGger:BUS:B1:CAN:IDentifier:VALue?
>01100X1X01X

:TRIGger:BUS:B1:CAN:IDentifier:DIRection

Description

Sets or queries the address bit as read, write or
don’t care.
Requirements: Firmware version V1.19 or later with
DS2-LA8 (or DS2-LA16).

Syntax

:TRIGger:BUS:B1:CAN:IDentifier:DIRection
{READ|WRITE|NOCARE|?}

Parameter/
Return parameter

READ

Sets read as the data direction

WRITE

Sets write as the data direction

NOCARE

Sets either as the data direction

Example1

:TRIGger:BUS:B1:CAN:IDentifier:DIRection?
>WRITE

Example2

:TRIGger:BUS:B1:CAN:IDentifier:DIRection READ
:TRIGger:BUS:B1:CAN:IDentifier:DIRection?
> READ

Set

Query