INFICON XTC/3 Thin Film Deposition Controller Communications Library Operating Manual User Manual
Page 84
1 - 70
IP
N 07
4-
45
4-
P1
B
XTC/3 Communications Library Operating Manual
{String}:
String values such as the echo string, the film name and the process name.
String values must be enclosed in the curly-type { } brackets.
The byte values, the strings and their sequences depend on the commands that
are tagged together. The following is a list of examples:
Example 1: H<1>H<2>QG<0>, or H1H2QG0
Example 2: E{Hello}
Example 3: QP3<1>(1)S4
Note the second 1 Byte number has to be enclosed in < > bracket in order
to be distinquished from the first unbracketed 1 Byte number.
Example 4: UF<0><1>[120]
Example
#include "XTC3Lib.h"
void main()
{
if(StartSocket()==0)
printf("Socket could not be initialized.");
if(!ConnectSocket("10.211.70.209"))
printf("Socket could not be connected!");
char ErrStr[256];
memset(ErrStr,0,256);
unsigned short len = 0;
char commandStr[] = "QG1"
XTC3AllData val
getSendMacro (&val,ErrStr,commandStr,strlen(commandStr),TRUE);
// sets relay# to 1
if(*ErrStr == 0)
printf("Data Transfer successful\n");
else
printf(ErrStr);
CloseSocket();
}