Jump to content
  • 0

E-Dio24 Reconnection after network issue


ehansen

Question

Hello!  We've used MC boards through the universal library, and the E-DIO24 is the latest to enter into our systems.  Due to the E-DIO24 working nearly identically to previous DIO boards, we made nearly no changes in code to support the ethernet version.  However, we have issues where we loose communications to the unit, and they don't seem to re-establish automatically.  We aren't sure as to why we loose communications, but we can simulate locally by simply disconnecting the ethernet port for a minute or so.  After which point, the software will no longer be able to turn outputs on and off without first re-running the initialization code.  However, we don't seem to be receiving any errors when we try to alter states of outputs. 

So, my questions are:

1. How should we be detecting this (if this is suggested in some documentation I've missed, apologies, please direct me there)?

2.  What are the recommended steps to re-establish functionality (hopefully without needing to restart the controlling application)?

Thanks in advance!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hello @ehansen.

You can query the D-DIO24 for its MAC address or device ID.

 UL for .NET: GetDeviceMacAddress()

UL for .Net: GetUserDeviceId()

https://www.mccdaq.com/pdfs/manuals/Mcculw_WebHelp/ULStart.htm

image.png

 

Re-establishing a connection may require cycling the power supply to the unit.  

Consider using Device Discovery if you're not already using it.  If you lose connection with the E-DIO24 unit, then you could repeat the Device Discovery process.

image.png

 

Regards,

Fausto

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...