Si_getproductstring, Si_open, Si_getproductstring -3 – INFICON MDC-260 Thin Film Deposition Controller User Manual
Page 141: Si_open -3

MDC-260 DEPOSITION CONTROLLER
COMPUTER INTERFACE 11-3
SI_GetProductString
Description:
This function returns a NULL terminated serial number (S/N)
string or product description string for the MDC-260 specified by
an index passed in DeviceNum. The index for the first MDC-
260 is 0 and the last one is the value returned by
SI_GetNumDevices – 1.
Prototype:
SI_STATUS SI_GetProductString (DWORD
DeviceNum, LPVOID DeviceString, DWORD
Options)
Parameters:
1.
DeviceNum – Index of the MDC-260 for which the product
description string or serial number is desired.
2.
DeviceString – Variable of type SI_DEVICE_STRING which
will contain a NULL terminated descriptor or serial number
string on return.
3.
Options – DWORD containing flags to determine if
DeviceString contains a serial number, Vendor ID or Product ID
string.
Return Value:
SI_STATUS
=
SI_SUCCESS (0x00) or
SI_DEVICE_NOT_FOUND (0xFF) or
SI_INVALID_PARAMETER
(0x06)
Other Constants
SI_RETURN_SERIAL_NUMBER
(0x00)
SI_RETURN_DESCRIPTION
(0x01)
SI_RETURN_LINK_NAME
(0x02)
SI_RETURN_VID
(0x03)
SI_RETURN_PID
(0x04)
SI_Open
Description:
“Opens” an MDC-260 (using device number as returned by
SI_GetNumDevices) and returns a handle to be used for
subsequent accesses.
Prototype:
SI_STATUS SI_Open (DWORD DeviceNum, Handle
*Handle)
Parameters:
1.
DeviceNum – MDC-260 index. 0 for the first device, 1 for the
2nd, etc.
Return Value:
SI_STATUS
=
SI_SUCCESS (0x00) or
SI_DEVICE_NOT_FOUND (0xFF) or
SI_INVALID_PARAMETER
(0x06)