Dynamic Enumeration List Variables

DIAdem 2018 Help


Edition Date: June 2018
Part Number: 370858P-01
View Product Info

DOWNLOAD (Windows Only)


DIAdem 2017 Help
DIAdem 2018 Help
DIAdem 2019 Help
DIAdem 2020 Help
DIAdem 2020 SP1 Help

Use the dynamic enumeration list variable to define one-dimensional or multi-dimensional selection lists. You define the dynamic enumeration lists in text files. Each line in the file is one selection term. If the selection list has several columns, use a comma to separate the terms in a line. For example, if you define a list of test objects for a gear box test rig, you can enter the gear box identification, the number of gears, and the maximum rpm in each line in the dynamic enumeration list file. When you select the gear box identification, the other gear box parameters are automatically available.

The names of the dynamic enumeration scalar variables are G1 ... G10. The scalar variables get their values from the dynamic enumeration list files G1Var.asc .... G10Var.asc. The dynamic enumeration vector variable is called GV. The elements in the GV vector variables get their values from the dynamic enumeration list file GVVar.asc. You always assign the contents of a row in the dynamic enumeration list to a scalar variable or to an element in the vector variable. The dynamic enumeration lists must be in the SCRIPT library folder. DIAdem displays the contents of the dynamic enumeration list files in a list field.

If no dynamic enumeration list file exists for a dynamic enumeration variable, you can assign any text to the variables. If the dynamic enumeration list file exists, DIAdem checks whether an assignment is valid.

WAS THIS ARTICLE HELPFUL?

Not Helpful