C-Link Protocol Commands
Keys/Display
Thermo Fisher Scientific
Model 146
i
Instruction Manual
B-27
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
turned into a 4BPP as that is the smallest windows can display. Also note
that BMP files are upside down relative to this data, i.e. the top display line
is the last line in the BMP.
sc
screen
This command is meant for backward compatibility on the C series. Screen
information is reported using the “iscreen” command above.
Содержание 146i
Страница 1: ...Model 146i Instruction Manual Dynamic Gas Calibrator Part Number 102482 00 30Jan2008 ...
Страница 4: ......
Страница 16: ...Contents xii Model 146i Instruction Manual Thermo Fisher Scientific ...
Страница 148: ......
Страница 188: ...Troubleshooting Service Locations 6 26 Model 146i Instruction Manual Thermo Fisher Scientific ...
Страница 258: ...System Description I O Components 8 16 Model 146i Instruction Manual Thermo Fisher Scientific ...
Страница 272: ...9 14 Model 146i Instruction Manual Thermo Fisher Scientific Figure 9 4 Rack Mount Option Assembly ...
Страница 273: ...Thermo Fisher Scientific Model 146i Instruction Manual 9 15 Figure 9 5 Bench Mounting ...
Страница 274: ...9 16 Model 146i Instruction Manual Thermo Fisher Scientific Figure 9 6 EIA Rack Mounting ...
Страница 275: ...Thermo Fisher Scientific Model 146i Instruction Manual 9 17 Figure 9 7 Retrofit Rack Mounting ...
Страница 276: ...Optional Equipment Mounting Options 9 18 Model 146i Instruction Manual Thermo Fisher Scientific ...