Echelon OpenLDV User Manual Page 55

  • Download
  • Add to my manuals
  • Print
  • Page
    / 194
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 54
OpenLDV Programmer’s Guide 47
Return Code
Numeric
Value Description
LDV_NO_RESOURCES 8 No resources are available.
This code is returned if the
OpenLDV API has assigned
too many session handles, or if
the computer running your
application has memory
allocation problems. Close
any non-essential processes
running on your computer and
try the operation again.
LDV_INVALID_BUF_LEN 9 This code is returned if you
call ldv_read() to read a
message from a L
ONWORKS
interface device, and the
specified buffer is not big
enough to contain the next
incoming message. Allocate a
larger buffer to receive the
message and then call
ldv_read() again with a
larger value for the len input
parameter. The message
remains as the next incoming
message until you successfully
read it with the ldv_read()
function.
Recommendation: Allocate
a buffer of at least 257 bytes
(the maximum size of an SICB
format incoming message)
each time you call ldv_read().
If your device uses the LdvEx
format, you must allocate
additional buffer space.
LDV_NOT_ENABLED 10 This return code is obsolete.
LDVX_INITIALIZATION_FAILED 11 The remote network interface
(RNI) could not be initialized.
Generally, this code is
returned if there are
configuration problems on the
network interface that you are
opening or on the computer
that is running your
application.
Page view 54
1 2 ... 50 51 52 53 54 55 56 57 58 59 60 ... 193 194

Comments to this Manuals

No comments