C-Link Protocol Commands
Measurement Configuration
B-28
Model 15
i
Instruction Manual
Thermo Fisher Scientific
void unpackDisplay ( void far* tdib, unsigned char far* rlescreen )
{
int i,j,k;
unsigned char far *sc4bpp, *sc2bpp, *screen, *ptr;
ptr = screen = (unsigned char far *)malloc(19200);
//RLE decode the screen
for (i=0; i<19200 && (ptr - screen) < 19200; i++)
{
*(ptr++) = *(rle i);
if (*(rle i) == 0)
{
unsigned char rlecount = *(unsigned char *)(rle ++i);
while (rlecount)
{
*(ptr++) = 0;
rlecount--;
}
}
else if (*(rle i) == 0xff)
{
unsigned char rlecount = *(unsigned char *)(rle ++i);
while (rlecount)
{
*(ptr++) = 0xff;
rlecount--;
}
}
}
}
To convert this data into a BMP for use with Windows, it needs to be
saved as a 4-bit-per-pixel gray-scale image. Also note that BMP files are
upside down relative to this data, that is, the top display line is the last line
in the BMP.
sc
screen
These commands are meant for backward compatibility with the C series.
Screen information is instead reported using the “iscreen” command above.
Send:
screen
Receive:
screen This is an ISeries instrument.
Screen information not available.
range
high range
low range
These commands report HCl range in single range mode, or the high and
low ranges in dual or auto range mode. If the mode is incorrect, the
instrument responds with “can’t, wrong settings”. The following example
reports that the HCl full-scale range is set to 50 ppm, according to
Table
B–7
.
Measurement
Configuration
Содержание 15i
Страница 1: ...Model 15i Instruction Manual Gas Filter Correlation HCl Analyzer Part Number 102866 00 15Feb2008 ...
Страница 4: ......
Страница 18: ...Contents xiv Model 15i Instruction Manual Thermo Fisher Scientific ...
Страница 120: ......
Страница 208: ......
Страница 280: ......
Страница 288: ......