12-10-2007 02:10 PM
12-10-2007 07:53 PM
12-10-2007 08:11 PM
12-10-2007 08:14 PM - edited 12-10-2007 08:15 PM
The correct way to do a functional global variable or action engine.
Note that the Read case just wires through the case and would not actually be broken.
12-11-2007 07:44 PM
12-11-2007 08:14 PM - edited 12-11-2007 08:15 PM
turbot wrote:Sorry, I still cannot make it in 8.5
12-12-2007 02:33 AM
11-15-2012 10:58 AM
I want to build a 1D Array where each element is being entered manually. The new value has to be inserted, unless the value has not been previously inserted. And i have to display that array.
Cand someone tell me how to do it ?
11-15-2012 11:30 AM
Use an event structure to capture when a new value has been entered. Use a shift register to hold your current array. When a new value is entered, use the Search 1D Array to make sure that the new value isn't already in the array. The search function will return a -1 for the index if the element was not found. If not found, use the build array to add the new value.
11-15-2012 01:41 PM - edited 11-15-2012 02:00 PM
@Laur wrote:
I want to build a 1D Array where each element is being entered manually. The new value has to be inserted, unless the value has not been previously inserted. And i have to display that array.
Homework time again? 😉
Instead of adding to an existing 5 year old thread that is only marginally related, you should start a new thread. Then you should also be more precise on what you mean.
The term "insert" has a very special meaning in LabVIEW, and implies that it should go in an exactly specified location in the existing array (as opposed to "append" or "prepend", where it always goes to one of the ends). However, you are not specifying where the new element should be inserted (e.g. keep the array sorted, at the beginning, at the end, etc.). Please be more much specific.
This is a very basic exercise. What you have you tried so far? Where did you get stuck?