LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

Read From Binary File doesn´t work on MCB2400 in LV2009 Embedded ARM

Solved!
Go to solution

That's strange, I would have expected that to work.   Are the values "wrong" in the sense that the byte order is swapped?  If so, we can swap the bytes in G code:

 

 byte_swap.png

Message 11 of 14
(4,498 Views)

I admit there is confusion around byte order terminal on embedded targets, but LabVIEW is actually doing what it is suppose to do:

 

little big bytes.png

bin read results.PNG

 

(I rather like the string version)

 

Amin, regarding embedded targets I have to admit I was a little sketchy:
They accept only BIG-ENDIAN!

Message 12 of 14
(4,485 Views)

Ok Thanks !

 

In this case I have to think about if I transform my bin files always to big-endian or I still use the old workaround.

But I think if I use the workaround with big-endian the hardware usage will be a little bit less, so this would be the better one.

 

bye & thanks

 

amin

0 Kudos
Message 13 of 14
(4,465 Views)

OK,

 

now made it like this:

 

convert.png

 

read.png

 

And it works fine.

 

I think it´s better to convert the bin on the PC, to get more performance on the hardware.

 

bye & thanks

 

amin

0 Kudos
Message 14 of 14
(4,461 Views)