2 dll functions – INFICON IQM-233 Thin Film Deposition Controller PCI-Express Card Operating Manual User Manual
Page 68

4 - 2
PN
07
4-
58
4-
P1
A
IQM-233 Operating Manual
4.2 DLL Functions
In the function descriptions below, long indicates a 32 bit integer, double indicates
a double precision real. Array parameters require a pointer to the first element of
the array (standard C calling convention).
NOTE: These function definitions are for IQM233.DLL, which supports up to
six IQM-233 or six SQM-242 cards. Contact INFICON for information on
interfacing to the older SQM242.DLL (refer to
).
Sif142Startup2 (long Mode, long CardStatus (0 to 7))
Loads the DLL and initializes the card. Must be called with Mode=0 before any
other function. The card status parameter is an array that returns card
installation status information
Mode . . . . . . . . . . . . . . . . . . . . . -1 unloads the DLL, any other value loads the
DLL.
CardStatus(0) . . . . . . . . . . . . . . DLL and card installation status. Values >900
are errors.
CardStatus (1 to 6) . . . . . . . . . . Firmware revision of card 1 to 6. Zero
indicates no card found.
Sif142Init (double Xfmax, double Xfmin, double Xinit,
double Period)
Initializes the measurement engine. Must be called before readings are taken.
Xfmax. . . . . . . . . . . . . . . . . . . . . Maximum crystal frequency (6.1 MHz Max).
Any measurement greater than this value will
return a crystal failure.
Xfmin . . . . . . . . . . . . . . . . . . . . . Minimum crystal frequency (4.0 MHz
minimum). Any measurement less than this
value will return a crystal failure.
Xinit . . . . . . . . . . . . . . . . . . . . . . Initial frequency of a new crystal. Usually
either 6.00 MHz or 5.00 MHz. Must be
between Xfmax and Xfmin.
Period . . . . . . . . . . . . . . . . . . . . Sets the time period to collect one
measurement between 0.1 and 2 seconds.