12
Annex: Data communication
Examples of data logger codes
12-20
S
TERI-CYCLE
i160
/
i250
Thermo Scientific
if (status & DOOR_LONG){
str_cpy (&excelstring[len], „Door open too long;“,
19);
len += 19;
else {
if (status & DOOR_OPEN){
str_cpy (&excelstring[len], „Door open;“, 10);
len += 10;
}
}
// query remaining device errors now
//
·
//
·
//
·
//
·
//
·
//and finally query cyclic nominal values entries without device // errors
//query all
else{
str_cpy (&string[string], „ok;“, 3);
= 3;
}
}
// copy nominal values from numeric string to excel string
len += num_2_str ((numeric string[8+i*SIZE_DATA2]*0x100+
numeric string[9+i*SIZE_DATA2]), &excelstring[len]);
excelstring[len ++] = ‘;’;
len += num_2_str ((numeric string[10+i*SIZE_DATA2]*0x100+
numeric string[11+i*SIZE_DATA2]), &excelstring[len]);
excelstring[len ++] = ‘;’;
len += num_2_str ((numeric string[12+i*SIZE_DATA2]*0x100+
numeric string[13+i*SIZE_DATA2]), &excelstring[len]);
excelstring[len ++] = ‘;’;
len += num_2_str ((numeric string[14+i*SIZE_DATA2]*0x100+
numeric string[15+i*SIZE_DATA2]), &excelstring[len]);
excelstring[len ++] = ‘;’;
// enter set values from here
len += num_2_str (SollTemp, &excelstring[len]);
excelstring[len ++] = ‘;’;
len += num_2_str (SollCO2, &excelstring[len]);
excelstring[len ++] = ‘;’;
len += num_2_str (SollO2, &excelstring[len]);
excelstring[len ++] = ‘;’;
len += num_2_str (SollrH, &excelstring[len]);
excelstring[len ++] = ‘;’;
excelstring[len] = ‘\n’;
len += 1;
WriteFile (FileHandle, excelstring, len);
break;
Summary of Contents for STERI-CYCLE i160
Page 8: ...Table of Contents 6 STERI CYCLE i160 i250 Thermo Scientific ...
Page 12: ...Figures 4 STERI CYCLE i160 i250 Thermo Scientific ...
Page 76: ...5 Operation Starting operation 5 6 STERI CYCLE i160 i250 Thermo Scientific ...
Page 154: ...9 Maintenance Replacing the Door Seal 9 12 STERI CYCLE i160 i250 Thermo Scientific ...
Page 166: ...11 Specifications STERI CYCLE i250 11 10 STERI CYCLE i160 i250 Thermo Scientific ...
Page 196: ...13 Device log 13 2 STERI CYCLE i160 i250 Thermo Scientific ...