04-13-2009 05:56 AM
Hi,
This is what I am trying to achieve:
1) create a subVI representing a real world device (Valve)
2) Use instances of this subVI in a Main VI
3) Use the "Open" button to open the subVI FP
4) Through the subVI FP, issue different commands to the device
Please refer attached snaps of the VIs created
After creating the subVI and the code to call the subVI, these are the problems I am facing:
1) The FP for the subVI and its instances opens,but the controls wired to the subVI, in the Main VI, have no effect on the execution i.e. the subVI is not getting executed
2) The SubVI FP opens only for the first time the "Open" button is pressed from the Main VI. For any other attempts, the FP doesn't open
Please advise if the approach is correct.
Thanks and Regards
04-13-2009 06:36 AM
04-14-2009 12:12 AM
Hi,
PFA the VIs in question!
04-14-2009 12:31 AM