LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Closing reference, doesn't close everything

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!

 

 

0 Kudos
Message 1 of 3
(1,803 Views)

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.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(1,798 Views)

@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.

 

LabVIEW Modbus API

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 3
(1,747 Views)