32 setlower50procinfo – INFICON XTC/3 Thin Film Deposition Controller Communications Library Operating Manual User Manual

Page 65

Advertising
background image

1 - 51

IP

N 07

4-

45

4-

P1

B

XTC/3 Communications Library Operating Manual

1.3.2.32 setLower50ProcInfo

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

Description

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

Š

Processes 1 to 50 filled each with (NUM_OF_LAYERS +
XTC3_TITLE_LENGTH + 2) x

50

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

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

NOTE: See command UB3 and QB3 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 all the instrument parameters (see
description 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 1 to 50 parameters to the XTC/3
// instrument. For simplicity, it will first do a getLower50ProcInfo
//
(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);

Advertising