LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Making configuration screen read only

You wired constant 3 to disabled - that's an invalid value. Either use 0 (enabled) or 2 (disabled). The problem that occurs is that the stop button also is disabled.
 
What you now can do is to create references of the controls you want to disable (you can do this by right-clicking the control > create reference) and build an array which you then can wire to the for-loop instead of the controls[]-property.
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 11 of 16
(803 Views)
Excellent that worked. Thanks for all the help Bethko. I'm a great believer in karma. What goes around comes around.
 
While we are on the subject (as you seem to be a bit of an expert in these parts) I wonder if you can recommend some good books learning resources etc that I can use to further learn LabView? I've completed all the examples from the help files but I feel like I need more questions that I can attempt and follow to extend my knowledge. I guess a case in point is this whole property node thing that you've told me about today. When I look it up in the help files there isn't a great deal to go on so if you hadn't of mentioned it I wouldn't have come across it.
 
 
MONK
0 Kudos
Message 12 of 16
(804 Views)

Maybe I'm quite an expert - don't know.

Anyway, unfortunately I can't give you any advice for books. But there already were some titles mentioned in the forums - just search.

By the way - I'd be pleased if you could spell my username correctly.

Nevertheless, it's always nice if I could help solving a problem.

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 13 of 16
(794 Views)
Sorry about getting your name wrong. I'm a bit dyslexic so guess thats it coming to the fore! I do try and check what I write but I never see the mistakes. I've now added so many speelings to my ad hoc dictinary in Word that even that is now slightly dyslexic. Lol.
 
Thanks
0 Kudos
Message 14 of 16
(792 Views)
Ok - so don't worry... Smiley Wink
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 15 of 16
(789 Views)

Monk,

A side note since this was just a demo, but you're using LV6; are new; and have discovered property nodes that output refnums:

Close those refnums that have been opened implicitly by property nodes or you'll have a memory leak.
There's an good discussion on the subject here: http://www.ni.com/devzone/lvzone/dr_vi_archived4.htm

Automatic handling of refnums improved in more recent versions of LabVIEW.   You don't have to worry about it if you follow becktho's advice to right-click the control(s) > create reference and build an array instead of using the Controls[] property.

... and your life may become easier if you make use of the ubiquitous Error cluster.

=====================================================
Fading out. " ... J. Arthur Rank on gong."
0 Kudos
Message 16 of 16
(778 Views)