Is there a way to search a string and find an offset without splitting the string? My problem is this: I'm doing serial communications on two different ports while also doing I/O, TCP, and file writes. The frame must run inside of 1 second, and I'm pushing 900msec with some message drop-offs. I'm afraind that the match pattern and search/split vi's are taking too much overhead doing all the string manipulation. I do not need to maintain a buffer, so I simply read the serial port, and search through for the information I need. The primary port averages around 2300bytes worth of string data, non terminated/non deliminated, so I must search for Start Of Frame patterns and count offsets from there. Like I said, I do not need to split or cop
y the string in any fashin, simply find the data contained within a 19byte message, and covert to deciman values.
Any suggestions on how to speed up the string searches?