@Kyle W wrote:
Hi all, I know this is going to be very like a question I posted before, sorry, but here goes.
In my main VI I have a subVI taking readings from a tachometer and an LVDT. Using property nodes I can display the data from each sensor in the main front panel. The problem is I have to use this data in the form of calculations and to plot a graph. I tired using references again but I don't know to assign a refernece other than right-click>create>etc. I also tried wiring the original refernece to the necessary blocks but to no avail.
Is this the right train of thought or should I be looking at something different? I'm attaching my program (should be saved as version 7.0) and would greatly appreciate the help!!
Thanks,
Kyle
P.s. I'm using this program to acquire data through USB - 6009 with NI-DAQmx Base, don't know if you need to know that.
If you open a SubVI and then right mouse click on the VI icon, you should be able to show the connector. You can modify this pattern to allow for extra locations. Create an indicator to your desired information (on the block diagram), this indicator will appear on the front panel. Then connect the front panel indicator to an open terminal on your connector (where the vi icon was). Then, relink your subvi to the main vi. Use this new connection to pass data along your main vi.
Some SubVi's (especially NI ones) won't let you modify unless you go into the vi properties (execution - reentrant execution.... i believe). Any modifications you make, i'd save as a seperate VI so you can keep the original NI ones around.
Hope this gives you a starting theory.
Sincerely,
ElSmitho