Instruction Manual MM850432 ed. 05
93
10.3 Interfaces
10.3.1 Indication
of
the instrument
ISDRIVER is a function that returns "READY" if is connected a MicroCal20 with firmware version less than 5.006, instead for the version following it answers therefore:
•
"3224"
-->
MicroCal P200
•
"3240"
--> MicroCal P20
•
"3925"
--> MicroCal 20 DPC
•
"3120"
--> MicroCal T20
10.3.2
Compatibility with VC++, VBasic e .NET
For compatibility we mean that a lot of programming language can use the same DLL without rebuilding it or to modifying.
•
Example of use in VBasic
6.0
:
Set objdrv = CreateObject("eurodrv_mcal200.clsdriver")
In order to manage the protocol there is a set of the publics methods (see Ch. 8.3.3} that list all the possible actions available for the instrument.
ATTENTION:
NOTE THAT THE
DLL
ALWAYS MAST BE REGISTERED WITH THE COMMAND
:
REGSVR
32
PATH
\
NAME
.
DLL
•
Example of use in
VB .Net 2003
:
Dim
objdrv
As
Object
objdrv =
New
eurodrv_mcal200.clsdriver
objdrv.AppPathDebug = Application.StartupPath & "\Debug"
If
objdrv.opencomm(("Serialport"), ("combbaudrate"))
Then
Message
(objdrv.IsDriver)
‘(see Ch.
8.3.1}
End if
In order to manage the protocol there is a set of the publics methods (see Ch. 8.3.3) that list all the possible actions available for the instrument.