CP1413plus manual
Programming
Rev. 00/07
4-15
4.2.2.3 Determining the driver version
#include <H1Def.h>
unsigned
short
WENTRY_C
H1GetVersion(unsigned
short
W_POINTER
version)
This function returns the version level of the H1 software.
Parameters
version
Pointer to an unsigned short variable that contains the decimal version
number of the H1-driver.
Example: a return containing 124 indicates version 1.24
Return value
0
H1_NO_DRIVER
H1_NO_ADAPTER
Note
The version number is defined as follows: The first digit indicates the main version
number and the second and third digit indicate the sub-version number.
Thus a version number 112 means version 1.12.
The driver must first have been opened by means of
H1DriverOpen
.
See also
H1DriverOpen
H1DriverClose
Summary of Contents for CP 1413plus
Page 2: ...jkjlj...
Page 8: ...Contents CP1413plus manual iv Rev 00 07...
Page 10: ......
Page 16: ...Special features CP1413plus manual 1 6 Rev 00 07...
Page 18: ......
Page 38: ...Standards and specifications CP1413plus manual 2 20 Rev 00 07...
Page 40: ......
Page 104: ...Entry into protocol file H1PROT_NIF CP1413plus manual 3 64 Rev 00 07...
Page 106: ......
Page 178: ...PLC Layer 7 program interface CP1413plus manual 4 72 Rev 00 07...
Page 180: ......
Page 194: ......
Page 206: ...ksdjfk...
Page 306: ......
Page 317: ...Appendix A Technical data A 1 B Abbreviations B 1 C List of figures C 1 D Index D 1...
Page 318: ...dfgdfgfdg...
Page 324: ...List of figures CP1413plus manual C 2 Rev 00 07...