Vishay Micro-Measurements
System 7000 Programmer’s Reference Manual
Page 58 of 142
6 ACTIVEX INTERFACE
The System 7000 ActiveX library is provided as a single dynamic link library (DLL) that acts as
an in-process ActiveX server. The library name is “
VMM7000Control.dll
”.
6.1 Active X Interfaces
The System 7000 ActiveX library consists of two interfaces:
VMM7000Control
and
VMM7000DataTransferStatus
.
IVMM7000Control
The IVMM7000control Interface is the primary interface to the library.
IVMM7000DataTransferStatus
The IVMM7000DataTransferStatus interface is a support interface that provides a
convenient callback mechanism when transferring large amounts of data.
6.2 Error Codes
The latest error code generated by the ActiveX interface can be found in the
“LastErrorCode” property. A value of 0 indicates “No Error”; a non-zero value
represents an error code. Error codes less than 1000 are being passed through from the
System 7000. Error codes greater than or equal to 1000 are generated by the ActiveX
interface.
Most methods return an integer value representing pass or fail. A value of 0 indicates
that the method returned successfully (without error). Any non-zero value represents an
error code. With these methods you may check the return value or use the LastErrorCode
property.
However, some methods do not return a pass/fail indication. In these cases, you must
check the “LastErrorCode” property if you wish to know the return status of a method.
If you would like to retrieve a text message describing an error, pass the error code to the
“GetErrorMessage” method.
In the case of commands with a card mask, the System 7000 will return a success or error
code for each card in the mask. In the event of multiple error codes, only the first error
code detected will be returned.