07-31-2009 07:13 AM
Dear All,
I have a 1-D Array of Date and Time String. In this Array i am searching a time String. If this time string present in this array i got the index of the array but if this time string is not present in the array at that time i want to search the index of nearest time string present in the date time string array.
If any one know then please help me.
09-08-2009 07:42 AM - edited 09-08-2009 07:44 AM
Hi NI SCADA,
working with strings isn't very useful when it comes to mathematics...
So you should convert your strings to timestamps. Then it is really easy to find to best match!
Edited: Attach vi in LV8.6...