Echelon OpenLDV User Manual Page 54

  • Download
  • Add to my manuals
  • Print
  • Page
    / 194
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 53
46 Using the OpenLDV API
Return Code
Numeric
Value Description
LDV_DEVICE_ERR 4 This code is returned if a
function fails to execute as a
result of a failure to
communicate with the
network driver. Call
ldv_close() to close the
network interface and release
the resources assigned to the
network driver. Then, re-open
the network interface with one
of the open functions.
LDV_INVALID_DEVICE_ID 5 This code is returned if you
specify an invalid device name
when opening a L
ONWORKS
interface device with one of
the open functions, or an
invalid handle when using any
of the other OpenLDV
functions. Ensure that the id
input parameter for the name
of the device is valid.
LDV_NO_MSG_AVAIL 6 No message is available to be
read. This code is returned if
you call ldv_read(), and there
are no uplink messages from
the network interface that
have not yet been read. You
can use the
ldv_register_event()
function to receive notification
events when messages are
available to be read from the
network interface.
LDV_NO_BUFF_AVAIL 7 No buffer is available. This
code is returned if you call
ldv_write(), and there is no
available buffer on the local
network interface to which to
write the message. Wait until
a buffer becomes available and
try writing the message again.
Page view 53
1 2 ... 49 50 51 52 53 54 55 56 57 58 59 ... 193 194

Comments to this Manuals

No comments