Data Sheet

Table Of Contents
47
DataRole
Possible values:
PD_PORT_DATA_ROLE_UFP
PD_PORT_DATA_ROLE_DFP
PowerRole
Possible values:
PD_PORT_POWER_ROLE_SINK
PD_PORT_POWER_ROLE_SOURCE
Examples
Call PD_SetRoles( PD_PORT_DATA_ROLE_DFP, PD_PORT_POWER_ROLE_SOURCE )
4.10 PD_Set
Using this command you can change necessary settings or variables inside the Exerciser.
Format
PD_Set $PdGlobalSettings.<field_name> = <value>
PD_Set $PdTimers.<field_name> = <value>
Parameters
List of $PdGlobalSettings fields:
Field Name
Description
PortDataRole
Defines port data role.
Possible values:
PD_PORT_DATA_ROLE_DFP
PD_PORT_DATA_ROLE_UFP(default)
PortPowerRole
Defines port power role.
Possible values:
PD_PORT_POWER_ROLE_SINK(default)
PD_PORT_POWER_ROLE_SOURCE
CheckMessageId
Enables/Disables received packet message id verification.
Possible values:
PD_FALSE(Default)
PD_TRUE
SpecificationRevision
Changes the SpecificationRevision of all messages sent by the
Exerciser.
Possible values:
PD_SPEC_REVISION_1
PD_SPEC_REVISION_2(Default)
PD_SPEC_REVISION_3
Or any user defined value.
EnableCableEmulator
Enables/Disables Cable Emulator engine in Exerciser. If enabled, the
Exerciser simulates a Marked Cable as well as source or sink PD Device. It
should be set only once in the target Exerciser Script.
Possible values:
PD_FALSE(Default)
PD_TRUE
EnableDeviceEmulator
If disabled, Device Emulator AutoResponse will be disabled (in case of
Exerciser acting as a Sink or Source device).
Possible values:
PD_FALSE,
PD_TRUE(default)
NegotiateAfterReset
If set to PD_TRUE, then the Exerciser will run Negotiation after
receiving/sending SoftReset or HardReset.
Possible values:
PD_FALSE,
PD_TRUE (default)
VConnPassThrough
Indicates whether the Exerciser is connected to the DUT using a VConn