Many Cyflex editor applications want to validate variable (label) names that you may specify. An example is the editor which deals with limit specifications (limit_specs). You should only be able to enter limits for existing variables.
However this goal presents a problem. Not all variables will necessarily be defined at the time you want to enter data, for example, limit specifications. The spec file editors have several features to address this issue.
When a spec file editor starts up, if it sees that it is being run on a Cyflex system and if it sees that Cyflex is running, it will run the Cyflex program dump_labels. This program displays all the variables that are currently defined in the running Cyflex system. The program will take this information and use it to provide you with variables that you may select when setting limits.
If the program sees that it is not being run on a Cyflex system or if it sees that Cyflex is not running, it will try to read a default dump_labels file, /specs.testcell/dump_labels.dat.
All spec file editor programs also have menu bar options
Edit -> Run dump_labels
and
Edit -> Read dump_labels file ...
.
The Run dump_labels option only appears if the editor is running on
a Cyflex system.
You might want to run dump_labels if Cyflex has been started since you
started running the editor or if tasks have been run, for example
gen_labels, which have created new variables.
You might want to read a dump_labels file is you have different files
for different situations.
In addition the spec file editor programs accept a command line
option, -dump_labels.
This option allows you to specify a dump_labels file that the program
will read at start-up.
This option should be followed by a spec and a dump_labels file name.
In this case the program does not follow the
automatic steps given above. That is it will not try to run
dump_labels and it will not try to read a default dump_labels file.
For example:
specfilegui limit_specs -dump_labels MyFile.dat
To create a dump_labels file for your own use, enter the command:
You may then edit this file and add or remove variables to suit your
needs.
dump_labels > MyFile.dat