Si Stat 3 Win e
Si Stat 3 Win e
Service Information
Table of Contents
1 Table of Contents
1 Table of Contents ............................................................... 2
2 Introduction......................................................................... 3
2.1 Add-Ons ....................................................................................... 3
2.2 Output into ASCII file................................................................... 3
3 Settings in STP3STAT.INI .................................................. 4
4 Specification 0 .................................................................... 6
5 Specification 1 .................................................................... 6
6 Specification 2 .................................................................... 6
7 Specification 3 .................................................................... 6
7.1 Description of INI file:.................................................................. 6
7.2 Example of an ASCII File............................................................. 8
8 Specification 4 .................................................................. 10
9 Specification 5 .................................................................. 10
9.1 Description of INI file................................................................. 11
9.2 Example of an ASCII file created in FORMPAK....................... 14
10 Specification 6 ................................................................ 15
10.1 Description of INI file:................................................................ 16
10.2 Examples for ASCII files ........................................................... 18
10.2.1 Example file 1.................................................................................... 18
10.2.2 Example file 2.................................................................................... 18
Necessary changes in the UNIV2.INI files .................................................... 18
11 Specification 7 ................................................................ 19
11.1 Example INI file .......................................................................... 21
11.2 Example file from PC-Dmis ....................................................... 24
2 v2.3 22.07.03
Introduction
2 Introduction
2.1 Add-Ons
We have added to the STP3STAT Converter some input formats. In most cases,
the user can configure these formats. This is done in the corresponding *.INI-
Files. In order to be able to read in other input formats, some settings in the
STP3STAT.INI file must be changed.
These input formats concern essentially files that are created for example by
Formpak, Roundpak and Surfpak as CSV files. The files are transmitted to
STATPAK-Win or directly into the statistics file.
Possible specifics : 0, 3, 4, 5, 6, 7
22.07.03 v2.3 3
Settings in STP3STAT.INI
3 Settings in STP3STAT.INI
[Import]
Path=..\sta3data Directory in which are the files for the
converter
Extension=*.* Directory in which are the files for the
converter
TempDir=..\sta3err\ Directory, in which error files are copied
WaitTime=5000 Wait time in automatic mode
FileSpec=6 Specification of input format. Valid for:
0, 3, 4, 5, 6
;Name=UNIV2.INI Filename of specification; only read in for
This input is not specifics 3, 5, 6 3:
imperatively
Filename specification 3: CADAR.INI
required; therefore
Filename specification 5: UNIVERS.INI
commented;
Filename specification 6: UNIV2.INI
[Statistics]
CommTyp=0
Specification of
communication. Valid for:
0, 2, 3
CommTyp 0 Transmission to STATPAK-Win,
STATPAK-Win is started
CommTyp 2 Output in ASCII file
CommTyp 3 Directly in statistics file
;AsciiIniFile=..\INI\STP3QS.INI File name, in which is the
(input only if CommTyp=2, corresponding section for the
therefore commented; ) ASCII output.
;AsciiSection=DFD Section name of output format
(input only if CommTyp=2,
therefore commented; )
4 v2.3 22.07.03
Settings in STP3STAT.INI
[Users]
WaitTime=5000 Wait time for the communication between
PARTMANAGER-Win and STATPAK-Win
HelpDialog=1 Dialogue is displayed
[Debug]
Debug=0 STP3ASC file is created in the temp
directory
[Main]
OemToAnsi=0: Only valid for specification 0.
DOS character set is changed OemToAnsi=0
in Windows character set
File is created in the Windows OemToAnsi=1
character set
DelFile=1
Delete transcribed files DelFile=1
Not delete transcribed files DelFile=0
CutFeatName=0
You always take 20 CutFeatName=0
characters for the feature
name
The feature name will be cut CutFeatName=1
when the seperator (,) is
found.
[Format]
Tabchar=44
Valid for specification 4 ASCII code of disconnection
Fixchar=46
Valid for Specification 4 ASCII code of decimal character
22.07.03 v2.3 5
Specification 0
4 Specification 0
Files, that corresponds to our NPA and TRF format.
See corresponding reports such as for example
"ASCII File Specification to Create COSMOS Parts" and
"Features for Statistics (NPA)"
5 Specification 1
Not available at the moment.
6 Specification 2
Not available at the moment.
7 Specification 3
In this specification, only a feature definition is possible. In each line is searched
for a keyword and is correspondingly transcribed. In each line, you only have one
keyword.
The default INI file belonging to it is called CADAR.INI. This file is built as follows:
6 v2.3 22.07.03
Specification 3
[Program]
FixPoint=2
General number of digits after the comma 2
SampleSize=1
General sample size 1
22.07.03 v2.3 7
Specification 3
8 v2.3 22.07.03
Specification 3
FEATURE NO = 6
TARGET VALUE = 114.35
UPPER TOLERANCE = 115.49
LOWER TOLERANCE = 113.21
NEXT
----- FEATURE NAME = "1-8 145.00 OHMS"
FEATURE NO = 7
TARGET VALUE = 145
UPPER TOLERANCE = 146.45
LOWER TOLERANCE = 143.55
NEXT
----- FEATURE NAME = "1-9 151.00 OHMS"
FEATURE NO = 8
TARGET VALUE = 151
UPPER TOLERANCE = 152.51
LOWER TOLERANCE = 149.49
NEXT
----- FEATURE NAME = "1-10 160.00 OHMS"
FEATURE NO = 9
TARGET VALUE = 160
UPPER TOLERANCE = 161.6
LOWER TOLERANCE = 158.4
NEXT
end
22.07.03 v2.3 9
Specification 4
8 Specification 4
Files in data format corresponding to SURFPAK Data Converter.
See corresponding reports, e.g. of
QVPAK / QSPAK data to STATPAK-Win
9 Specification 5
The ASCII file that must be read in must be according to the following criteria:
The line contains a keyword:
"Part Name";"New Part Name"
or
a separator divides the line into field positions:
"Feature1"; 10.000; 1.0; -1.0; 10.234; "12.09.00 13:40:33"; "OK“
With this specification, you can create features out of the ASCII file, and
measurement data can be transmitted.
In each line is searched for a keyword or a field position. Lines containing a
corresponding keyword out of the Main section are transcribed. Lines that do not
have a keyword are searched for field positions. You must indicate in the
Fieldpos. section if the line is supposed to be transcribed.
[Fieldpos]
Valid=13,"OK","NG-","NG+"
The default INI file belonging to it is called UNIVERS.INI. This file is built as
follows:
10 v2.3 22.07.03
Specification 5
[Default]
SampleSize=1
General sample size 1
TextDelim="
Character strings begin and end
;FixPoint=4
(This input is not imperatively required; therefore commented;)
General number of digits after the comma 4.
[Date]
DateTime="Date/Time";
After the keyword follows the date and time
;Date="Date";
After the keyword follows the date
;Time="Time";
After the keyword follows the time
Day=/,1,L
After the first that has been found / the day is on the left
Month=/,2,L
After the second that has been found / the month is on the left
Year=/,2,R
22.07.03 v2.3 11
Specification 5
After the second that has been found / the year is on the right
Hour=:,1,L
After the first that has been found : the hour is on the left
Min=:,2,L
After the second that has been found : the minutes are on the left
Sec=:,2,R
After the second that has been found : the seconds are on the right
PM=PM
For the hour that has been found, you must add 12
[Fieldpos]
Valid=13,"OK","NG-","NG+"
Valid lines contain at the field position 13 the indicated character strings
FeatName=2:2:R,-,3:15:L
The feature name is composed of field position 2, the first 2 signs from the
right, - and 15 signs of field position 3 from the left
Nom=7
The nominal value is at field position 7
UT=9
The upper tolerance is at field position 9
LT=10
The lower tolerance is at field position 10
;USL=
The upper specification limit is at field position
;LSL=
The lower specification limit is at field position
Unit=14
The unit is at field position 14
Act=5
The measured value is at field position 5
;Sublot=
The sublot is at field position
;Marker=
The marker is at field position
DateTime=15
Date and time are at the field position 15
;Date=
The date is at field position
;Time=
12 v2.3 22.07.03
Specification 5
22.07.03 v2.3 13
Specification 5
14 v2.3 22.07.03
Specification 6
10 Specification 6
The ASCII file, that must be read in must be according to the following criteria:
A line contains, divided through a separator into fields, all information of all
features. In the first line, the feature names must be indicated.
;;;;Outside diameter;inside diameter;distance;length;width
Lines containing measurement data should be built as follows or similarly:
12.8.98;13:08;Hans Mustermann;;28,555;24,680;8,424;
32,02;18,675
For creating parts and new features see section FeatureDef. In this section, the
line numbers with the corresponding information are registered. This way, it is
possible to read in files of STAT_DB created for Excel (see example 1).
The default INI file belonging to it is called UNIV2.INI. This file is built as follows:
22.07.03 v2.3 15
Specification 6
[FeatureDef]
Nom=2
This line contains all nominal values
UT=3
This line contains all upper tolerance limits
LT=4
This line contains all lower tolerance limits
;USL=
This line contains all upper specification limits
;LSL=
This line contains all lower specification limits
;Unit=
This line contains all units
FixPoint=
This line contains all digits after the comma
SampleSize=
16 v2.3 22.07.03
Specification 6
22.07.03 v2.3 17
Specification 6
18 v2.3 22.07.03
Specification 7
11 Specification 7
The converter reads files from e. g. PC-Dmis. Data in valid lines are found
through fixed positions or through keywords. The fixed positions and the
keywords must be defined in a file. The default name of this file is POSITION.INI.
The ASCII file that must be read in must follow the following criteria:
Either the line contains a keyword:
"Part Name";"New Part Name"
or
the line containes specified characters at a fixed position:
or
the line containes values for nominal, upper and lower tol. at fixed positions:
J 24.34 24.00 0.70 0.40
123456789012345678901234567890123456789012345678901234567890123456789012345
1 2 3 4 5 6 7
22.07.03 v2.3 19
Specification 7
With this specification, you can create features out of the ASCII file, and
measurement data can be transmitted.
A line is evaluated in the following order:
Search for a keyword that is specified in the ”Main” section. If one is found, the
line can be transcribed, otherwise
Search for characters at fixed positions that are specified as follows:
[Fieldpos]
Valid=15:16,M,X,Z,D,Y,A,TP
(Meaning: search for M or X or Z or D or Y or A at position 15 in the line, and
search for TP at position 15 and 16 in the line)
If one of these characters are found, the line can be transcribed.
If the variable “Valid” is not specified, the program searches for nominal, upper,
and lower tol. at fixed positions, specified as follows:
[Fieldpos]
Nom=18:22
UT=26:29
LT=33:36,Mul-1
(Meaning: search for a value at position 18 to 22, and search for a value at
position 26 to 29 and search for a value at position 33 to 36. All values must
exist!)
If all values are found, the line can be transcribed, otherwise it is not a valid line,
and the next line is read.
20 v2.3 22.07.03
Specification 7
[Default]
SampleSize=1
General sample size 1
;FixPoint=4
(This input is not imperatively required; therefore commented;)
General number of digits after the comma 4.
[Date]
DateTime="Date/Time";
After the keyword follows the date and time
;Date="Date";
After the keyword follows the date
;Time="Time";
After the keyword follows the time
Day=/,1,L
After the first that has been found / the day is on the left
Month=/,2,L
After the second that has been found / the month is on the left
Year=/,2,R
After the second that has been found / the year is on the right
Hour=:,1,L
After the first that has been found : the hour is on the left
Min=:,2,L
22.07.03 v2.3 21
Specification 7
After the second that has been found : the minutes are on the left
Sec=:,2,R
After the second that has been found : the seconds are on the right
PM=PM
For the hour that has been found, you must add 12
[Fieldpos]
Valid=15:16,M,X,Z,D,Y,A,TP
Valid lines contain at the string position 15 to 16 the indicated character strings
FeatName=2:12,-,16:20
The feature name is composed of string position 2 to 12, then a "-" is added, then
string positions 16 to 20 are added.
Nom=32:44
The nominal value is at string position 32 to 44
UT=58:69
The upper tolerance is at string position 58 to 69
LT=45:57,Mul-1
The lower tolerance is at string position 45 to 57, multiplied with -1
Valid for: Add, Sub, Mul, Div
;USL=
The upper specification limit is at string position
;LSL=
The lower specification limit is at string position
Unit=18:20
The unit is at string position 18 to 20
Act=20:29
The measured value is at string position 20 to 29
;Sublot=
The sublot is at string position
;Marker=
The marker is at string position
DateTime=73:82
Date and time are at string position 73 to 82
;Date=
The date is at string position
;Time=
The time is at string position
22 v2.3 22.07.03
Specification 7
Day=.,1,L
After the first that has been found . the day is on the left
Month=.,2,L
After the second that has been found . the month is on the left
Year=.,2,R
After the second that has been found . the year is on the right
Hour=:,1,L
After the first that has been found : the hour is on the left
Min=:,2,L
After the second that has been found : the minutes are on the left
Sec=:,2,R
After the second that has been found : the seconds are on the right
;PM=
For the hour that has been found, you must add 12
;FixPoint=
The number of digits after the comma is at string position
;SampleSize=
The sample size is at string position
[Special]
Valid=15:16,TP
After a line that contains at the string position (15 to 16) the indicated character
strings (TP) the following is valid:
The upper tolerance, that is contained in this line is valid for all following
tolerances if the upper tolerance is 0.00.
22.07.03 v2.3 23
Specification 7
24 v2.3 22.07.03