Prefix
Set the PIS prefix file name.Setting PIS log file prefix name. (also include Scrip File version, Owner, release date, Scrip File file name information.
 
Value1:
    Prefix Name  (SCOPE_LT)
Value2:
    Product Part Number (810-000033)
Value3:
    Scrip File (ini) Part Number and Information (700-000250 028,%V,%O,%D,%N,)
Value4: 
    Primary Dir.  Example:  ['&CSVPrimaryDrive'+"\bbb"] (will be obsolete )
Value5: 
    Secondary Dir. Example:['&CSVSecondaryDrive'+"\"] (will be obsolete )
 
If Value1=UNIONXML
Today's date: 2002 /12 /12
 
PC name:
if PC name's last 4 digits are hex code. it will direct to use on log file name last two combination.
For example: pc name is  xxxAB12  => &productionlineid is AB, &machineID=12
 
Log file, File name will be UNIONXML_021212_AB_12.CSV 
 
If PC name's last 4 digits are not hex code. ITTS will translate to hex code
For example: pc name is  QQQQwxyz
 
PIS_Production_Line="wx"
PIS_Machine ="yz"
    i := ABS(((ord(PIS_Production_Line[1]) - 64) * 10 + (ord(PIS_Production_Line[2]) - 64))) mod 256;
    PIS_Production_Line := inttohex(i, 2);
  i := ABS(((ord(PIS_Machine[1]) - 64) * 10 + (ord(PIS_Machine[2]) - 64))) mod 256;
  PIS_Machine := inttohex(i, 2);
 
PIS_Production_Line="FE"
PIS_Machine ="14"
 
Log file, File name will be UNIONXML_021212_FE_14.CSV 
 
 
Special Format for Value3:
if  Value3= "700-000250,INI Date:,%D,INI Owner:,%O, INI Name:,%N,"
 
PIS will save as:
781234-1123,INI Date:,2002/12/5 17:42,INI Owner:,Vincent Cheng, INI Name:,D:\data\delphi\myproj\mouse\bon-xp\gpib_dll.tpe,
Value4: ['&CSVPrimaryDrive'+"\bbb"]
Value5: ['&CSVSecondaryDrive'+"\"]
 
CSVPrimaryDrive & CSVSecondaryDrive setting on PIS Page
 
Those two parameter (CSVPrimaryDrive/CSVSecondaryDrive  )will save in ITTS.ini
 
Primary Dir. default value = c:\aaa
Secondary Dir. default value = c:\
Those two parameter will change and save to PIS.INI once prefix command setting another new value.
 
Those information will save in Log file title block.
 
Examples:
------------------------------ ----------------------- ------Example------
Section1        Prefix Prefix
Section2    
Command    
FailAction    
FieldName    
FieldNumber    
ErrorCode    
RetryTimes    
RetrySDelay(ms)    
Parameter:    
INI P/N   8xxXXX-00XX
INI P/N   780XXX-00XX,Ver:%V,Owner:%O,Date:%D,FileName:%N
Primary Dir    
Secondary Dir    
 
: the string which specify the prefix name of the pis file.

Copyright © 2020
IntretechTW. All Rights Reserved.