10-09-2020 04:42 PM
I have an indicator one my VI panel. I am using a state machine design pattern. I want data from two mutually exclusive states to be able to populate the indicator with data so the state updates the indicator. How is that done?
10-09-2020 04:44 PM
You can use a local variable.
I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
Learn LabVIEW
10-09-2020 05:15 PM
Thank you. I should have explicitly mentioned that this is NXG.
No local variables in NXG but only in LabVIEW. I found what you have to do is right button click on an indicator and select "Create Duplicate Terminal". Apparently a duplicate terminal in NXG is like a local variable in LabVIEW.
I have worked through most of the NXG training online videos. Do you feel the LabVIEW training would still be useful?
10-09-2020 05:43 PM
You can also keep the value in a shift register and update it outside the case structure. Wire it across in statesthat don't update it and modify it in the other states.