Echelon OpenLDV User Manual Page 63

  • Download
  • Add to my manuals
  • Print
  • Page
    / 194
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 62
OpenLDV Programmer’s Guide 55
// Perform the following tasks regardless of ldvCmdOk value:
// Deregister event for NI
ldv_register_event(m_OpenLdvHandle, NULL);
// Close the network interface
rc = ldv_close(m_OpenLdvHandle);
if (rc != LDV_OK) {
printf(“Could not close network interface.\n”);
}
else {
m_OpenLdvHandle = -1; // Mark handle invalid
}
Close(hEvent); // Close the event
ldvx_shutdown(); // Cleanly shutdown the OpenLDV driver
Page view 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 193 194

Comments to this Manuals

No comments