2 dll functions – INFICON SQM-242 Thin Film Deposition Controller Card Operating Manual User Manual

Page 48

Advertising
background image

6 - 2

IP

N 07

4-

54

9-

P1

A

SQM-242 Operating Manual

If you have the SQS-242 deposition control program, first run the SQS-242
program, then start the SQS242 Comm program, and go to the Utility tab. Select
ActiveX, then Version, and click Send. You will see the Version 3.XX response from
the SQS-242 program (including header and checksum characters). The same
ASCII commands are used to control the SQS-242 program from a different
computer via RS-232 or Ethernet.

6.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 SQM242A.DLL, which supports up to

6 SQM-242 cards and the SAM-242 card. Contact INFICON for
information on interfacing to the older SQM242.DLL.

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 is no

card found.

Card Status(7) . . . . . . . . . . . . . . . . . Firmware revision of SAM-242 card.

Sif142Init (double Xfmax, double Xfmin, double Xinit,
double Period)

Initializes the measurement engine. Should be called before readings are taken.

Xfmax . . . . . . . . . . . . . . . . . . . . . . . . Maximum crystal frequency (10 MHz Max).

Any measurement greater than Xfmax
results in a Crystal Failure.

Xfmin . . . . . . . . . . . . . . . . . . . . . . . . Minimum crystal frequency (1 MHz Min). Any

measurement less than Xfmin results in 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.

Advertising