DTL_GET_BY_DRIVER_NAME

WORD DTL_GetDriverTypeByDriverName(
szDriverName
);
char LIBPTR*
szDriverName
;
The
DTL_GetDriverTypeByDriverName
function returns the structure type. This value identifies this driver attribute structure. Currently, the only driver attribute structure is type 2. In the future, additional driver attribute structures could be introduced, and these will be assigned a different number.
WORD DTL_GetDriverLengthByDriverName(
szDriverName
);
char LIBPTR*
szDriverName
;
The
DTL_GetDriverLengthByDriverName
function returns the structure length. For the type value of 2 the length is 60.
WORD DTL_GetDriverMfgMaskByDriverName(
szDriverName
);
char LIBPTR*
szDriverName
;
The
DTL_GetDriverMfgMaskByDriverName
function returns the manufacturer value. Currently, the only manufacturer supported is Allen-Bradley. This always returns DTL_MFG_AB to indicate Allen-Bradley.
WORD DTL_GetDriverNetworkTypeByDriverName(
szDriverName
);
char LIBPTR*
szDriverName
;
The
DTL_GetDriverNetworkTypeByDriverName
function returns the network type of the driver. This will be one of the constants DTL_NETTYPE_xxx from Dtl.h.
WORD DTL_GetDriverDriverIDByDriverName(
szDriverName
);
char LIBPTR*
szDriverName
;
The
DTL_GetDriverDriverIDByDriverName
function returns the driver hardware identifier. This will be one of the constants DTL_DVRTYPE_xxx from Dtl.h.
WORD DTL_GetDriverDstDriverIDByDriverName(
szDriverName
);
char LIBPTR*
szDriverName
;
The
DTL_GetDriverDstDriverIDByDriverName
function returns the (possible) remote driver hardware identifier. This has meaning for drivers that are clients to an RSLinx Classic or WinLinx Gateway server. In such cases this remote, or destination, driver identifier refers to that Gateway server's driver. This will be one of the constants DTL_DVRTYPE_xxx from Dtl.h.
DWORD DTL_GetDriverHandleByDriverName(
szDriverName
);
char LIBPTR*
szDriverName
;
The
DTL_GetDriverHandleByDriverName
function returns the handle of the driver. This handle is currently unusable by the application.
DWORD DTL_GetDriverStationByDriverName(
szDriverName
);
char LIBPTR*
szDriverName
;
The
DTL_GetDriverStationByDriverName
function returns the driver's station address.
DWORD DTL_GetDriverMaxStationByDriverName(
szDriverName
);
char LIBPTR*
szDriverName
;
The
DTL_GetDriverMaxStationByDriverName
function returns the maximum station number permitted on the network to which the driver is connected.
WORD DTL_GetDriverCapabilitiesByDriverName(
szDriverName
);
char LIBPTR*
szDriverName
;
The
DTL_GetDriverCapabilitiesByDriverName
function returns a bit-mask that contains the capabilities of the driver. This will be one of the constants DTL_DRIVER_M_xxx from Dtl.h.
WORD DTL_GetDriverMTUByDriverName(
szDriverName
);
char LIBPTR*
szDriverName
;
The
DTL_GetDriverMTUByDriverName
function returns the driver's MTU (maximum transmission unit), or the largest amount of data that the driver can send.
BYTE DTL_GetDriverAddrRadixByDriverName(
szDriverName
);
char LIBPTR*
szDriverName
;
The
DTL_GetDriverAddrRadixByDriverName
function returns the natural radix of the network to which the driver is connected. This is 8 for DH/DH+ and 10 for DH485 and Ethernet. This value is useful for displaying station numbers in the radix that the user expects.
See also
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal