12-04-2006 09:19 PM
12-04-2006 10:39 PM
Ryan,
This can be done by parsing, but it is harder. The trick is to get the text string into an array then compare element by element in a for loop. I assume sequential values are values greater than the previous value. If you need to "pad" missing sequential numbers, the attached VI will not work for you, additional logic will be required to do that. But if you only care about increasing numbers then the vi should work. I hope this helps
Chris Co
12-04-2006 10:45 PM
12-05-2006 12:52 AM
This is revised and didn't have time to make it work for same value or smaller numbers (works just array size is off) easy fix with array manuplitation.
Chris Co
12-05-2006 01:04 AM - edited 12-05-2006 01:04 AM
Of course depending on the range and offset of your values, you can do a transform of the index to save array elements.
Message Edited by altenbach on 12-04-2006 11:07 PM
12-05-2006 01:16 AM
12-05-2006 01:34 AM
Altenbach,
Brilliant!![]()
12-05-2006 02:54 AM
12-05-2006 02:58 AM
Your description is a bit confusing. It would be much clearer for us if you could attach your code. 🙂
(What is "a piece of data"? Why all these "built array" functions?)
12-05-2006 03:09 AM