LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Data Socket Port

Hello,
 
I want my LabWindows/CVI program running on the network using Data Socket.
The problem is the data socket server shouldn't be open the firewall (the network need high security level), so that other clients couldn't get in to the firewall in Windows XP.
So, is there any specific port number for the data socket? so that I can only allow the clients to connect through that port?
Or any other method that I can use?
 
Thanks,
yk.
0 Kudos
Message 1 of 4
(3,705 Views)

This knowledge base lists the ports used by various NI products, including DataSocket. Incidentally, DataSocket uses port 3015.

Hope this helps,

-alex

Message 2 of 4
(3,697 Views)

That was great. It seems the port is opened now.

Actually though, when I run the server, a client at the same machine runs just fine - but one in other network machine complaints saying: "The Variant does not contain a Safe Array." 

Do you have any idea on this problem?

Thanks a lot for your help.

0 Kudos
Message 3 of 4
(3,689 Views)
What function call is returning the error?  It sounds like you are getting your data back as the VARIANT type, then using VariantGetXXXArray, assuming that the data returned is an array, when it really is something else.  If you try to get array data from a VARIANT that does not contain an array type, you will get an error like the one you're describing.
0 Kudos
Message 4 of 4
(3,669 Views)