NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Filling the Description Line of a Custom StepType with Variables

How can I configure the Step Type Description in such a way that the Description is updated immediately after editing the two variables I want to display?

What I have entered in the Step Description Expression:
"Channel: " + Str(Step.Parameters.Channel) + "; Value: " + Str(Step.Parameters.ValueToWrite)

I have an Edit SubStep to change the values of Step.Parameters.Channel and Step.Parameters.ValueToWrite. When I close the Edit Dialog, the Step Description isn't updated until I insert a new step for example.
How can I change this?
0 Kudos
Message 1 of 3
(3,001 Views)
Steffen -
The sequence editor does not know to refresh its display unless the file's change count increments. Specifically, whenever a tool, step or dialog edits any part of a file, it should call PropertyObjectFile.IncChangeCount.
Scott Richardson
https://testeract.com
0 Kudos
Message 2 of 3
(2,995 Views)
Hi Scott,

just wanted to thank you for the quick response. That was the "tip of the day"! Now it works as desired.

Steffen
0 Kudos
Message 3 of 3
(2,984 Views)