07-14-2008 02:11 PM
07-14-2008 02:23 PM - edited 07-14-2008 02:23 PM
07-14-2008 02:25 PM
I think the TCP functions now let you specify endianess.
Try swap bytes swap words to get your bytes in order.
Yes you can have two reads in a row.
Ben
07-14-2008 02:53 PM
07-14-2008 02:59 PM
07-14-2008 03:08 PM
Hi Saverio,
It was "Unflatten from string" I was think about (I usually have this nearby when doing TCP).
I believe a byte swap followed by a word swap will produce those results.
I believe endianess usaully refers to byte order and not bit order.
Ben
07-14-2008 03:13 PM
Jemellie wrote:
Thanks for everyones reply. (I am using CVI labwindows btw 7.1)
I am talking about the bit reversal, I dont think it is an endianess problem as well. The second question was an unrelated to the bit reversal (sorry).
" for example, if the data being sent id 01020304, the data that I will receive is 40302010"
07-14-2008 03:13 PM
Then the LabWindows forum is the one you want. This is the LabVIEW forum, the graphical programming language.
@Jemellie wrote:
Thanks for everyones reply. (I am using CVI labwindows btw 7.1)
07-14-2008 03:16 PM