01-20-2006 04:31 AM
Hello,
I have to analyze some data from other application in LabView. I can get this data in ASCII and transfer it to array (see my other post). Also I can get the same data in binary. So, after I convert ASCII to SGL and look at it, I was surprized by the fact that my SGL array in LabView looks very similar to the Binary file from other application. Then maybe its better to try to work with binary… But the problem is this binary file is not compiltly the same SGL as I have in LabView. Let me explain. Every number in my SGL array is presented as 4 bytes (correct me if i'm wrong). So if you will look carefully you will note, that difference between my SGL and other binary file is this 4 bytes (underlined) reversed, but sequence is perfectly the same… please take a look and if you have an idea, let me know,
Vadym
I have this binary from other application:
3E 8A 3D 71 41 2E E1 48 C1 8E 51 EC 40 E1 99 9A
71 3D 8A 3E 48 E1 2E 41 EC 51 8E C1 9A 99 E1 40
So, maybe I can get it directly from binary, it’s looks the same sequence, I just need to manage this small difference.
P.S Just to make it cleare i have same data in ASCII and Binary format. After I convert ASCII to SGL array, I found that it’s looks the same as binary… the idea to work directly with binary without ASCII to SGL array transformation step.
01-20-2006
04:48 AM
- last edited on
04-27-2025
08:00 PM
by
Content Cleaner
Hi Vadym
This looks like a Big Endian and Little Endian problem
Goto Labview Help and Enter "Flattened Data" and read that page to find out more .....
https://www.ni.com/docs/en-US/bundle/labview/page/flattened-data.html
Hope this helps you understand better.
David
Message Edited by David Crawford on 01-20-2006 04:49 AM
01-20-2006
04:58 AM
- last edited on
04-27-2025
08:00 PM
by
Content Cleaner