LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Disabled XControl omits Value Property

Hi all XControl freaks!
 
I have noticed a following "feature" of Xcontrols which restricts their use a bit. I don't know if it is a bug or designed feature (or I'm not familiar enough with them) but anyway, their behaviour is not in line with the common UI controls:
 
Like other labview controls/indicators, you can write a value to XControl in several ways:
1) writing to a terminal of the control
2) writing to a local value of the control
3) writing to a "Value" property node
 
However, writing to "Value" property if the XControl does not work if the XControl is disabled (value 2 is set to "Disabled" property).
It does not trigger "Data change" event inside the Xcontrol Facade like it should do.
 
For non-Xcontrols this is possible when disabled. Why not for XControls???
 
thanks,
 
Wirer
 
Message 1 of 5
(3,506 Views)
It seems that my question has does not get any answers, maybe replying by myself would rise the topic...
 
The problem presented is still actual and restricts my application behavior.
 
If needed, I can produce and attach an example.
 
Thanks,
 
Wirer
 
 
 
0 Kudos
Message 2 of 5
(3,459 Views)
Hopefully another bump and some added info will get this responded to ...
 
It seems that the "Data Change" event also doesn't fire if the XControl is hidden (i.e. Write "False" to its "Visible" property).  I'm actually writing to the terminal in my case (not the Value property, as Wirer is).
 
This seriously limits thingsSmiley Mad.  I update the data for a custom property inside the "Data Change" event (and set the "State Change?" flag True of course).  If I hide the XControl, my custom property stops being updated.
 
Is there no way around this?
 
Jaegen
0 Kudos
Message 3 of 5
(3,395 Views)
Sounds like bugs to me, did anybody submit these as bug reports?
--
Tomi Maila
0 Kudos
Message 4 of 5
(3,334 Views)

Tomi,

This has been pointed out to LabVIEW R&D here.

Jaegen

0 Kudos
Message 5 of 5
(3,326 Views)