beautypg.com

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

Page 204

background image

GDS-2000A Programming Manual

204

Syntax

:SEARCH:TRIGger:BUS:B1:I2C:ADDRess:DIRection
{ READ | WRITE | NOCARE | ? }

Related
commands

:SEARCH: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

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

Sets the direction to READ.

:SEARCH: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 search

trigger is set to trigger on Data or Address/Data

Syntax

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

Related
commands

:SEARCH:TRIGger:BUS:B1:I2C:CONDition

Parameter

Number of data bytes (1 to 5).

Return parameter

Returns the number of bytes.

Example

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

:SEARCH: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 search trigger is set to trigger on

Data or Address/Data.

Set

Query

Set

Query