beautypg.com

Trigger:bus:b1:i2c:data:size, Trigger:bus:b1:i2c:data:value – GW Instek GDS-2000A series Programming Manual User Manual

Page 138

background image

GDS-2000A Programming Manual

138

Related
commands

:TRIGger:BUS:B1:I2C:CONDition

Parameter

READ

Set read as the data direction.

WRITE

Set write as the data direction.

NOCARE

Set either as the data direction.

Return Parameter

Returns the direction (READ, WRITE, NOCARE).

Example

:TRIGger:BUS:B1:I2C:ADDRess:DIRection READ

Sets the direction to READ.

:TRIGger:BUS:B1:I2C:DATa:SIZe

Description

Sets or queries the data size in bytes for the I

2

C

bus.

Note

This setting only applies when the I

2

C trigger is set

to trigger on Data or Address/Data

Syntax

:TRIGger:BUS:B1:I2C:DATa:SIZe { | ? }

Related
commands

:TRIGger:BUS:B1:I2C:CONDition

Parameter

Number of data bytes (1 to 5 ).

Return parameter

Returns the number of bytes.

Example

:TRIGger:BUS:B1:I2C:DATa:SIZe 3
Sets the number of bytes to 3.

:TRIGger:BUS:B1:I2C:DATa:VALue

Description

Sets or queries the triggering data value for the I

2

C

bus when the I

2

C bus is set to trigger on Data or

Address/Data.

Syntax

:TRIGger:BUS:B1:I2C:DATa:VALue {string | ? }

Related
commands

:TRIGger:BUS:B1:I2C:DATa:SIZe

Set

Query

Set

Query