NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Teststep Decription shows wrong values until i open tree-view

Hello,
i´m using TS 3.5 and LV 8.2.1
I have a simple numeric-teststep with labview-adapter.

In the teststep-filetype i added a container called "data" which contains one numeric-value called: "num"

The labview-vi that i call changes via active-x the value of this parameter "Step.data.num".

When i open the tree-view on the left side then i see, that this worked, because the value has changed.

Now the problem:
In sequence-filetypes i opened properties of my teststep and in the tab "Default Expression" i changed the "Status Expression".
Normally it shows only the step-name, but i added to show also the value of "Step.data.num".
This was done by just adding the text: ==> +" " + "num: "+Str(Step.data.num)

But when i run the teststep and i know that the value has changed the description stays on the old value what it was before running the step.
But when i open the tree-view and see that the value is really there and go back to see the description, then the description is  also correct,

So the question is: What do i have to do to update the decription that it displays the correct value at once?

Thanks for any hint, tip or help.
0 Kudos
Message 1 of 8
(4,857 Views)
Hello,
it´s a little bit difficult to understand what you are doing. So perhaps it´s possible for you to attach a minimzed VI and a minimzed sequence where we can see what you´re question is.
Thanks,
Rebecca Fox
Applications Engineer
National Instruments
Message 2 of 8
(4,828 Views)

Hi OnlyOne,

Do you increment the SequenceFile Change Count to indicate that you have change the sequence file?

Regards

Ray Farmer

Regards
Ray Farmer
Message 3 of 8
(4,823 Views)
Hello Ray,
i never heard of this ChangeCount... Where do i set this value?
And, your´re right: the sequence doesn´t show a "*" to indicate that there was a change.

Message Edited by OnlyOne on 05-11-2007 02:52 AM

0 Kudos
Message 4 of 8
(4,815 Views)

Hi,

You can use the TS API Property method SequenceFile.ChangeCount to get the count value, increment it and then set it back.

Hope this helps

Regards

Ray

Regards
Ray Farmer
Message 5 of 8
(4,806 Views)
I found the property but it is only for read, i cant change it to write.
0 Kudos
Message 6 of 8
(4,803 Views)
Hello again,
i found the property:
Its hidden under
SequenceContext -> SelectedPropertyObjectFile -> IncChangeCount

Now it word perfect with updating the description after the values are changed with Active-X.

Thanks for this great help
Message 7 of 8
(4,797 Views)

Hi Ray and OnlyOne,

 

Thanks for pointing out!

 

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 8 of 8
(4,310 Views)