09-19-2016 12:25 PM
For my project, I'm trying to create either a case structure or a 2 event strutcture that will change based on the compared values. I want to see if a pair of coordinates (2 doubles/1D arrary) are found in a 2D array of thousands of other coordinates. Depending if they match, I'll have two different actions. What is the best way to go about this?
09-19-2016 12:44 PM
Hi Cake,
how are your data arranged?
I suspect your 2D array consists of 2 columns, one column for X and one for Y coordinate…
Search the first column for your X coordinate. If you found a hit you check the corresponding Y coordinates!
(Keep in mind comparing floats can be dangerous…)
09-19-2016 12:52 PM
(Keep in mind comparing floats can be dangerous…)
A little new to labview, but is comparing DBL's really bad I'm assuming? Should I change the values to INTs to avoid this issue?
09-19-2016 01:00 PM
@CakeBoss14 wrote:For my project, I'm trying to create either a case structure or a 2 event strutcture that will change based on the compared values.
Can you show us some simple exampe code and data?
09-19-2016 01:07 PM