:Revision=1
:html
<<
128.148
PDI - Process Database and Interlocking|PDI
--
>>

<<
128.148.1
Functions of the PDI object|Functions
--
>>

<<
128.148.1.1
PDI.IsActive|IsActive
--
<!DEF>
function <!TW>PDI.IsActive : real;
<!TXT>
Returns <!RW>TRUE, if the PDI DLL is loaded.
>>
<<
128.148.1.2
PDI.Start|Start
--
<!DEF>
function <!TW>PDI.Start : real;
<!TXT>
Initialises the PDI system for a new DUT. Calls internally this PDI routines
PDI_InitStandardRbg01
PDI_Reset_StandardRbg01
PDI_Test_StandardRbg01
with the respective parameters.
The barcode of the DUT has to be set before as it is used as serial number for the PDI.

Return values:
<!STBL>
<!c>1<!>Error in PDI_Init.. or PDI_Reset..<!>
<!c>2<!>Error in PDI_Test.. device shall not be tested<!>
<!c>3<!>No error device can be tested<!>
<!ETBL>

If the basic setup selects the automatic execution of the PDI start sequence, this command should not be called. The PDI commands are done automatically and the test is canceled, if a problem has been detected.

This command allows it to switch off the automatic handling in the basic setup and do the PDI request in a real test step to produce a test result.
>>
<<
128.148.2
Procedures of the PDI object|Procedures
--
>>

<<
128.148.2.1
PDI.Parameter.Clear|Parameter.Clear
--
<!DEF>
procedure <!TW>PDI.Parameter.Clear;
<!TXT>
Clears the internal list of parameter names and values.
>>

<<
128.148.2.2
PDI.Parameter.Set|Parameter.Set
--
<!DEF>
procedure <!TW>PDI.Parameter.Set (sName, sValue);
<!TXT>
Defines a new parameter to be sent to the PDI system on end of test or changes the value of an already existing parameter.

At the end of the test all parameter names and values will be transmitted to the PDI system using the PDI_SetParam function.

If a parameter name is used twice, the new value just overrides the old value.
>>
