beautypg.com

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

Page 62

background image

1 - 48

IP

N 07

4-

45

4-

P1

B

XTC/3 Communications Library Operating Manual

unsigned char val = 0;
XTC3AllData val;
unsigned short len = 0;
int temp = 1;
getMinProc (&val, ErrStr, &len, TRUE);
if(*ErrStr == 0)
{

// change the 2nd and third General Parameters,
// ’Start Without Backup’ and ’Stop on Alarms’,
// to YES.
memcpy(val.m_Data + 4, &temp, 4);
memcpy(val.m_Data + 8, &temp, 4);
setMinProc(&val, ErrStr, FALSE);
if(*ErrStr == 0)

printf("Data Transfer successful\n");

else

printf(ErrStr);

}
else

printf(ErrStr);

XTC3Close();