Software Interface Manual

o Initialize a USB 3.0 device into loopback using the handshake with timeout and warm reset
mode, and "Disconnect Support" options,and count errors using the devices internal error counter
LCPeRT_ConnectToDUTWithOptions(session, LCPERT_INIT_MODE_LOOPBACK,
LCPERT_INIT_OPTION_USB3_WITH_TIMEOUT,
LCPERT_INIT_COUNT_INTERNAL_DUT_COUNTER, "USB 3.0 Disconnect Support")
o Initialize a PCIE device in blind mode
LCPeRT_ConnectToDUTWithOptions(session, LCPERT_INIT_MODE_LOOPBACK,
LCPERT_INIT_OPTION_PCIE_BLIND, LCPERT_INIT_COUNT_BIT_ERRORS,
NULL)
Note: Only specific combinations of InitMode / InitOption / CountMode and CustomSequence are valid.
The PeRT user interface displays the supported combinations for each protocol. Calling
LCPeRT_ConnectToDUTWithOptions with an unsupported combination of options is not valid and may
result in unpredictable behavior.
What does LCPeRT_Abort() do?
LCPeRT_Abort() immediately terminates any long running operation (leaving the PeRT
3
in an undefined
state) and closes the session. You must re-initialize the session in order to place the PeRT
3
into a known
state.
What does LCPeRT_RunTestScript() do?
LCPeRT_RunTestScript() runs a predefined script. The function does not return until the script
completes.
What does LCPeRT_ ConfigurePeRT () do?
LCPeRT_ ConfigurePeRT() configures the PeRT
3
.
o ProtocolName is one of: "SAS", "SATA", "PCIe", "USB3", "CUSTOM" (not case sensitive)
o Speed is in MHz
o ClockOutDivider should be 1 or between 8 and 511
Example:
LCPeRT_ConfigurePeRT(session, "PCIe", 1, 5000, 20, false);
NOTE: This function may take several minutes to complete. Protocol changes make require logic to be
reloaded, and setting clock rates can require re-synchronizing the hardware.
What is RepCapIdentifier?
The RepCapIdentifier is a channel identifier for this driver. Per the IVI spec, you would get the
RepCapIdentifier by calling:
LCPeRT_GetChannelName(ViSession Vi, ViInt32 Index, ViInt32 NameBufferSize, ViChar
Name[])
Index is the channel number (1 thru 4)
Name is a character buffer you pass in that the result will be stored in
NameBufferSize is the size of the buffer that you are passing in
In this case, you need to pass in a buffer that's at least 4 bytes long. Channel identifiers are "CH1"
"CH2" "CH3" and "CH4".