Appendices
Binary Upload of Logged Data
C
C-5
just the most significant mantissa bit, so the raw binary byte stream value is 7f c0 00 00
(hex).
For all other measurement queries, Hydra Series II usually returns ±1e9 for overload
(OL) measurement values. However, for the LOG_BIN? query, Hydra Series II returns
Inf (infinity) instead. The IEEE floating point standard defines Inf as a positive or
negative maximum exponent number with a zero mantissa. Hydra Series II rInf
as the byte stream 7f 80 00 00 (hex) and -Inf as ff 80 00 00 (hex).
Table C-1. Floating-Point Format
Sign
1 bit
Exponent
8 bits
Manitssa
23 bits (plus one hidden bit)
high byte
(MMSB)
High-mid byte
(MLSB)
low-mid bute
(LMSB)
low byte
(LLSB)
The C code in Figure C-2 converts raw data into a useful format for the Intel x86 (IBM
PC) architecture. The BCD time stamp is converted to integers, and floating point
numbers created for the totalizer and measurement values.
Содержание 2635A
Страница 8: ...2635A Users Manual vi...
Страница 26: ...2635A Users Manual xxiv...
Страница 29: ...Preparation for Use Introduction 1 1 3...
Страница 50: ...2635A Users Manual 1 24...
Страница 53: ...Front Panel Operations Summary of Front Panel Operations 2 2 3...
Страница 88: ...2635A Users Manual 2 38...
Страница 180: ...2635A Users Manual 5 10...
Страница 212: ......
Страница 234: ...2635A Users Manual B 4...
Страница 250: ...2635A Users Manual D 8...
Страница 251: ...E 1 Appendix E 8 Bit Binary Coded Decimal Table...
Страница 264: ...Hydra Memory Card Record DATA FILES SET UP FILES DATxx Application Note SETxx Application Note...
Страница 268: ...2635A Users Manual 4...