Appendices

E

Binary Upload of Logged Data (LOG_BIN?) (2625A only)

/* Import globals from main program */ extern int timestamp[];

extern int misc[]; extern float values[];

/*

-* convert(): Convert a LOG_BIN? array of binary data into useful data

**

**Converts BCD values to integer, raw floating point values into float

**values usable under the Intel x86 (IBM PC) architecture.

**

 

 

** Inputs:

 

**

src

Array of binary data, from LOG_BIN? query

**

length

Number of bytes in src array

**

 

 

** Outputs:

 

**

timestamp[]

Set to decimal timestamp values

**

misc[]

Set to temp units, rate, and digital I/O values

**

values[]

Set to floating point values found in binary data

**

 

(must be room for a maximum of 22 floats)

*/

 

 

void

convert(src, length) unsigned char *src; int length;

{

unsigned char *m; int n;

/* Convert timestamp from BCD to decimal */ for (n=0; n < 6; n++, src++) {

/* Binary Coded Decimal (BCD) format, packs the upper nibble as the

*/

/* tens digit, the lower nibble as the ones digit. Convert this

*/

/* into an integer number.

*/

timestamp[n] = (10 * (*src >> 4) + (*src & 0x0f));

}

/* Save temperature units, measurement rate, and digital I/O values */ for (n=0; n < 3; n++) {

misc[n] = *src++;

}

/* Convert raw measurement data into floating point */ m = (unsigned char *)values;

for (length -= 9; length > 3; length -= 4) {

#ifdef sun

/* SunOS architecture (also works for Motorola CPUs) */ *m++ = src[0];

*m++ = src[1]; *m++ = src[2]; *m++ = src[3];

#else

/* Assume Intel x86 architecture */ *m++ = src[3];

*m++ = src[2]; *m++ = src[1]; *m++ = src[0];

#endif

src += 4;

}

}

Figure E-2. Floating Point Conversion

E-5

Page 185
Image 185
Fluke 2620A, 2625A user manual Figure E-2. Floating Point Conversion

2625A, 2620A specifications

The Fluke 2625A is a sophisticated data logger designed for a wide range of industrial and laboratory applications. This versatile instrument excels in capturing and monitoring temperature and voltage measurements with precision and reliability. One of its standout features is its ability to record data from various sensors, making it ideal for environments where comprehensive data acquisition is critical.

Equipped with a large LCD display, the Fluke 2625A provides clear and user-friendly access to real-time measurement data. Its graphical interface allows users to visualize trends and monitor readings easily, which significantly enhances usability. The device supports a variety of input types and can connect to thermocouples, RTDs, and other sensors, offering great flexibility for various measurement tasks.

The Fluke 2625A employs advanced measurement technologies that ensure accuracy in data logging. With a high sampling rate, it captures fast-changing signals while maintaining data integrity. The device features a built-in memory that allows for extensive logging, accommodating long-term monitoring tasks without requiring constant oversight. Users can set it to log data at specified intervals, offering customizable solutions for different monitoring needs.

Another significant characteristic of the Fluke 2625A is its robust communication capabilities. The device supports USB and RS-232 interfaces for easy connectivity with computers and other devices, making data transfer and analysis seamless. This feature is especially beneficial for users who need to compile or analyze large sets of data quickly.

Furthermore, the Fluke 2625A is designed with durability in mind. Its rugged construction makes it suitable for challenging environments, including those with high levels of vibration, dust, or moisture. This reliability ensures that the device can withstand the rigors of fieldwork while still delivering accurate measurements.

In summary, the Fluke 2625A is a powerful data logger that combines versatility, accuracy, and reliability. Its user-friendly interface, advanced measurement technologies, and robust design make it an essential tool for professionals in various industries, from manufacturing and HVAC to research and development. Whether monitoring temperature changes in a laboratory or assessing voltage levels in an industrial setting, the Fluke 2625A stands out as a trusted solution for effective data logging and analysis.