Lin

SCPI Commands :

TRIGger:SBHW:LIN:TYPE
TRIGger:SBHW:LIN:ICONdition
TRIGger:SBHW:LIN:IMIN
TRIGger:SBHW:LIN:IMAX
TRIGger:SBHW:LIN:DCONdition
TRIGger:SBHW:LIN:DMIN
TRIGger:SBHW:LIN:CHKSerror
TRIGger:SBHW:LIN:IPERror
TRIGger:SBHW:LIN:SYERror
TRIGger:SBHW:LIN:DPOSition
Commands in total: 10
Subgroups: 0
Direct child commands: 10
get_chks_error() bool[source]
# TRIGger:SBHW:LIN:CHKSerror
value: bool = driver.trigger.sbhw.lin.get_chks_error()

Triggers on checksum errors. Available, if method RsMxo.trigger.sbhw.lin.type_py() is set to ERRC.

Returns:

checksum_error: OFF | ON

get_dcondition() OperatorB[source]
# TRIGger:SBHW:LIN:DCONdition
value: enums.OperatorB = driver.trigger.sbhw.lin.get_dcondition()

Sets the operator to set a specific data pattern or a data pattern range.

Returns:

data_operator: EQUal | NEQual | LTHan | LETHan | GTHan | GETHan

get_dmin() List[int][source]
# TRIGger:SBHW:LIN:DMIN
value: List[int] = driver.trigger.sbhw.lin.get_dmin()

Specifies a data pattern, or sets the start value of a data pattern range.

get_dposition() int[source]
# TRIGger:SBHW:LIN:DPOSition
value: int = driver.trigger.sbhw.lin.get_dposition()

Sets the number of data events that are ignored, before trigger condition check of the data starts.

Returns:

data_position: 1 to 4096

get_icondition() OperatorB[source]
# TRIGger:SBHW:LIN:ICONdition
value: enums.OperatorB = driver.trigger.sbhw.lin.get_icondition()

Sets the operator to set a specific identifier or an identifier range.

Returns:

id_operator: EQUal | NEQual | LTHan | LETHan | GTHan | GETHan | INRange | OORange

  • EQUal | NEQual | LTHan | LETHan | GTHan | GETHan: Equal, not equal, less than, less or equal than, greater than, greater or equal than. These conditions require one identifier pattern to be set with TRIGger:SBHW:LIN:IMIN.

  • INRange | OORange: In range / out of range: Set the minimum and maximum value of the range with TRIGger:SBHW:LIN:IMIN and TRIGger:SBHW:LIN:IMAX.

get_imax() List[int][source]
# TRIGger:SBHW:LIN:IMAX
value: List[int] = driver.trigger.sbhw.lin.get_imax()

Sets the end value of an identifier range if method RsMxo.trigger.sbhw.lin.icondition() is set to INRange or OORange.

get_imin() List[int][source]
# TRIGger:SBHW:LIN:IMIN
value: List[int] = driver.trigger.sbhw.lin.get_imin()

Specifies a secondary identifier pattern, or sets the start value of an identifier range.

get_ip_error() bool[source]
# TRIGger:SBHW:LIN:IPERror
value: bool = driver.trigger.sbhw.lin.get_ip_error()

Triggers if an error occurs in the identifier parity bits. The parity bits are the bits 6 and 7 of the identifier. Available, if method RsMxo.trigger.sbhw.lin.type_py() is set to ERRC.

Returns:

id_parity_error: OFF | ON

get_sy_error() bool[source]
# TRIGger:SBHW:LIN:SYERror
value: bool = driver.trigger.sbhw.lin.get_sy_error()

Triggers if a synchronization error occurs. Available, if method RsMxo.trigger.sbhw.lin.type_py() is set to ERRC.

Returns:

sync_error: OFF | ON

get_type_py() SbusLinTriggerType[source]
# TRIGger:SBHW:LIN:TYPE
value: enums.SbusLinTriggerType = driver.trigger.sbhw.lin.get_type_py()

Selects the trigger type for LIN analysis.

Returns:

type_py: STARtframe | ID | IDDT | WKFR | ERRC

  • STARtframe: Start of the frame. Triggers on the stop bit of the sync field.

  • ID: Sets the trigger to one specific identifier or an identifier range.

  • IDDT: Combination of identifier and data conditions.

  • WKFR: Wake-up frame.

  • ERRC: Error condition. Define the error types with:TRIGger:SBHW:LIN:CHKSerrorTRIGger:SBHW:LIN:IPERrorTRIGger:SBHW:LIN:SYERror

set_chks_error(checksum_error: bool) None[source]
# TRIGger:SBHW:LIN:CHKSerror
driver.trigger.sbhw.lin.set_chks_error(checksum_error = False)

Triggers on checksum errors. Available, if method RsMxo.trigger.sbhw.lin.type_py() is set to ERRC.

Parameters:

checksum_error – OFF | ON

set_dcondition(data_operator: OperatorB) None[source]
# TRIGger:SBHW:LIN:DCONdition
driver.trigger.sbhw.lin.set_dcondition(data_operator = enums.OperatorB.EQUal)

Sets the operator to set a specific data pattern or a data pattern range.

Parameters:

data_operator – EQUal | NEQual | LTHan | LETHan | GTHan | GETHan

set_dmin(data_pattern: List[int]) None[source]
# TRIGger:SBHW:LIN:DMIN
driver.trigger.sbhw.lin.set_dmin(data_pattern = [1, 2, 3])

Specifies a data pattern, or sets the start value of a data pattern range.

set_dposition(data_position: int) None[source]
# TRIGger:SBHW:LIN:DPOSition
driver.trigger.sbhw.lin.set_dposition(data_position = 1)

Sets the number of data events that are ignored, before trigger condition check of the data starts.

Parameters:

data_position – 1 to 4096

set_icondition(id_operator: OperatorB) None[source]
# TRIGger:SBHW:LIN:ICONdition
driver.trigger.sbhw.lin.set_icondition(id_operator = enums.OperatorB.EQUal)

Sets the operator to set a specific identifier or an identifier range.

Parameters:

id_operator

EQUal | NEQual | LTHan | LETHan | GTHan | GETHan | INRange | OORange

  • EQUal | NEQual | LTHan | LETHan | GTHan | GETHan: Equal, not equal, less than, less or equal than, greater than, greater or equal than. These conditions require one identifier pattern to be set with TRIGger:SBHW:LIN:IMIN.

  • INRange | OORange: In range / out of range: Set the minimum and maximum value of the range with TRIGger:SBHW:LIN:IMIN and TRIGger:SBHW:LIN:IMAX.

set_imax(id_pattern: List[int]) None[source]
# TRIGger:SBHW:LIN:IMAX
driver.trigger.sbhw.lin.set_imax(id_pattern = [1, 2, 3])

Sets the end value of an identifier range if method RsMxo.trigger.sbhw.lin.icondition() is set to INRange or OORange.

set_imin(id_pattern: List[int]) None[source]
# TRIGger:SBHW:LIN:IMIN
driver.trigger.sbhw.lin.set_imin(id_pattern = [1, 2, 3])

Specifies a secondary identifier pattern, or sets the start value of an identifier range.

set_ip_error(id_parity_error: bool) None[source]
# TRIGger:SBHW:LIN:IPERror
driver.trigger.sbhw.lin.set_ip_error(id_parity_error = False)

Triggers if an error occurs in the identifier parity bits. The parity bits are the bits 6 and 7 of the identifier. Available, if method RsMxo.trigger.sbhw.lin.type_py() is set to ERRC.

Parameters:

id_parity_error – OFF | ON

set_sy_error(sync_error: bool) None[source]
# TRIGger:SBHW:LIN:SYERror
driver.trigger.sbhw.lin.set_sy_error(sync_error = False)

Triggers if a synchronization error occurs. Available, if method RsMxo.trigger.sbhw.lin.type_py() is set to ERRC.

Parameters:

sync_error – OFF | ON

set_type_py(type_py: SbusLinTriggerType) None[source]
# TRIGger:SBHW:LIN:TYPE
driver.trigger.sbhw.lin.set_type_py(type_py = enums.SbusLinTriggerType.ERRC)

Selects the trigger type for LIN analysis.

Parameters:

type_py

STARtframe | ID | IDDT | WKFR | ERRC

  • STARtframe: Start of the frame. Triggers on the stop bit of the sync field.

  • ID: Sets the trigger to one specific identifier or an identifier range.

  • IDDT: Combination of identifier and data conditions.

  • WKFR: Wake-up frame.

  • ERRC: Error condition. Define the error types with:TRIGger:SBHW:LIN:CHKSerrorTRIGger:SBHW:LIN:IPERrorTRIGger:SBHW:LIN:SYERror