LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Searching in a 1D array???

Hi everybody!
 
How can i search a value in a 1d array? I know that exist a specific function array that does it, but the problem is that this value is not exact, it can be for example 39, 40 or 41 depending the data that visa read brings from my device!!!
 
THAAAAAAAAAAAAAANKSSmiley Wink
0 Kudos
Message 1 of 3
(2,653 Views)
After you parse the data that comes back from the VISA read, wire the part of the data that the search depends on to a case structure, which should then decide to search for 39, 40, or 41 (or whatever you're searching for).

See the attached image.  If I've misunderstood your question, let me know!


Message Edited by Novatron on 08-23-2005 11:56 AM

0 Kudos
Message 2 of 3
(2,649 Views)
Thanks for the solution!! it´s exactly what i need!!!Smiley Very Happy
0 Kudos
Message 3 of 3
(2,638 Views)