From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

REAL48 data format 2 double (ANSI-C)

hello,
 
i have many DIADEM binary datas in the 6Byte long REAL48 (*.R48) data format. now i wont to read the binary data in with a ANSI-C software programm.
my problem is i've to transalte the Diadem REAL48 dataformat into the 8-Byte long ANSI-C datatype "doube". And I didn't now the strcture of the REAL48 datatype!?
 
can everyone help me?
 
(you can answer in german)
--------------------------------------------
 
Here some samples of ther REAL48 binary data:
 
Dezimal = binary HEX
 -1   = 81 00 00 00 00 80
1    = 81 00 00 00 00 00
-2   = 82 00 00 00 00 80
2    = 82 00 00 00 00 00
-3   = 82 00 00 00 00 C0
3    = 82 00 00 00 00 40
-4   = 83 00 00 00 00 80
4    = 83 00 00 00 00 00
5    = 83 00 00 00 00 20
256  = 89 00 00 00 00 00
257  = 89 00 00 00 00 80
1024 = 8B 00 00 00 00 00
1280 = 8B 00 00 00 00 20
1280 = 8B 00 00 00 20 20
0 Kudos
Message 1 of 2
(3,086 Views)
Hello FTE,
you may want to look at http://www.borland.com/techpubs/delphi/delphi5/oplg/memory.html . Please ask if you have questions.
Andreas
 
 
0 Kudos
Message 2 of 2
(3,081 Views)