Page 1 of 1

Compare Variable value to Value set of Parameter set

Posted: Wed Jan 04, 2012 1:44 pm
by manishmaheshwari2608
Hi All

I need one help .

I have to compare the value of a variable in sequencer to pick the value from the parameter set based on that value.

For example: if the variable has value "Football" then I have to pick the values from the valueset having the value "Football"

How to achieve this scenario.

Please help

Posted: Thu Jan 05, 2012 8:00 am
by nagarjuna
It's not clear ..Please explain in detail ..What do you mean by value set ? Is it value file in parameter set ??

Posted: Thu Jan 05, 2012 10:41 am
by jwiles
The valueset is just a text file with lines of the format:

parameter=value

The file is located in the Projects directory: projectname/ParameterSets/parametersetname/valuesetname

Knowing the names of the parameterset and valueset, you can examine the text file for the values and extract the parameter names. grep or a BASIC routine can easily perform the search.

Regards,