TypePy

SCPI Command :

TRIGger<*>:CAN:TYPE
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(trigger=Trigger.Default) BusCanType[source]
# TRIGger<*>:CAN:TYPE
value: enums.BusCanType = driver.trigger.can.typePy.get(trigger = repcap.Trigger.Default)

Selects the trigger type for CAN analysis.

Parameters:

trigger – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Trigger’)

Returns:

type_py: STOF | FTYP | ID | IDDT | ERRC

  • STOF: STart Of Frame: triggers on the first edge of the dominant SOF bit (synchronization bit) .

  • FTYP: Frame TYPe: triggers on a specified frame type (data, remote, error, or overload) and on the identifier format.To set the frame type, use TRIGgert:CAN:FTYPe. ´Set the identifier format with TRIGgert:CAN:ITYPe

  • ID: IDentifier: Sets the trigger to one specific identifier or an identifier range. To set the identifier, use TRIGgert:CAN:ICONdition, TRIGgert:CAN:IMIN, and TRIGgert:CAN:IMAX.

  • IDDT: IDentifier and DaTa: Combination of identifier and data conditions To set the identifier condition, use TRIGgert:CAN:ICONdition, TRIGgert:CAN:IMIN, and TRIGgert:CAN:IMAX.To set the data condition, use TRIGgert:CAN:DCONdition, TRIGgert:CAN:DMIN, and TRIGgert:CAN:DMAX.

  • ERRC: ERRor Condition: Define the error types withTRIGgert:CAN:ACKerror,TRIGgert:CAN:BITSterror,TRIGgert:CAN:CRCerror,TRIGgert:CAN:FORMerror,TRIGgert:CAN:FDATa:SCERror.

set(type_py: BusCanType, trigger=Trigger.Default) None[source]
# TRIGger<*>:CAN:TYPE
driver.trigger.can.typePy.set(type_py = enums.BusCanType.ERRC, trigger = repcap.Trigger.Default)

Selects the trigger type for CAN analysis.

Parameters:
  • type_py

    STOF | FTYP | ID | IDDT | ERRC

    • STOF: STart Of Frame: triggers on the first edge of the dominant SOF bit (synchronization bit) .

    • FTYP: Frame TYPe: triggers on a specified frame type (data, remote, error, or overload) and on the identifier format.To set the frame type, use TRIGgert:CAN:FTYPe. ´Set the identifier format with TRIGgert:CAN:ITYPe

    • ID: IDentifier: Sets the trigger to one specific identifier or an identifier range. To set the identifier, use TRIGgert:CAN:ICONdition, TRIGgert:CAN:IMIN, and TRIGgert:CAN:IMAX.

    • IDDT: IDentifier and DaTa: Combination of identifier and data conditions To set the identifier condition, use TRIGgert:CAN:ICONdition, TRIGgert:CAN:IMIN, and TRIGgert:CAN:IMAX.To set the data condition, use TRIGgert:CAN:DCONdition, TRIGgert:CAN:DMIN, and TRIGgert:CAN:DMAX.

    • ERRC: ERRor Condition: Define the error types withTRIGgert:CAN:ACKerror,TRIGgert:CAN:BITSterror,TRIGgert:CAN:CRCerror,TRIGgert:CAN:FORMerror,TRIGgert:CAN:FDATa:SCERror.

  • trigger – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Trigger’)