C-Link Protocol Commands
Keys/Display
B-26
Model 48
i
Instruction Manual
Thermo Electron Corporation
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--;
}
}
}
Summary of Contents for 48i
Page 12: ...Preface Thermo Electron Corporation Model 48i Instruction Manual xii ...
Page 22: ...Installation Startup 2 6 Model 48i Instruction Manual Thermo Electron Corporation ...
Page 222: ...Servicing Service Locations 7 40 Model 48i Instruction Manual Thermo Electron Corporation ...
Page 241: ...Thermo Electron Corporation Model 48i Instruction Manual 9 5 Figure 9 3 Bench Mounting ...
Page 242: ...9 6 Model 48i Instruction Manual Thermo Electron Corporation Figure 9 4 EIA Rack Mounting ...