03-19-2012 12:26 PM
This is the vi i am using to send bytes. Am using one byte in here entered by the user. But my actual vi consist of number of bytes, depending upon case structure programmed according to users input panel.That is why i needed to extract each characters of a string and send its ascii value serially.
Is this how its done or are there any better methods?
Regards
sarkar
03-19-2012 12:58 PM
I'm not sure what some of the logic surrounding the serial write is for, but the code you have for the serial IO should work fine as is. The decimal to string routine will return a string with as many as 3 digits (8bits = a max value of 255 = 3 digits) the serial write will write all of them for you without any further intervention. In fact, that function will write a string of any length.
Mike...
03-19-2012 01:25 PM
Yes its working. Thanks for your reply 🙂