05-01-2013 04:34 AM
Hi,
I have many subVI. I am working with binary files and I want to open them only one time. If I make subVi(1) which opens:
and then subVI(2) which reads the first 4 elements and store them in array:
Then subVI(3) which uses previous one and reads only 4.element from array
Then I can't connect the first subVI with last one because they have different types.
What should I change/do not right?
Solved! Go to Solution.
05-01-2013 06:52 AM
You need to change the filepath control in the later subVI's to a refnum control.
Copy and paste the refnum indicator that is the output of the first subVI and drop it into the later subVI's. Right click, change to control. Then wire that up to the file functions instead of the filepath control you have now.