12-18-2009 08:37 AM
tst wrote:...
Ben wrote:
One of my rookies* wrote an XControl that discovers all of the controls and indicators on all FP automatically and lets us do what I showed above without having to wire the refs to the cluster.How does an XControl come into play when doing something like this? I suppose it's easier to use if you don't have something like the JKI RCF installed, but you could also just open it from the tools menu.
[Ben squirms sensing that Yair is on to the trick]
The AE has to know about object added deleted or re-named. The XControl allows the code to discover the changes at edit time by using the state change events.
Ben
05-28-2012 05:47 AM
Hi tst, maybe i am missing something but after i have unzipped your file to the said location, i put 4 different ctls on the front panel, select them all, right click and all i see is "properties". Do you have any further instruction?
Thanks,
05-28-2012 06:23 AM
Hi Robert, i guess i could replace your "Front Panel VI Name" with the current vi reference? I think this would be the same. I have 160 controls/indicators in several clusters so i was thinking of using your method to reference these into a report generation subvi, probably having to use the clusters control names to get the values required?
Regards,
05-28-2012 07:48 AM
@Grant_C wrote:
Hi tst, maybe i am missing something but after i have unzipped your file to the said location, i put 4 different ctls on the front panel, select them all, right click and all i see is "properties". Do you have any further instruction?
Thanks,
Grant, you are responding to a 3-year old thread.
05-28-2012 08:37 AM
Hi smercurio_fc, has a new solution developed in the past 3 years?
05-28-2012 09:00 AM
Perhaps, perhaps not. But there's no guarantee that Robert (or anybody else who participated in this thread) is even monitoring this thread. Once a thread gets really old it's best to start a new thread, and in your message you can refer to this thread as having a technique, but you have found that it doesn't work because of this and this. Then, posters can follow up with you directly.
05-28-2012 09:11 AM
Okay, thanks for your advice.