
68
9.
In order to communicate with the channel with other functions after opening it
with CAN_Open, you need to create a variable to store the handle value.
Private
myHandle
As
Integer
myHandle
=
CAN_Open
((
"COM3"
,
"50"
,
"00000000"
,
"00000000"
,
1
,
2
)
10.
This concludes the basic setup process of using the DLL in Visual Basic .NET.
Imported functions can then be easily called from the DLL with the parameters
created above.