30 setminproc – INFICON XTC/3 Thin Film Deposition Controller Communications Library Operating Manual User Manual
Page 61
1 - 47
IP
N 07
4-
45
4-
P1
B
XTC/3 Communications Library Operating Manual
1.3.2.30 setMinProc
int setMinProc (XTC3AllData *val, char* ErrMsg, BOOL TCP);
Description
This function is used for uploading all the instrument parameters without
process layer lists and process names, which are:
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)
NOTE: See command UB2 and QB2 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 all Parameters except the process layer
// list to the XTC/3 instrument. For simplicity, it will first do a
// getMinProc (see above) and, once the structure is filled, it will
// change a couple of parameters and send it through.
// 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);