05-26-2009 10:44 AM
I have created 2 VIs using simulation interface toolbox and the SIT connection manager, both in the same Labview real time project. They deploy to two different targets and when run separately, both run perfectly. I would like to create a VI within the same project that can control both at the same time, as they will be running together for my simulation. I put both VIs into a third VI as sub-VIs with inputs wired to the start and stop buttons created by the SIT connection manager. These are wired to a simple boolean control on the front panel of the third VI. When I run this third VI, both simulations deploy to their respective targets successfully. The buttons I have created to control them, however, do not work. When I press the buttons, nothing happens. Is there some other way to do this or something I am missing?
Thanks in advance,
Eric
05-26-2009 12:04 PM
Hello Eric
Once you launch the main VI, subVI inputs (including start and stop buttons) can't be updated. You might want to replace those controls with shared variables and have three VIs running in parallel: one running on each RT target and one running on the host where you can update the shared variable values.
Hope this helps
Javi