Hello, I'm fairly new to Labview and I am building a sizeable project involving DAQ and multiple serial instruments.
I have sub-vi controlling a motor controller through VISA USB, and the sub-vi has a VISA Device/Session control to select the COM port to be used.
This sub-vi works fine by itself.
Now I would like to run this sub-vi within a subpanel of another vi that contains other subpanels for other sub-vi's. I've referred to the example files included with Labview, and I've followed it to 1) open VI reference, 2) Invoke node to run the VI, 3) insert VI into the subpanel.
When I run this simple top level VI, the motor controller sub-vi shows up fine without error. But the sub-vi seems to have trouble opening up a VISA session correctly no matter what I try.
I thought maybe there is some restriction/problem with opening VISA sessions inside another VI, so I inserted the sub-vi into a blank VI, which causes it to call the sub-vi when ran. This works fine.
It is only when the sub-vi is ran inside a subpanel, that the VISA open function stops working.
I'm using labview 8.6 professional, if any one can help, it would be greatly appreciated. Thank you.