LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can any one help with VI for getting data(HEX) from serial and write in text file

Solved!
Go to solution

Ali,

 

Please don't mark your reply where you thank Mike as the solution.  Mark Mike's actual reply as the solution.  You can go into the options of your message to unmark yours as the solution.

0 Kudos
Message 11 of 12
(582 Views)

Hi,

 

Your max and min function is set up such that you will only read 0 or 1 bytes from the port at a time, is that the correct behavior?  If you can read chunks at least the size of the termination string you are looking for, you can use any search string function to check if any matches were found and terminate your loop if there are. 

Regards,

Jeremy_B

Applications Engineer
National Instruments
0 Kudos
Message 12 of 12
(543 Views)