11-19-2014 12:14 AM
@behzad1 wrote:
thank you all friends
actually, I want monitor some water tank and temperature. but, these tanks have some properties like heigh,area, activation and so on...
some of them should be changeable by operator every time, like: is it active or not? and some of them shouldnt changeable by operator and need pasword or like this. your suggestion is very good but lock all of page. by the way, may be some of monitoring be unchangeable, but user should be click on to watch them(and not change it). have you new or complementary suggestion?
-> I want make an installer of my code in Labview program.
Best Regards
The solution is already shown, see my first VI example. You can decide which control to lock via a property node, so not all controls...
By the way, I do not get what this means:
"by the way, may be some of monitoring be unchangeable, but user should be click on to watch them(and not change it)."
If you have indicators (you say monitoring, which means indicator to me), you do not need to block/disable those: they are not controls.
11-19-2014 09:17 AM
@Blokk wrote:
If you have indicators (you say monitoring, which means indicator to me), you do not need to block/disable those: they are not controls.
I mostly agree with you, but keep in mind, an indicator can still have right click menu options, which would be disabled if the control is disabled, or disabled and grayed out. Maybe a more robust subVI could be made, which disables or enables controls and indicators based on a label. Attached is a version that does that with the help of a subVI. This way indicators can be disabled, and controls can be disabled and grayed out or enabled based on the label names independently.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
11-19-2014 10:06 AM
"but keep in mind, an indicator can still have right click menu options"
oh, I see what you mean! 🙂 I imagine there is a chart indicator, and you can still make trouble like clearing the info from it. You are right, indicators should be also disabled in some cases to protect the on-screen info for example...
11-19-2014 10:08 AM
@Blokk wrote:
oh, I see what you mean! 🙂 I imagine there is a chart indicator, and you can still make trouble like clearing the info from it.
Yup, that's why the VI I just posted had a waveform chart with some random data, which demonstrates this.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord