LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get correct possition bytes from serial port 8bytes!. help?

Hi,
I am getting 8 bytes from serial port, it is fix value of byte count 8. Its working well, my problem I want separate certain bytes to another.
In the capture picture, you can see the posittion 3A4E FE00 00FE 0000. I would like to separate the each byte on this way 3A4E FE 0000 FE 0000. At first 2bytes later 1byte, 2bytes, 1byte and 2bytes. I added one program example to see what i am using. Maybe is 'Type Cast'.
If it is impossible to get, i would like have all like 1byte separated. Since is easy later fit to 16bits or 8 bits, multiplicate it by the high byte.
 
I would like anyone tell me if is possible get that i want or any advise to get it.
Thanks everybody for any help!.
Regards.
Download All
0 Kudos
Message 1 of 3
(2,625 Views)
how about this vi,
seems to work if I understod your specification corretly.

Message 2 of 3
(2,620 Views)

gnilsson,

Thanks for your help!. Yes it is correct, only I want in array numbers.

I also got using string to byte array, and later use hi and low byte to join...

Thanks.

 

0 Kudos
Message 3 of 3
(2,615 Views)