LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW and .Net assembly integration problem

Hi,

We are trying to integrate a .Net (2.0 C#) assembly with
LabVIEW application (8.6). When we are in development environment than everything works
fine. But after compilation we are not able to have the assembly working
properly:

1. The assembly is a small TCP server which is using sockets and custom communication protocol.

2.  2. After compilation I’m able to connect to the
application (assembly) only from the same computer but when I’m trying to
connect from a remote PC (on the same LAN) than a client returns 10060 socket
error ("A connection attempt failed because the connected party did not
properly respond after a period of time, or established connection failed
because connected host has failed to respond").


What can it be? .Net security settings? LabVIEW’s side
effect?


Thanks,


Alexander


0 Kudos
Message 1 of 4
(2,594 Views)
just check the "ports" used in both the PC are same or not...
Regards
Guru (CLA)
0 Kudos
Message 2 of 4
(2,570 Views)
Yes, they are the same and the firewalls are off on both PCs. Actually I've

tried the same application on both PCs - local and remote. The situation is as
I explained in my first post - it is working (able to connect) only when both
applications are on the same local PC.


The very suspicious thing is that EVERITHING is working normally when the

server application is in LabVIEW development environment. But when it is in
run-time there is no connect from remote.

0 Kudos
Message 3 of 4
(2,565 Views)

i have used LV8.5.1 (8.5 has some problems with .NET) to connect to a hardware running linux in it and havent faced any problem as such (both development version as well the exe).

 

Just a question. Are you using a set of dll's (.NET) to connect? If yes can you check whether the dll is not causing any problem due to registration issues (may be the the "constructor node" ) 

 

Guru

Regards
Guru (CLA)
0 Kudos
Message 4 of 4
(2,558 Views)