LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

BUG: Split then join reverses byte order - sometimes

Solved!
Go to solution

I was creating a simple VI to serialize an I32 array to bytes and ran into this interesting bug. This code is being run in 32bit LabVIEW 2014 SP1, fully patched. Save the two attachments and run TestI32ToByteArray.vi. Note that the 6 and 7 at the end of the array are reversed. If you probe around, the data all looks good, except the split string on the final low word is reversed. Any ideas?

 

More details on setup:

LabVIEW 2014 SP1 32-bit

AMD FX-6300 3.5GHz hex core processor

Windows 7 64-bit, fully patched

8GB RAM

 

 

the entity formerly known as DFGray
Download All
0 Kudos
Message 1 of 5
(2,868 Views)
Solution
Accepted by topic author ShadesOfGray

Check your wiring, the 6 is wired to the bottom terminal of the join, and the 7 is wired to the top.

Message 2 of 5
(2,861 Views)

TestI32ToByteArray_BD.png

 

<edit>I lost the race to Hooovahh<\edit>

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 3 of 5
(2,858 Views)

@jcarmody wrote:

 

<edit>I lost the race to Hooovahh<\edit>


Wuah haha Smiley Wink

0 Kudos
Message 4 of 5
(2,846 Views)

I obviously need to drink more coffee (or less Smiley Frustrated ).

the entity formerly known as DFGray
0 Kudos
Message 5 of 5
(2,833 Views)