07-10-2008 09:19 AM
07-10-2008 09:25 AM
07-10-2008 09:26 AM
Hi BME genuis,
why do you need local variables. Local variables belong to a control. You can search for this control, with right click on the local variable and select -> search for terminal. Can you show your code?
Mike
07-10-2008 09:39 AM
07-10-2008 09:53 AM
07-10-2008 10:11 AM
07-10-2008 10:31 AM
07-10-2008 10:44 AM
So when you send a variable to a subVI or accept it from a subVI what are you actually doing? Is it a shared local variable? Does labview know what variable in the calling VI corresponds to what variable in the subVI?
When you bundle a cluster by name in order to make an indicator cluster why do you need an input cluster? The indicator cluster is the one being sent back to the calling VI from the subVI.
07-10-2008 11:02 AM
You pass data from a main to a subVI with a wire. Whatever data is contained in the wire is what is passed to the subVI.
Clusters are a way to combine one or more controls/indicators into a single object. They are like a structure in C. There are numerous reasons to use a cluster instead of the individual elements. For example, if a subVI required 6 different separate inputs, that would require 6 different connections on the connector pane and 6 separate wires on the main. Making the 6 part of a cluster, you use a single connection on the connector pane and a single wire in the main.
07-10-2008 10:46 PM
It sounds like you have never actually used LabVIEW before.
I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours