Download Print this page

Thermo Scientific 48i Instruction Manual page 276

Gas filter correlation co analyzer
Hide thumbs Also See for 48i:

Advertisement

C-Link Protocol Commands
Keys/Display
B-34
Model 48i Instruction Manual
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++) = *(rlescreen + i);
if (*(rlescreen + i) == 0)
{
unsigned char rlecount = *(unsigned char *)(rlescreen + ++i);
while (rlecount)
{
*(ptr++) = 0;
rlecount--;
}
}
else if (*(rlescreen + i) == 0xff)
{
unsigned char rlecount = *(unsigned char *)(rlescreen + ++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, i.e. the top display line is the last line in
the BMP.
menutext
This command displays the text of the menu item where the cursor is
currently positioned. The following example shows that the cursor is
positioned at the instrument controls menu item.
Send:
menutext
Receive:
menutext
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.
main menu
instrument controls
Thermo Fisher Scientific

Hide quick links:

Advertisement

loading