C-Link Protocol Commands
Keys/Display
B-28
Model 49
i
Instruction Manual
Thermo Fisher Scientific
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.
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.
Send:
screen
Receive:
screen This is an I series Instrument. Screen Information
not available
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--;
}
}
}
Содержание 49i
Страница 1: ...Model 49i Instruction Manual UV Photometric O3 Analyzer Part number 102434 00 10Jan2008 ...
Страница 4: ......
Страница 6: ......
Страница 14: ...Contents xiv Model 49i Instruction Manual Thermo Fisher Scientific ...
Страница 16: ...Figures xvi Model 49i Instruction Manual Thermo Fisher Scientific Flag Status B 11 ...
Страница 36: ...Installation Startup 2 10 Model 49i Instruction Manual Thermo Fisher Scientific ...
Страница 162: ...Preventive Maintenance Ozone Scrubber Test 5 12 Model 49i Instruction Manual Thermo Fisher Scientific ...
Страница 184: ...Troubleshooting Service Locations 6 22 Model 49i Instruction Manual Thermo Fisher Scientific ...
Страница 244: ...Optional Equipment Mounting Options 9 6 Model 49i Instruction Manual Thermo Fisher Scientific Figure 9 2 Bench Mounting ...