05-06-2019 11:22 AM
Hello,
I have a program with an FSM feeded by a global cluster containing both controls and data.
The user can enter his own data in the STRINGA/B field, but these fields can also be updated programmatically (by clicking on update).
The programming concept is fine for data (which remains invisible for the user, and should not be edited directly), but I have problems correctly updating the controls in front panel. Moreover, the user input are not taken into account inside the program : maybe this is normal, because Global cluster is outside while loop... but i'm stuck : I don't know how I can do that properly otherwise...
Is it a good thing to have data and controls in a same cluster ? How can I have a proper control cluster which can be updated by user and by the program (last who update is the winner) ?
Solved! Go to Solution.
05-06-2019 12:45 PM
You also need an event for "global cluster:value change" where you write the new value from the event terminal into the cluster in the shift register. In the cases for programmatic change, write to the shift register and a local variable of the cluster.
05-06-2019 12:55 PM - edited 05-07-2019 04:15 AM
05-07-2019 02:56 AM
thank you for your help.
I will try to implement this by myself, but could you please convert your solution to LV 2015 so that I can open it ?
best regards !!
05-07-2019 04:14 AM - edited 05-07-2019 04:16 AM
I down-converted to 2012, but accidentally uploaded the wrong file. I added the LabVIEW 2012 to my post above.
05-07-2019 05:57 AM
thank you everything is working as it should 😉