Support

Subscribe to e-news:

Network Video News

Enter your E-mail:


Other e-newsletter options

Search

Technical Note: Phone/ISDN Modem connection


The information in this article applies to:

  • AXIS 2100/2120/2400/2401/2420 from F/W version 2.12 and AXIS 2400+/2401+ from F/W version 3.01.

Summary

This article shows how an Axis network video product can connect to an Internet Service Provider (ISP) and upload images over a modem connection.

More information

An Axis network video product is able to, on a certain timed frequency or based on an alarm trigger, dial to an  (ISP) and deliver images using FTP.

Instructions

  1. Connect the Axis network video product to a modem.
    Currently supported modems: US Robotics Sportster Flash, 3Com 56k Faxmodem V.90, Ericsson K56 DTV (V.90) and Diamond Supra Express 56e PRO.
  2. Use your standard dial-up networking to dial to the Axis network video product.
  3. You now have access to the internal Web of the Axis network video product. Start by using the Installation wizard to configure the ISP dial-up connection.
  4. In the wizard, you will configure ISP dial-up properties. If you are a subscriber to one of the supported Internet Service Providers, you may simply select your ISP from the list. If your ISP is not on the supported list, you may configure it as a Generic ISP.
  5. The wizard will also help you to configure your FTP properties.
  6. Configure how often you want the image to be updated on your Web.
  7. Add a reference to the continuously updated image in one of your Web pages. Example: <img src="image.jpg">
  8. Done.

Note: Some browsers handle image caching differently then they would a text or html page. They cache images regardless if they have changed on the server or not. Users may thus see an old cached image when they access the page even if the image has been updated since last access. In the available example it is shown how to avoid this by using a dummy CGI parameter. The html page example also includes a meta tag that will automatically reload the html page every 30 seconds. 

All you have to do is to specify the BaseURL with the IP address of your Web server and the File as described in the example.

Example

<html>
<head>
<META http-equiv="Refresh" content="30">
<!-- The Meta tag below makes this page refresh every 30 seconds -->
<!-- Change the number 30 into your desired refresh rate or remove this -->
<!-- Tag if you do not want the page to refresh automatically -->

<title>JPG Image Demo</title>
</head>
<body>
<center>
<h2>JPEG image from a FTP server</h2>

<!-- Cut from here to the end of image display comment -->
<!-- Note: If you do not see a JavaScript below in the view source window you must -->
<!-- first save the html file from your browser, then open the saved -->
<!-- file in a text editor, for instance Notepad.-->

<SCRIPT LANGUAGE="JavaScript">
// Set the BaseURL to the url of your Web server
// Example: var BaseURL = "http://172.21.1.122/";

var BaseURL = "http://[myWebServer]/";

// DisplayWidth & DisplayHeight specifies the displayed width & height of the image.
// The values depend on what Network Camera and resolution are used.
// Select the Network Camera and resolution by removing the "//" at the beginning 
// of the applicable line.
// Note that only one can be enabled.

// AXIS 2100
// var DisplayWidth = "320";var DisplayHeight = "240";// Resolution 320x240:
// var DisplayWidth = "640";var DisplayHeight = "480";// Resolution 640x480:

// AXIS 2120/2400/2400+/2401/2401+/2420 PAL
// var DisplayWidth = "352";var DisplayHeight = "288";// Resolution 352x288:
// var DisplayWidth = "704";var DisplayHeight = "576";// Resolution 704x576:

// AXIS 2120/2400/2400+/2401/2401+/2420 NTSC
// var DisplayWidth = "352";var DisplayHeight = "240";// Resolution 352x240:
// var DisplayWidth = "704";var DisplayHeight = "480";// Resolution 704x480:

// This is the filepath to the location where the image is stored in the FTP server.
// Note that this has to be an alias in the Web server to work.
// Example: var File = "/images/image.jpg";

var File = "/[path]/[image.jpg]";

// No changes required below this point
theDate = new Date();
var output = "<IMG SRC=\"";
output += BaseURL;
output += File;
output += "?dummy=";
output += theDate.getTime().toString(10);
// The above dummy cgi-parameter enforce a bypass of the browser image cache.
output += "\" HEIGHT=\"";
output += DisplayHeight;
output += "\" WIDTH=\"";
output += DisplayWidth;
output += "\" ALT=\"Live Image\">";

document.write(output);
</SCRIPT>
<!-- End of image display part -->
</BODY>
</HTML>

Axis does not take any responsibility for how these configuration changes may affect your system. If the modification fails or if you get other unexpected results, you may have to restore the factory default settings as described in the User’s Manual.

 

 

Axis specializes in professional network video and printing solutions

    Glossary  |  Contact  |  Sites  |  Privacy Statement