03-08-2007 11:20 PM
03-12-2007 08:22 AM
03-16-2007 02:15 AM
03-16-2007 02:37 PM
The CVI PC is doing the "connecting" so the IP of the CVI system or that it is behind a router does not matter that much. The CVI system needs a way to find the embedded device. If the embedded device has a static routable IP and it is not blocked by a firewall, you can connect to it directly from CVI. This address would look something like the form 24.122.xx.xx. There will probably also be a "port" number associated with the connection. How you connect is dependant on what type of connections the embedded device is set up to accept (UDP/Sockets, FTP, TCP). How easy it is to make the connection will depend on the version of CVI you have. FTP and TCP are supported by the CVI Full Development System. UDP is supported directly from windows and can be accessed from the CVI base development system.
There are a lot of different methods and protocols that handle IP based communication. Without some specific information on what the embedded system communication link is looking for it will be difficult to point to a specific path you can take. Here are a few links that may be of some help.
For UDP
http://zone.ni.com/devzone/cda/epd/p/id/4315For TCP
http://zone.ni.com/devzone/cda/tut/p/id/306703-19-2007 11:38 PM
03-20-2007 07:54 AM - edited 03-20-2007 07:54 AM
The ADSL link to the internet is handled by the Operating System. The setup for the actual ADSL card to internet connection is handled completely by the OS under windows XP. What you need to know to get started using the connection is:
1) What is the IP address of the embedded system (format xxx.xxx.xxx.xxx) or its DNS entry (format http://xxxxxxx.com). If the system uses a static IP address you can connect using only the IP. If the system uses a dynamic IP address a DNS entry is probably going to be required.
2) Is the embedded device behind a firewall or router? If so how does the administrator of the embedded end handle port forwarding and IP address assignments for external connections.
3) What Internet Protocol is used by the embedded system; FTP (used for file transfer only), UDP (used for basic data streaming), TCP (used for all kinds of data links)?
4) What port is used to connect to the embedded device.? The format will be something like port 80 or :4026.
5) Is your CVI PC behind a firewall? If yes, make sure it does not block the port you need to connect to the embedded device.
6) Are you using the CVI Full Development System (FDS) or the CVI Basic package?
The next step will be selecting one of the CVI sample programs as a starting point, but the answers to the previous questions will determine which one.
Message Edited by mvr on 03-20-2007 07:55 AM