LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data Socket fails if built in DLL and called by Labview

I've placed a Data Socket Connection Open in a SubVi and tested this by running the VI. -> No Problems.
Then i've compiled a DLL from this Vi and started it from Visual C. -> No problems
Now, i've included this DLL in another VI and started this.  Now i receive an Error.
All Information is hardcoded in the DLL so there are no possiblities with parametrization.
 
Does anyone have an Idea regarding this?
 
 
Best regards
Hacky
0 Kudos
Message 1 of 4
(2,495 Views)
Dear Hacky,

thanks a lot for your post. Normally it should work to call a DLL with DataSocket open in it in LabVIEW. I am investigating this issue in the moment and it would be great if you could post me the error you receive. And which LabVIEW ar you using?

Thanks in advance.

Best regards,

Carsten Sprung
Application Engineer
National Instruments Germany
0 Kudos
Message 2 of 4
(2,478 Views)

hi there,

i can confirm this with

LabVIEW 7.1
Win2000 SP4
DataSocket 4.2

Errorcode is 56 "Timeout" with DataSocket Server running.

 

 

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 3 of 4
(2,475 Views)
Hello Carsten_S.....
 
my collegue, who found this behaviour made a little package to
show the environment. Since he uses a camera system there is no
possibility to get it running. But it should be easy to create a LV based
server.
 
Our Environment is:

LV 7.1
Windows XPSR2
 
Regards, Hacky
0 Kudos
Message 4 of 4
(2,464 Views)