LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

programmtically access DataSocket server in cvi 6.0

Hello Sirs,
My OS is windows 2000 .There are some questions about how to use DataSocket in CVI 6.0:

1,Can programmtically hide Datasocket server icon located in the system tray ?
2,We can use DataSocket server manager to setting maxConnections to limit the connection numbers ,can I programmtically to do the same thing ?

3,there is a datasocket example , ReadAttr.prj , when compiling it in debug mode , it generates the .exe file correctly , but when running it , it always popup such a error message :"FATAL RUN-TIME erreor ,unknown
source position ,thread id 0x000004fc ,a non-debuggable thread caused a 'general protection' fault at address 684af9a7" .how to resolve the problem ? Thanks .

David
0 Kudos
Message 1 of 2
(2,891 Views)
Hello

At this point, there is not much you can do programatically with the datasocket server.I can make this a suggestion though for something the developers could look into for future versions of datasocket.

As for the datasocket error, make sure you create a debug executable. The extra debugging information will help pinpoint where the problem is. Try running some of the other datasocket examples and see if they cause the same problem as well. It might just be a bad datasocket install

I hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(2,891 Views)