Professional Documents
Culture Documents
Q-DBM Database-Upload ENG XXX
Q-DBM Database-Upload ENG XXX
Database-Upload
(Translation)
© Copyright 2009
Tel.: ++49/6201/3941-0
Fax: ++49/6201/3941-24
E-Mail: q-das@q-das.de
Internet: http://www.q-das.de
Hotline:
Tel.: ++49/6201/3941-14
Fax: ++49/6201/3941-714
E-Mail: hotline@q-das.de
2 Q-DBM Database-Upload
Preface 3
Preface
Thank you for your trust in our software. This manual helps you to be-
come acquainted with the principal features of this software quickly.
More information is available in the online help and on our website
http://q-das.com under Download.
We wish you all the best in working with Q-DAS® products.
Note:
Q-DAS® offers product-related training classes. We would be pleased to
send you detailed information about training contents. Up-to-date infor-
mation and upcoming training classes are also available on http://q-
das.com/Seminars/Product_training.htm. Furthermore, we also offer
trainings at your facility. Please contact us and we will make you an indi-
vidual offer. For self-education, we recommend our statistical reference
books.
Limitation of Warranty
The manual is provided without warranty for the correctness of the con-
tents. In spite of great effort to avoid mistakes, we cannot eliminate all
errors. Hence, we appreciate any advice and suggestion if you come
across an error.
4 Q-DBM Database-Upload
Table of Contents 5
Table of Contents
Preface................................................................................................... 3
Rights and Warranty ............................................................................. 3
Table of Contents.................................................................................. 5
1 General............................................................................................. 7
2 Creating a new Upload-Client......................................................... 7
2.1 Configuration options............................................................... 9
2.1.1 Data source .............................................................. 10
2.1.2 Preselection.............................................................. 13
2.1.3 File treatment ........................................................... 14
2.1.4 Mode ........................................................................ 15
2.1.5 Search...................................................................... 16
2.1.6 Key fields.................................................................. 19
2.1.7 Reporting.................................................................. 21
2.2 Starting the Upload ................................................................ 24
3 Appendix........................................................................................ 25
3.1 Command line parameters for the Database-Upload ............. 25
4 Index............................................................................................... 26
6 Q-DBM Database-Upload
General 7
1 General
The “Database-Upload” tool needs to be installed on a computer that al-
so has qs-STAT installed. The Upload-program automatically establishes
a database connection after launching the Upload-program. The Data-
base-Upload allows a multitude of configuration settings, as described in
the following chapters. Even a one-time upload of a dataset should be
performed with the Upload-program in order to guarantee maximum data
security.
• “New Upload“
You can create additional “Uploads” with this function.
• “Rename“
The name of an Upload can be changed with this function.
• “Save“
With this function, all current inputs and settings for the complete
Upload are saved.
• “Delete“
The complete Upload is deleted with this function.
• “Add client”
This function is used for creating or adding a new “Client” to an
“Upload”.
• “Delete client”
This deletes the marked “Client” from the “Upload”.
• “Lock console”
All sub-items of the Client can be locked with this function. In this
case, the user only has the option left to select Upload and Client in
order to upload to the database. Modifications of the settings are
no longer possible. If a password has been set with the “Edit pass-
word”-function, it is required to enter this password for locking as
well as unlocking the console.
• “Edit password”
If a password has not yet been set, it can be entered with this func-
tion. If a password already exists, it will be requested after calling
up this function and can be replaced by a new one later on.
Creating a new Upload-Client 9
• “Log file”
As an option, a log file can be generated automatically for trouble-
shooting. The sub-menu allows determining the target directory for
the log file as well as the size and duration of storage for the indi-
vidual records.
• “Data source“
• “File treatment“
• “Mode“
• “Search“
• “key fields“
• “Reporting“
10 Q-DBM Database-Upload
The basic settings for the source data that shall be uploaded to the data-
base have to be set here.
To select files or directories for the upload or to delete them from a se-
lection, use these buttons or click on the button next to the Direc-
tory / File field.
“PROTO“-directory mode
Some gages, such as Marposs gages, for example, write the output files
in a “Proto-directory structure”. In this structure, the DFD-files are located
in a certain directory and the associated DFX-files are saved to a sub-
directory. This structure has been implemented for downwards compati-
bility reasons. With this option checked, the Upload program can apply
the data structure to the data set and handle files in such a structure.
“Exponential mode“
This option has to be checked if you want to upload datasets that have
been saved in a ...01.dfd, ...01.dfx, ...02.dfx, etc. - file structure.
Example:
00000001.DFD {First-time parameterization of the device}
00000001.DFX {measurement values of the first part measurement}
00000002.DFX {measurement values of the second part measurement}
00000003.DFX {measurement values of the third part measurement}
:
00000087.DFX {measurement values of the 87. part measurement}
00000088.DFD {New DFD-file due to a modification of the header data}
00000088.DFX {measurement values of the first part measurement with the
new header data (88. part measurement of the device in
total)}
00000089.DFX
“Database connection“
Here you can select the database to which the data shall be uploaded. If
no settings have been made here, the data will be uploaded to the data-
base that is being used by qs-STAT. In this case, all settings that have
been made with the “Choose connection” button for the “Q-DAS Data-
base” under the menu-item “Options / System settings / Databases” will
be used for the Upload program as well.
2.1.2 Preselection
Using the preselection, you can determine that the Upload Client will only
take into account datasets containing certain parts / characteristics /
measurement value information.
14 Q-DBM Database-Upload
The datasets have to meet certain criteria. Define these criteria in the
Conditions for parts data, Conditions for characteristics data and Condi-
tions for value data tab.
Select for each tab, if there shall be an AND / OR logical instruction for
these conditions and if the entries are case-sensitive.
There is an AND logical instruction for the selection criteria of every sin-
gle tab.
In this window, you can define what the program shall do with the single
data sets after the upload. In general, three cases have to be considered
for these settings:
For the first two cases, the file treatment options “Keep”, “Delete” or
“Move” are available. You can decide whether the associated DFD-file
with the header data (parts- and characteristics data) shall be treated in
the same way as the DFX-value file with the “incl. header data” selection
item. If this option is not activated, the “Keep”-function will be used for
the corresponding DFD-file.
If you selected the “Move”-option, you will have to define a “Backup di-
rectory” for “Uploaded files” and an “Error directory” for “Defective files”.
The files are moved to the appropriate directory after the upload cycle.
Creating a new Upload-Client 15
Remark:
Please consider your settings under the “Search”-tab (see chapter 2.1.5)
when choosing which “Keep”, “Delete” or “Move” function you want to
use in order to avoid duplications of parts, characteristics or values.
In most cases, the “Keep” function for “Uploaded file” can only be rec-
ommended for a test run.
2.1.4 Mode
The “manual Database-Upload” is included with the purchase of the Da-
tabase option. If you purchased the “automatic Database-Upload” in ad-
dition, you can configure it in the “Mode” window. In this case, the follow-
ing setting options are available:
“manual”
The Upload is performed as a (manual) one-time run.
“automatic”
The Upload is performed in cycles depending on the following settings:
“Upload-Child deactive”
Select this option and the currently used client will not run when starting
the upload. Choose this option if you have set up the client for testing
purposes only.
“Use timer”
16 Q-DBM Database-Upload
2.1.5 Search
Here, you can determine how the data shall be treated if the data in the
“key fields” (chapter 2.1.6) are identical to already existing entries in the
database.
Creating a new Upload-Client 17
“Parts data“
“always append part”
If this function is activated, all newly uploaded data sets create a new en-
try in the database. With this, it is possible that the same part has multi-
ple entries in the database.
“modify existing part”
If the Upload finds a matching, already existing entry in the database for
the part that is being uploaded (according to the “key-fields”, see chapter
2.1.6), the existing part-entry in the database will be updated to the new-
est data (default-setting).
“New parts not allowed”
New parts will be rejected. An entry in the log file will be created and the
source file will be treated as an error file.
“Consider master inspection plan”
Select this option to use the active fields under Key fields (see chapter
2.1.6) for test plans.
“ISR data”
“Overwrite ISR data”
Updated data of the Initial Sample Report are overwritten in the data-
base. This is only recommended if the file to be uploaded does already
contain the ISR-data.
“Do not overwrite ISR data”
Updated data of the Initial Sample Report will not be overwritten in the
database,
18 Q-DBM Database-Upload
“characteristics data”
“always append characteristic”
If this item is activated, all characteristics of the incoming file will be ap-
pended to the existing part. The characteristic list of this part will be in-
creased by the number of the uploaded characteristics. The new charac-
teristics are appended at the end of the existing characteristics list.
New characteristics are always appended at end of the already ex-
isting characteristic list.
“Modify existing characteristic”
If the program realizes due to the key fields that the loaded characteristic
already exists in the database, the new information is added to the exist-
ing characteristic (default settings).
“Creation of additional characteristic in the master inspection plan
allowed”
Select this option to add further characteristics to an already existing test
plan. If you do not enable this option, datasets containing new character-
istics are treated as erroneous files.
“Values”
The value level is the lowest database level. That is why the selection
only works when selecting Modify existing part and Modify existing char-
acteristic.
“Always append values”
The filed measurement values are appended to the existing values of the
respective characteristics.
“Overwrite values”
The existing measurement values of the characteristics stored in the da-
tabase are replaced by the measurement values stored in the dataset.
Creating a new Upload-Client 19
upload program realizes that the part / characteristic does already exist
in the database. In this case, the upload runs according to the Search
settings. Click on the Parts field / Characteristics field button to add fur-
ther fields. These fields are used to check if the contents match. Tap the
<DEL> key to delete fields but at least one field must be left.
“Takeover”
Use these fields to transfer information to additional data fields at the
measurement value level, for example information stored in parts
/characteristics fields by measuring devices. Use drag and drop func-
tionalities to enter the selected parts / characteristics field in the input
field on the right. During the upload, the information in the left input field
is saved in the selected value field (right input field). The same way, you
can transfer parts data at the characteristics level.
Note: Always both input fields (the left and the corresponding right
field) have to be filled in. First you have to select a target field
on the right and then you can enter an additional field on the
left.
“Fields blocked for overwriting”
Under Fields blocked for overwriting, you can grant exceptions of the
Search settings.
For example, if a recording system does not provide all the required in-
formation, it has to be added to the database later on. Select this option
to keep this information from being overwritten by the upload.
“Amendment fields”
Add fields, such as nominal, upper and lower specification limit, that help
to identify changes. If you change these fields, a new part is created. The
Part amendment status K field (K1004) counts up automatically accord-
ing to the Number of digits amendment status settings. The new part
amendment state is saved automatically.
Creating a new Upload-Client 21
2.1.7 Reporting
When you use the Q-DAS® Upload Reporting System or MCA/CMM Re-
porting, adjust the settings in this mask. This mask does not contain any
settings for the Q-DAS® Database Upload.
Reporting support
Check this box if you want to use the Q-DAS® Reporting System.
Support for CMM Reporting
Enable this checkbox and the defined upload for the O-QIS MCA / CMM
Reporting is available in the program surface.
• “Max. no. of values in DB”
Here you can define the maximum number of values per character-
istic that will be saved to the (local) database. If the maximum num-
ber of values is exceeded, the oldest value of this characteristic is
deleted from the database.
The default setting is “0”. In this special case, all values will be kept.
22 Q-DBM Database-Upload
Errors during the upload process are documented and described in the
lower part of the Upload window.
Appendix 25
3 Appendix
3.1 Command line parameters for the Database-
Upload
The following parameters can be passed over at the program start to be
able to start the Upload program without manual interference (for exam-
ple by a batch):
-U="Upload Name" or
-UPLOAD="Upload Name"
This parameter calls up the name of the to be loaded Upload-client after
the program launch. An Upload-client with this name has to exist already.
-S=1 or
-START=1
The parameter “S“ (or START) with a magnitude of 1 has the effect that
the Upload-client is started automatically after launching the Upload pro-
gram and loading the Upload-client.
-S=2 or
-START=2
The parameter value of 2 has the effect that the Upload program closes
itself after stopping the last Upload-client. This assumes that all clients
use the manual mode.
-S=3 or
-START=3
The parameter value of 3 can be understood as a combination of pa-
rameter values 1 and 2.
4 Index
Max. No. of unconfirmed alarms ·
A 22
Mode · 15
Add client · 8
N
C
New-Upload · 7
central upload directory · 22
Command line parameters · 25 P
Configuration options · 9
Password · 8
D Preselection · 13
Data source · 10 R
Delete · 8
Delete client · 8 Rename · 8
Reporting · 21
F Reporting – Max. no. of values ·
21
File treatment · 14
S
G
Save · 8
General · 7 Search · 16
Search – characteristic data · 18
K Search - ISR data · 17
Search – Parts data · 17
Key fields · 19 Search - values · 18
Starting the Upload · 24
L
U
Lock console · 8
Log-File · 9 Upload
Start · 24
M Upload-Settings · 7