09-20-2006 10:09 PM
09-25-2006 04:52 PM
"Event for FacadeVI.
Generated on the Facade VI when the value of the XControl changes as a result of writing to its terminal, local variable, or Value property."
09-25-2006 05:17 PM
Chris,
Thanks for the response - I was beginning to get worried this was going to need a bump.
While you're pondering, could you look into this issue as well (The event also doesn't fire if the XControl is hidden or disabled).
I have found a workaround by the way (at least for this thread's issue - it doesn't work for the hidden/disabled issue). If you write to the "Value (Signaling)" property, instead of the terminal - it seems to work (i.e. the event fires every time, not just with different data). Does this have efficiency implications? I couldn't find any info describing the difference b/t writing to the terminal, the "Value" property, or the "Value Signaling" property of an XControl. Given that there's some sort of supervisor inbetween the host VI and the facade VI, and that all writes to an XControl are processed by an event structure anyways, the differences (if any) must be different than those for writing to a normal control in these 3 different ways.
If there is no efficiency hit between writing to the terminal and writing to the property (other than the fact that the event always fires of course), then this is, in a way, an interesting feature, since you can control whether the event only fires on changes or not. Of course, as you mention, it's not documented , and I'm sure there would be debate about this even if it was, since it's a departure from normal operation.
Cheers,
Jaegen
10-11-2006 03:06 PM
10-25-2006 12:34 PM
@Chris_C. wrote:
Hey Jagen,This was reported tor R&D (CAR ID 41OGGULG) for further investigation. Thanks for the feedback and feel free to ping us for an update on the issue.Chris C
10-26-2006 12:43 PM
10-26-2006 01:01 PM - edited 10-26-2006 01:01 PM
Message Edited by Jarrod S. on 10-26-2006 01:02 PM
10-26-2006 01:02 PM
Chris,
"Ping".
Jaegen
No really ... I do want to know the status of this (and whether there's an 8.2.1 in the works ... It's worth a shot to just ask right? ), but I mainly want to know if you know the answers to my other questions regarding the efficiency of using the "Value (Signaling)" property as a work around. XControls are a great addition to LabVIEW, but I have to say the documentation is rather inadequate, especially given the fact they've been around for 2 major releases now. I would love to have something that goes into a lot more detail about what's going on under the hood.
Thanks,
Jaegen
10-26-2006 01:07 PM
@jarrod S. wrote:
...
If NaN gets written to the control terminal from the main VI, the Data Change event case won't fire, but then again, we don't graph NaNs anyway. For instance:
Unfortunately this isn't really a complete workaround. We use "NaN" sometimes to display portions of invalid data amongst portions of valid data (i.e. you still need to scroll along the x-axis, even though you're not plotting any data. This solution won't do this, and only the valid data will be displayed).
Jaegen
10-26-2006 01:10 PM