Download BOX-Type Industrial Computer PL

Transcript
Appendices
GetDrvVersion
Call format
Return value
Argument
Processing
Example
Declare Function GetDrvVersion Lib "PL_Ioc.dll"
(ByRef Major As Long, ByRef Minor As Long) As Long
Other than 0: Normal
0: Error
Major As Long Version data (Major, 0 to 99) (pass by reference)
Minor As Long Version data (Major, 0 to 99) (pass by reference)
Gets the driver version.
Dim ret As Long
Dim Major As Long
Dim Minor As Long
ret = GetDrvVersion(Major, Minor)
When the version is 1.10,
Major:1
(Decimal)
Minor:10
(Decimal)
App-72
PL-B920 Series User Manual