07-19-2021 07:01 AM
Hi all!
I run into a problem with a .Net library (EasyModbus.dll (5.6.0)). Some time I'm getting some connection error, and I disconnect the device, close the reference of .Net, than connect again, make the reference new. I'm doing this until, the connection is establishing. Today I've got a different connection error, I did the same, but here the connection cannot established, only when I close my program and open it again.
What you think, what is the difference, between CloseReference.VI and closing my program?
Thanks for the tips!
07-19-2021 07:13 AM
For another .NET library (for SSH), I also had to call a "Dispose" method in order for it to close properly. Perhaps you have another similar method.
07-19-2021 11:42 AM
@robert.eva wrote:
Hi all!
I run into a problem with a .Net library (EasyModbus.dll (5.6.0)).
I have never used Easy Modbus but I have used the NI Modbus library and found it to be fully functional and very easy to use.