11-03-2015 06:37 PM
Hi,
In my application I have a host and an RT VI
- The host VI acts as a user interface where the user can control a motor ON or OFF while the RT VI is in the idle state of the state machine
- During the idle state, the Boolean control is enabled, otherwise it is disabled
- While the state machine is running, the Motor shared variable changes states and also updates the MotorOutput on the Host VI front panel to show the user that the motor is running
- If the motor was ON in case 4, the RT VI needs to retain the state of the motor until the user turns it off in the host VI.
To achieve this, I decided to use the motor shared variable to update the boolean control as well as the Motor Output indicator on the host VI.
As is, I have to click the Boolean control twice for it to work. Sometimes it works, sometimes it doesn't.
Can someone please help me figure out this issue.
Thank you,
TeamHalli
Solved! Go to Solution.
11-03-2015 08:16 PM
It works now.
Thanks