beautypg.com

3 xtc/3 command functions, 1 data structures, 1 xtc3alldata – INFICON XTC/3 Thin Film Deposition Controller Communications Library Operating Manual User Manual

Page 20

background image

1 - 6

IP

N 07

4-

45

4-

P1

B

XTC/3 Communications Library Operating Manual

1.3 XTC/3 Command Functions

These functions acquire data from, and send data to, the instrument via either
communications connection. The data is either packed in regular types such as int,
float, and char or marshaled in structures for larger quantity of bytes (> 4 bytes).

1.3.1 Data Structures

There are many different data structures used by the command functions to pass
data. This section defines each data structure.

1.3.1.1 XTC3AllData

struct XTC3AllData {

unsigned short m_Length;
unsigned char m_Data[XTC3_ALL_SIZE];

};

Description

This structure is used for downloading or uploading the instrument parameters,
which can include all or part of the following:

Š

General = XTC3_MAX_GEN_PARAM x 4 bytes

Š

Film = NUM_OF_FILMS x MAX_FILM_PARAM x 4 bytes

Š

IOMap = (NUM_OF_RELAYS + NUM_OF_TTLs +
XTC3_NUM_OF_INPUTS) bytes

Š

All Film Names (XTC/3M only): NUM_OF_FILMS x (up to
XTC3_TITLE_LENGTH, null terminator included)

Š

Up to

PART_NUM_OF_PROCESSES

Processes filled each with

(NUM_OF_LAYERS + XTC3_TITLE_LENGTH + 2) x

PART_NUM_OF_PROCESSES

)

NOTE: See command UB1 and QB1 in the User’s Guide document.

This structure is also used to hold the response returned by the XTC/3
instrument after a macro command is received. The whole packet amounts to
a maximum of XTC3_ALL_SIZE bytes.

Variable m_Length is a 2 byte short that represents the length of data being
marshaled in array m_Data.