10-16-2005 04:12 AM
10-16-2005 05:42 AM
10-16-2005 06:02 AM
10-16-2005 11:20 AM
10-17-2005 01:09 AM
06-17-2023 11:44 PM
within the sequence a set of outputs is used with little houses in it . so it could be uses as a input in the third frame. could you tell me how thats works , or where i can find documentation . its a long time ago i programmed with labview , and i cannot remember we used this.
many thanks
Robert
06-18-2023 12:24 AM
robert.nijhof@terbeke.com wrote:
within the sequence a set of outputs is used with little houses in it . so it could be uses as a input in the third frame. could you tell me how thats works , or where i can find documentation .
It's a local variable. You could right click it and press help to get more details. Opening the context help window (Ctrl+H) and hovering over things can also help to see what they are.
In this specific example the local variable is completely unnecessary, because the code is writing a value to the indicator and then immediately using the local variable to read the current value from the indicator. Instead, the output of the function could be wired in directly to the property node, and then you don't even need the sequence. In fact, in this example you could get rid of the sequence and the decimated array 2 indicator entirely.
If you haven't used LV in a long time, you might want to do some brushing up with some tutorials. At some point they will probably tell you that using local variables in LV is usually not a good idea, primarily because it's easy to create race conditions if you're not aware of how things work.