Echelon OpenLDV User Manual Page 31

  • Download
  • Add to my manuals
  • Print
  • Page
    / 194
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 30
OpenLDV Programmer’s Guide 23
Remarks
This function returns a string for the version number of the OpenLDV driver
being used:
OpenLDV 1.0 5.308.09
OpenLDV/LNS 5.320.122
OpenLDV 2.0 5.321.034
OpenLDV 2.1 5.322.002
OpenLDV 3.3 5.330.036
OpenLDV 3.4 5.340.016
OpenLDV 4.0 5.400.102
ldv_locate_sicb()
Call this function to locate the serial interface control block (SICB) portion of the
data within an LdvEx (or SICB) formatted message, if present.
Syntax
LDVCode ldv_locate_sicb(
PVOID pData,
WORD nDataLen,
WORD* pnSicbOff,
WORD* pnSicbLen
)
Table 11. ldv_locate_sicb() Parameters
Parameter Direction Description
pData Input A pointer to a buffer containing an LdvEx (or SICB)
message.
nDataLen Input The length of the buffer containing the LdvEx (or SICB)
message.
pnSicbOff Output A pointer to a variable to receive the offset (in bytes) of the
start of the SICB portion of the specified message.
pnSicbLen Output A pointer to a variable to receive the length (in bytes) of the
SICB portion of the specified message.
Remarks
Use this function to locate the SICB portion of the data within an LdvEx (or
SICB) formatted message, if present. Data processed by most OpenLDV
functions use the SICB format; data processed by the ldv_open_cap() function
can request to use the extended LdvEx format (which includes the SICB data,
Page view 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 193 194

Comments to this Manuals

No comments