Data Sheet

Table Of Contents
95
Result
User can evaluate the command results(including sub-results) using IfMatched/ElseMatched
command.
Result Value
Description
PD_RESULT_OK
Command succeeded
PD_RESULT_FAILED
Command failed. In this case corresponding sub
results for PD_SendPacket and
PD_ReceivePacket are valid also (depends on the
error type which has been occurred during sending
or receiving data).
PD_SUBRESULT_MSG_NOT_RECEIVED
Subresult - DISCOVERIDENTITY command not
received
PD_SUBRESULT_RESPONSE_NAK
Subresult - NAK has been sent as response
PD_SUBRESULT_RESPONSE_BUSY
Subresult - BUSY has been sent as response
Examples
call PD_WaitForDiscoverIdentity()
5.1.74 PD_SetDiscoverSVIDSetting
Applies settings to DiscoverSVID related commands in PD Exerciser. It must be called
before PD_DiscoverSvids or PD_WaitForDiscoverSvids or PD_PerformDiscoveryProcess or
PD_DelayAutoResponse commands to take effect.
Format
Call PD_SetDiscoverSVIDSetting( PD_DiscoverSvids_Settings $settings )
Parameters
$settings
Should be from PD_DiscoverSvids_Settings type. Table below shows the available fields of
PD_DiscoverSvids_Settings template:
Field Name
Description
DiscoverSvidsResponse
Indicates the response type. possible values are:
PD_DISCOVERSVIDS_ACK(default)
PD_DISCOVERSVIDS_BUSY
PD_DISCOVERSVIDS_NAK
WaitTimeout
Timeout(micro second) to wait for receiving Discover SVID
Command
Default: PD_DEFAULT_TIMEOUT_INFINIT
RetryCountOnWait
Indicates the retry count if Wait message received as
response.
Default: 4
RetryDelayOnWait
Indicates the retry delay time(micro second) if Wait
message received as response.
Default: 50000
Result
None
Examples
#Using default settings
$settings = PD_DiscoverSvids_Settings
call PD_SetDiscoverSVIDSetting( $settings )