LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Host to RT View interaction

Solved!
Go to solution

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

0 Kudos
Message 1 of 2
(2,749 Views)
Solution
Accepted by topic author TeamHalli

It works now.

 

Thanks

0 Kudos
Message 2 of 2
(2,728 Views)