ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

interactive front panel

Hi,
 
I want to create a interactive VI that allow me to "write in an indicator" (when clicking on that indicator). I cannot use the property node : indicator, because the Vi is running.
 
My solution up to now, is to put a control over the indicator and make it visible when I need it (check my vi). Is there a solution more "easier" ?
 
Thanks
 
Labview 8.0
0 Kudos
Message 1 of 5
(2,978 Views)
You can also enable and disable controls so they appear to change the way they act. The thing to remember is that there are three enable/disable state:

0 = enabled
1 = disabled but not grayed out
2 = disabled and grayed out

In addition you can update the contents of controls programmatically using the value and val(sgnl) properties even when they are disabled. Likewise, I believe mouse events are still fired when clicking on a disabled control.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 5
(2,969 Views)
Anybody have an other solution ?
 
Thanks to reply on my new User Name
0 Kudos
Message 3 of 5
(2,910 Views)


@Doyon wrote:
Anybody have an other solution ?

Possibly, but Mike's solutions are the simplest and most elegant - have a control instead of an indicator and disable it when the user can't use it (right click on the control or the terminal and select Create>>Property Node and select the Disabled property) or use a local variable.

To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).


___________________
Try to take over the world!
0 Kudos
Message 4 of 5
(2,903 Views)
Was there a palace coup? No, then you'd have become "recently_deposed_monarch_Doyon"... Must have been a peaceful abdication...

Smiley Very Happy

Mike...



Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 5 of 5
(2,882 Views)