NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Flag to stop a StationGlobal VALUE from being changed at runtime

Hi,

 

When doing a LabVIEW 'Initialize' we are finding that sometimes the descriptor of the LabVIEW IOControl of a StationGlobal ends up as a blank string - if the instrument times out (even though this is only an IN parameter).

 

So I'd like to make some of our StationGlobals such that their value cannot be changed at runtime.

 

I see the 'not editable' flags attribute - but it looks a bit scary.

 

It's not that I don't want to "not edit" - all I want is for the value to be immutable (i.e. read only). This would be like 'const' in text based languages.

 

The cost almost seems too great to use this attribute. Perhaps there's another that I just haven't seen which will do what I want?

 

[I guess I could have some Local variables which get a copy of the StationGlobal at runtime - but it's more code and less simple].

 

Any ideas? Thanks!

 

Ronnie 

 

CropperCapture[45].Png

Message Edited by Believer on 09-04-2009 05:31 PM
TestStand 4.2.1, LabVIEW 2009, LabWindows/CVI 2009
0 Kudos
Message 1 of 1
(3,336 Views)