03-12-2013 04:43 AM - edited 03-12-2013 04:52 AM
Hi, using VISA read, I get my data from serial port and should wait until I get the ! Sign (Hex Sting, 21).
All my tries to compare this with what I get from read buffer has bin failed.
I can simply find the ! sign, but the result of the comparison of this with constant Hex String is always false.(I use equation for comparison)
I also tried to convert the read buffer string first to byte U8 then get the number and check this with 33 bud didn't work as well.
I appreciate any help.
03-12-2013 06:14 AM
What you probably need is the Search/Split String. Can you supply some code so we can figure out what you are trying to do?
03-14-2013 10:46 AM
Probably you also can look at this example....