10 getfilmall – INFICON XTC/3 Thin Film Deposition Controller Communications Library Operating Manual User Manual
Page 32
1 - 18
IP
N 07
4-
45
4-
P1
B
XTC/3 Communications Library Operating Manual
val.m_Data[i++] = 0; // Recorder Filter:Unfiltered
val.m_Data[i++] = 0; // NO Beep
val.m_Data[i++] = 0; // Do NOT Dim LCD
val.m_Data[i++] = 4; // RS232 Baud Rate: 115200
val.m_Data[i++] = 0; // RS232 Comm Protocol: Standard RS232
val.m_Data[i++] = 1;
// Auto Start Next Layer/Input Option: Standard
unsigned short len = 0;
BOOL TCP = TRUE; // TCP/IP comm
setGenAll (&val, ErrStr, TCP);
if(*ErrStr == 0)
{
printf("Data Transfer successful\n");
}
else
printf(ErrStr);
CloseSocket();
}
1.3.2.10 getFilmAll
int getFilmAll (FilmAllData *val, int index, char* ErrMsg, unsigned short *len,
BOOL TCP);
Description
getFilmAll gets all MAX_FILM_PARAM Film Parameters from the instrument.
Arguments
FilmAllData *val:
A MAX_FILM_PARAM x 4 bytes structure that will contain
MAX_FILM_PARAM Film Parameters from the instrument.
int index:
The film index (1 to MAX_FILM_PARAM for XTC/3M , 1 to
NUM_OF_FILMS_FOR_SINGLE for XTC/3S)
char* ErrMsg
unsigned short *len
BOOL TCP
Example
// This example gets all the Film Parameters from the XTC/3
// instrument.
#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!");