06-22-2011 04:09 AM - edited 06-22-2011 04:11 AM
Hello,
I last posted a message that I wanted to display a string in the description column.
Step.StepType.DescriptionExpr ="Step.Result.String"
This worked!
Now I made a 'Do While' loop.
Here I measure a voltage and the conditions are that the loop maybe left when it measures.
Locals.TestVoltage >0.1
When measuring I always want to update the measured value so I declared 'Locals.TestVoltage'.
And in the Post-Expression: I entered:
Step.StepType.DescriptionExpr ="Locals.TestVoltage"
After this action whenever I do a 'NumericLimitTest" I get the value "Locals.TestVoltage" printed in the description column.
So somehow I set some ini parameter of teststand and how do I set this back? Maybe I did not do it right like I just described.
Also I get the screenshot below when I load the sequence file:
06-22-2011 06:59 AM
You mentioned NumericLimitValue but the error refers to the StringValueTest, are you sure you are referring to the correct error?
06-22-2011 10:50 AM
Why are you modifying the step type description setting dynamically? That is intended to be a setting written by the step type developer, not something you modify at runtime. If you want to create a custom column displaying something different than the step type's description, I recommend you change the Step List Configuration instead and create a new column that displays the things you want.
Hope this helps,
-Doug
06-24-2011 03:49 AM
I have made an extra colum with the Cation "_TESTVALUE", I kept the looks the same as the other names in the list.
But when writing a string or number to it, I get an error.
Step.StepType._TESTVALUE = "Locals.test"
gr,
06-24-2011 09:43 AM
@darkxceed wrote:
I have made an extra colum with the Cation "_TESTVALUE", I kept the looks the same as the other names in the list.
But when writing a string or number to it, I get an error.
Step.StepType._TESTVALUE = "Locals.test"
gr,
I didn't mean adding another property to the step type. I meant adding another column to the step list in the UI or sequence editor. What exactly are you trying to do? Is this your own custom step type or are you modifying one of the built-in ones?
-Doug