37 macro function, 1 commandstr – INFICON XTC/3 Thin Film Deposition Controller Communications Library Operating Manual User Manual
Page 83

1 - 69
IP
N 07
4-
45
4-
P1
B
XTC/3 Communications Library Operating Manual
1.3.2.37 Macro Function
The Macro function is used to send a macro command string to the XTC/3
Controller and to get the response returned by the XTC/3 controller.
int getSendMacro(XTC3AllData * returnVal, char * ErrMsg, char commandStr[], int
commandStrlen, BOOL TCP);
Arguments
XTC3AllData*returnVal:
This structure is filled with the response returned by the XTC/3 instrument
(see description below), which amounts to a maximum of XTC3_ALL_SIZE
bytes.
char commandStr[]:
The Macro command string, tagged in the format described below.
int commandStrLen:
The length of the Macro command string, limited by the maximum 60000
bytes.
char* ErrMsg
BOOL TCP
1.3.2.37.1 commandStr[ ]
The Macro function allows individual commands to be connected together (with-
out spacing) in the commandStr[ ] parameter, using the following format:
ASCII Command <1 Byte Value>(2 Byte Value)[4 Byte Value]{String}
ASCII Command:
ASCII letter of commands such as H, E, QG, S.
<1 Byte Value>:
1 Byte Value, such as Command ID, Process Number and Film Number. A
1 Byte Value must be enclosed in the angle-type < > brackets if followed by
another 1 Byte Value. The angle-type bracket is not required when using a
single 1 Byte Value followed by an ASCII Command.
(2 Byte Value):
2 Byte values, such as Number of layers. 2 Byte values must be enclosed
in parentheses ( ).
[4 Byte Value]:
4 Byte values, such as parameter values in integer or float format. 4 Byte
values must be enclosed in the square-type [ ] brackets.