12-25-2012 12:05 PM
Hello everyone
I want to receive 3000 bytes from Serial port and put each byte into an element of an array. Until now I have made the serial communication and can receive data. but I don't know how to separate bytes and put them into the array. Please help me... How can I do this?
(I am apprentice in LabView). regards
12-25-2012 12:08 PM
12-25-2012 01:42 PM
tnx for reply
I used the function that you mentioned.
It was usful but the function returns the input into ASCII code. how can I change it into number?
I want to return a triple digit number (a number between 0 to 256) into number.
Regards
12-25-2012 01:48 PM
The function returns an array of U8 numbers (0..255), exactly what you seem to want.
(ASCII is a way to interpret these numbers as printable and non-printable characters, and has nothing to do with any of this).
If you are still confused, please attach a small VI containing a typical string as a diagram constant. The tell us what numbers you expect.
01-01-2013 02:21 PM
tnx for your contribution. it was useful. my problem solved.