LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

little endian binary

How can I read a file in LabVIEW written in little endian binary code? Can you tell me where to find the data structure for this binary format?
Thanks
0 Kudos
Message 1 of 4
(3,111 Views)
You have not given me alot to work with here.

THe "open file" node will let you specify a data type for the file. Try array of u8's to start.

THe Advanced>>>Data manipulation pallete has swap bytes swap words, split.....

The U8 can alos be converted to an array of booleans where you could use the "revers 1-d array".

Well those are the tools you will need. If you figure out more about the file format, we may be able to give you a hint as to how to assemble these parts.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 4
(3,111 Views)
hello Ben thanks a lot

I was able to solve it. It was the swap bytes function that I needed to add, thanks for the tip for locating it

greets
Frank
0 Kudos
Message 3 of 4
(3,111 Views)
Glad to help.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 4
(3,111 Views)