C-Link Protocol Commands
Keys/Display
Thermo Fisher Scientific
Model 5028
i
Instruction Manual
B-39
encoded form to save time in transmission. It is sent as a type ‘5’ binary
C-Link response with no checksum.
The RLE encoding consists of a 0 followed by an 8-bit count of
consecutive 0xFF bytes. The following ‘c’ code will expand the incoming
data.
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.
Содержание 5028i
Страница 1: ...Model 5028i Instruction Manual Continuous Particulate Monitor CIC0001582 April 2018...
Страница 2: ......
Страница 3: ...Model 5028i Instruction Manual Continuous Particulate Monitor Part Number CIC0001582 8Apr2018...
Страница 6: ...WEEE Compliance Thermo Fisher Scientific...
Страница 12: ...About This Manual WEEE Symbol vi Model 5028i Instruction Manual Thermo Fisher Scientific...
Страница 36: ......
Страница 142: ......
Страница 154: ......
Страница 220: ......
Страница 222: ...System Description Hardware 8 2 Model 5028i Instruction Manual Thermo Fisher Scientific Figure 8 1 Hardware Components...
Страница 232: ......
Страница 328: ......
Страница 329: ......