LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Connect to an ISP from FieldPoint via a Modem

Hi,

I need to develop a VI that can be used on a FieldPoint, so that the FIeldPoint can connect to an ISP via a modem and send a file across the internet to an FTP server. Does anyone know if this is possible and if so how?
0 Kudos
Message 1 of 6
(3,974 Views)
My initial reaction is that it would be possible, albeit possibly somewhat complicated, to do that. I am confused as to your set up, however. What FieldPoint module(s) do you have, or at least what is the controlling module? Since you posted the question in the LabVIEW Real-Time group, I am assuming your code is on the FP-2000 or FP-2010, running in the embedded LabVIEW environment. There are a couple of questions:

1. Where is the file that needs to be sent via FTP?
2. Where is the modem that will be connecting to the ISP?

If my assumption about the FP-20x0 was incorrect, then this question would be better handled by someone in our industrial automation group or someone else browsing the developer exchange. Either way, the answer to the above questions a
nd a bit of a clarification would help either myself or someone else provide you with assistance.
0 Kudos
Message 2 of 6
(3,973 Views)
Hi,

We are using FP-2000, the text file that needs to be sent will be generated on the FieldPoint and we want to send it to an FTP server. The modem is a GSM modem and will be connected to a serial port of the FieldPoint.
0 Kudos
Message 3 of 6
(3,973 Views)
What you are suggesting should be possible, but there are two major challenges that it presents:

1. How do you dial the modem to connect to the ISP from the FP-2000?

2. How do you send a file to an FTP site?

The first is definately the most difficult. It would require you to know details about your ISP that are not normally published by ISPs. I am attaching an LLB of VIs that can be used to help with this, but it will definately require some additional programming to go from being connected to the ISP to actually going through the actions required to obtain an internet IP address, etc.

Once the first issue is resolved, the second issue can be made trivial through use of the internet developers toolkit. A single VI will send a fil
e to an FTP site. Without the internet toolkit, this is not a trivial task. It requires knowledge of the FTP protocol and how to implement its functionality using the TCP/IP VIs in LabVIEW.
0 Kudos
Message 4 of 6
(3,973 Views)
If you use a GSM / GPRS / EDGE /HSDPA modems, you can also use libraries (e.g. www.lysko.com, or www.sitem.co.it).
0 Kudos
Message 5 of 6
(3,769 Views)
hi zzz

hav u achivied this if yes then would u like to share it with me

thanx

mazhar
0 Kudos
Message 6 of 6
(3,530 Views)