AutosarTimeSyncRecordingGroupInfo

class AutosarTimeSyncRecordingGroupInfo
BUS_TYPE_CAN_FLEXRAY

Returns the constant used to specify the bus type “CAN/FlexRay”

Returns:

The constant

Return type:

str

BUS_TYPE_ETHERNET

Returns the constant used to specify the bus type “Ethernet (PTP)”

Returns:

The constant

Return type:

str

Clone()

Call this method if you want to use API-objects in multiple contexts, e.g. if you want to insert a specific test step in multiple blocks.

Returns:

A copy of this object

Return type:

AutosarTimeSyncRecordingGroupInfo

GetBusType()

Returns the configured bus type.

Returns:

One of AutosarTimeSyncRecordingGroupInfo.BUS_TYPE_ETHERNET, AutosarTimeSyncRecordingGroupInfo.BUS_TYPE_CAN_FLEXRAY

Return type:

str

GetNSecSignalName()

Returns the selected signal for the fractional seconds part in nanoseconds.

Returns:

The signal name, None if not set.

Return type:

str

GetSecSignalName()

Returns the selected full seconds part signal.

Returns:

The signal name, None if not set.

Return type:

str

SetBusType(busType)

Set the bus type. If the bus type is set to Ethernet, the signal names will be automatically set and locked to ‘PTP/PacketPtpFollowUp.ptpPreciseOriginTimestampSec’ and ‘PTP/PacketPtpFollowUp.ptpPreciseOriginTimestampNSec’.

Parameters:
busType : str

One of AutosarTimeSyncRecordingGroupInfo.BUS_TYPE_ETHERNET, AutosarTimeSyncRecordingGroupInfo.BUS_TYPE_CAN_FLEXRAY

SetNSecSignalName(name)

Set the signal for seconds part in nanoseconds.

Parameters:
name : str

The signal name

SetSecSignalName(name)

Set the signal for full seconds.

Parameters:
name : str

The signal name