Thermo Scientific STERI-CYCLE i160 LK User Manual page 196

Co2 incubator
Table of Contents

Advertisement

12
Data Communication
Examples of Data Logger Codes
rest = z % 10;
// cut off decimal place
z = z / 10;
// calculate and copy number before decimal separator
for (i = 0; i < 12; i++){
// calculate value
a[i] = z%10+0x30;
// reduce default value
z = z/10;
// Number copied completely?
if (z == 0) break;
}
for ( ; i >= 0; i--)b[l++] = a[i];
// calculate and copy number after decimal separator
b[l++] = ',';
// calculate value
b[l++] = rest%10+0x30;
return (l);
}
read_datalogger
int read_datalogger ()
{
#define SIZE_DATA2 16
#define EVENT_STATUS 0x01
unsigned char buffer[300], string [300];
unsigned char zahlenstring [150], datestring, timestring;
unsigned char excelstring [150];
unsigned char len, h,i;
unsigned int read_count,status;
#define EVENT_DATA.END 0xFF
char data;
int GetTele = 0
GetError = 0,
// writing the title line in the file
WriteFile (FileHandle, „Date;Time;Comment;Temp Act.;CO2 Act.;O2 
Act.;rH Act.;Temp Set;CO2 Set;O2 Set;rH Set;\n", 85);
// infinite loop
while (1)
{
// set data logger to beginning and read
if (!GetTele) {
send_telegramm („2400");
}
else{
// read additional data sets
send_telegramm („2401");
}
len = get_telegramm (buffer);
// no telegram received
S
i160 LK / i250 LK
TERI-CYCLE
12-18
Thermo Scientific

Advertisement

Table of Contents
loading

This manual is also suitable for:

Steri-cycle i250 lk

Table of Contents