Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

ComRdTerm with multiple termination bytes

$
0
0

Hi,

I need an UART read function that should read the stream and return when at least two specific characters are received. ComRdTerm has only one termination character. Is there maybe a workaround or method that will get it right?

 

Example:

TermChar: 0x0C 0x0A (in the same order)
Stream: 0x01 0x02 0x0A 0x0B 0x0C 0x0D 0x0F 0x0C 0x0A
                  -no-      -no-                -end-

 

 


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>