34 sethigher50procinfo – INFICON XTC/3 Thin Film Deposition Controller Communications Library Operating Manual User Manual

Page 69

Advertising
background image

1 - 55

IP

N 07

4-

45

4-

P1

B

XTC/3 Communications Library Operating Manual

1.3.2.34 setHigher50ProcInfo

int setHigher50ProcInfo (XTC3AllData *val, char* ErrMsg, BOOL TCP);

Description

This function is used for uploading process information from the instrument
(XTC/3M only) for process 51 to 99 only, which are:

Š

Processes 51 to 99 filled each with (NUM_OF_LAYERS +
XTC3_TITLE_LENGTH + 2) x

49

, i.e., 2 byte length for the number of layers

programmed, 1 Byte for each programmed layer, and process names for
Processes 51 to 99

NOTE: See command UB4 and QB4 in the User’s Guide document.

The whole packet amounts to a maximum of XTC3_ALL_SIZE bytes.

Arguments

XTC3AllData*val:

This structure is first filled with the instrument parameters as described
above, which amounts to a maximum of XTC3_ALL_SIZE bytes.

The variable m_Length is a 2 byte short that represents the length of data
being marshaled in array val->m_Data.

char* ErrMsg

BOOL TCP

Example

// This example will send process 51 to 99 parameters to the XTC/3
// instrument. For simplicity, it will first do a
// getHigher50ProcInfo(see above)and, once the structure is filled,
// it will change a couple of parameters and send it through. You
// might get an error message if the data changed is not consistent
// with XTC/3 current process information.
// Note that this example uses serial communications.

#include "XTC3Lib.h"
void main()
{

SetXTC3Port(1);
SetBaud(115200);
SetTimeOut(5000);
if(TC_E_SUCCESS != XTC3Open())
{
printf("Cannot open port\n");
return;
}
char ErrStr[256];
memset(ErrStr,0,256);
unsigned char val = 0;
XTC3AllData val;

Advertising