Support Forums
Reprogram via FTP

Hi All,

My current project involves a DT85 on a ship, connected to the internet via a 3G router with a PC on the same LAN.

The PC is running a LabvView front-end to present live data from DT85. DT85 archives data to a remote FTP server every few hours, but I am wondering if there is a way that I can update the DT85's program remotely.

I can't connect to it directly as it doesn't have a static IP address. I am thinking that I could have the PC check the FTP server for a certain file every so often - that file would contain a new program for the DT85.

It could then download that file and even place it in the appropriate directory on the DT85...but what next? Is it possible to use something similar to the ONINSERT method to run the new program?

Would it be possible to automate the whole process of updating the DT85 program just by placing a file in an appropriate folder on the FTP server?

Alternatively, I suppose it might be possible to have the labview application update the DT85 program, but I would rather avoid this if there is a simpler way. Any ideas?

Regards,
Robin

Hi All, My current project involves a DT85 on a ship, connected to the internet via a 3G router with a PC on the same LAN. The PC is running a LabvView front-end to present live data from DT85. DT85 archives data to a remote FTP server every few hours, but I am wondering if there is a way that I can update the DT85's program remotely. I can't connect to it directly as it doesn't have a static IP address. I am thinking that I could have the PC check the FTP server for a certain file every so often - that file would contain a new program for the DT85. It could then download that file and even place it in the appropriate directory on the DT85...but what next? Is it possible to use something similar to the ONINSERT method to run the new program? Would it be possible to automate the whole process of updating the DT85 program just by placing a file in an appropriate folder on the FTP server? Alternatively, I suppose it might be possible to have the labview application update the DT85 program, but I would rather avoid this if there is a simpler way. Any ideas? Regards, Robin

Email an ONINSERT file to someone on the ship and stick it the USB port?

Craigus

Email an ONINSERT file to someone on the ship and stick it the USB port? Craigus

If you use the PC to check for a file on a FTP server you could grab the file, load it as an ONRESET job, Unload and clear current JOB data, then send a SINGLEPUSH reset.

Maybe?

Craigus

If you use the PC to check for a file on a FTP server you could grab the file, load it as an ONRESET job, Unload and clear current JOB data, then send a SINGLEPUSH reset. Maybe? Craigus

Isn't a Dynamic DNS function available in the 3G router? But, if you have a PC in the same LAN you can also run a Dynamic DNS update client e.g: http://www.dyndns.com/support/clients/ and solve the problem of changing IP address.

Then you have to open / route a port directly to the DT80's Ethernet port and you should be able to take full control of the logger.

An other approach, if you prefer, you can install VNC server to remote PC and take remote control using a VNC client.

Hope this help

Isn't a Dynamic DNS function available in the 3G router? But, if you have a PC in the same LAN you can also run a Dynamic DNS update client e.g: http://www.dyndns.com/support/clients/ and solve the problem of changing IP address. Then you have to open / route a port directly to the DT80's Ethernet port and you should be able to take full control of the logger. An other approach, if you prefer, you can install VNC server to remote PC and take remote control using a VNC client. Hope this help

Teo, Craigus,

Thanks for your replies.

Teo - your suggestion is a good one, but will only work if the SIM has a public IP address. The current setup uses a standard O2 3G sim card which doesn't have an IP address which can be accessed from the outside world.

The IP address visible to the DynDNS server, for example, would be that of O2's own server, and there is no way to access the router via that IP address. It is possible to source SIM cards with static, public IP address which I may have to do - I was hoping to find a way to avoid this.

Craigus - your suggestion is probably the only option. Since I am running a Labview program on the PC anyway it shouldn't be too difficult to add that additional functionality.

Regards,
Robin

Teo, Craigus, Thanks for your replies. Teo - your suggestion is a good one, but will only work if the SIM has a public IP address. The current setup uses a standard O2 3G sim card which doesn't have an IP address which can be accessed from the outside world. The IP address visible to the DynDNS server, for example, would be that of O2's own server, and there is no way to access the router via that IP address. It is possible to source SIM cards with static, public IP address which I may have to do - I was hoping to find a way to avoid this. Craigus - your suggestion is probably the only option. Since I am running a Labview program on the PC anyway it shouldn't be too difficult to add that additional functionality. Regards, Robin
54
4
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft