NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Values don't change in Step type unless VI that writes the value is open

I have a step type that I wrote in LV 7.1 and using in TS 3.5.  I load the values from the step and populate my VI with the values using the "Edit Step".  At runtime I call the same VI.  I have a subvi that I call my variable manager that reads and writes the values from the step.  I pass all the values via a cluster.  I tried using a strict typed cluster but removed the strict type because I thought it was contributing.  When my variable manager front panel is open everything works fine along with the top level VI.  But when the subvi is not open but loaded the values from the step value aren't loaded.  
 
Has any one experienced this phenomenon?  Any ideas or advice?
 
Thanks
0 Kudos
Message 1 of 5
(3,706 Views)

Dear Friend,

Can you explain your problem in different way and make it simple. It is hard to understand your question

 

0 Kudos
Message 2 of 5
(3,702 Views)
I didn't understand it at first either.  Actually I figured out the problem!  When I added a variable to the variable cluster and thus changing my variable manager I would copy the cluster onto the input and the ouput of the VI.  For some reason when the VI was loaded but not visible, my property node referencing the input would get confused and write the variables to the output cluster.  Before exiting the VI I would write the values from the input to the output, thus overwriting the variabled I retrieved from TS.  When the subvi was open there were more robust handling of references so it would work.
 
The only thing that I can explain as to why it was happening is the references got confused and wrote to the wrong variable.  I have yet to replicate it.  It seems this happened to me once before, but I can't remember what I had done.  If I could get it to happen again I would submit a bug report, but not sure that would be possible.
0 Kudos
Message 3 of 5
(3,686 Views)
I think I may have seen this problem too... just to clarify, when you call the vi at runtime, is it that it's not showing the changed values (but it is loading them) or is it loading them but not redrawing the screen to reflect the changes? 
 
My problem was more the latter, I could use expresions to determine that the data was getting loaded, I just had to fight to get the screen updates to behave.
Cheers,
Elaine R.
www.bloomy.com
0 Kudos
Message 4 of 5
(3,685 Views)

Hi,

Post an example?

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 5 of 5
(3,672 Views)