LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Comunication via ADSL using CVI

hello,

want to exchange data between 2 aplications, due to they are running on independent machine which located in different city zone, so hope can setup the  2 machines communication via ADSL . the existed applications are cvi based , please give aa advise how to create a ADSL connect . thanks.


David
0 Kudos
Message 1 of 7
(3,903 Views)

You can move data between systems that both run CVI using datasockets.

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3E3C556A4E034080020E74861

There is a help file in <your cvi directory>\DataSocket\help\

If datasockets do not have enough features to meet your needs, you would probably want to look at the winsock library in the windows SDK.

 

0 Kudos
Message 2 of 7
(3,888 Views)
hi MVT,

Do you means that it can setup connect between the two different network fields via DS ? Assuming the 2 machines are located the different city , can they communicate by DS?

David
0 Kudos
Message 3 of 7
(3,856 Views)

The network connection between cities is your plain old IP connection.  Anything with a routable IP address will work, which you would get from your ADSL connection.  On top of the IP connection you need a way to transport the data, like ftp or any of the standard internet protocols.  Datasockets are a communication protocol NI developed to handle data exchange in the test world.  You could use any of the common internet  protocols, but since you are using CVI, data sockets are also an option.  If you do not need to exchange data in realtime, and just need to move data files between systems, FTP would probably work just as well.

This link may explain it better:

http://www.ni.com/datasocket/ds_what.htm

 

 

Message Edited by mvr on 11-07-2005 07:51 AM

0 Kudos
Message 4 of 7
(3,850 Views)
Hi MVT,

Assuming my local ADSL IP address is 288.108.105.86 ,  and the inner network IP is 192.168.22.89 , and another machine which ADSL IP is 203.101.103.66 and is placed in another city, its inner IP is 192.168.22.99 , if using DS as the communication way , please advise what dstp address  should be filled between the two machine ? Thanks.


David
0 Kudos
Message 5 of 7
(3,817 Views)
The data is going to be sent between the two ADSL IPs  288.108.105.86 and 203.101.103.66.  These two addresses are unique to your systems, no one else uses them.  The 192.168.xx.xx IPs are internal.  There is a router or firewall between the PC and the ADSL line that has assigned these addresses for your use internal to each location.  This is normally done when multiple systems share the same ADSL line at a location.  For both systems the routers/firewalls must be set up to direct traffic that comes in the "Port" you have specified for your communication channel to the target PC you want the data to go to.  If this is not something you are familiar with, you will need to get help from whoever does your network support.  You will definitely need network support help if the ADSL line at either location is shared behind a router.  They will have to let you know what kind of IP address/port setup you need to use at the PC for your application.  You may want to get them involved anyway since opening up a port to the public internet does require some knowledge of how to configure your firewalls etc for security.
0 Kudos
Message 6 of 7
(3,793 Views)
Thanks a lot .
0 Kudos
Message 7 of 7
(3,777 Views)