Datalogger Websites

Datalogger websites run on a compatible HTTP-enabled datalogger such as the CR6 or a CR1000 with an NL121 attached. Datalogger websites must be designed by RTMC Pro and can only have one data source. The data source must be an HTTP Datalogger Source.

Press the Add button and select Add Datalogger Website to add a Datalogger Website.

You can press the Rename button to rename the website. This will be the name shown in the title bar, when the website is accessed.

Datalogger Web Server Settings

Host Address - Specifies the address where you will be publishing your website. The address can be a domain name or IP address in the form XXX.XXX.XXX.XXX for an IPv4 address or [XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX] for an IPv6 address. If you are using a port other than the default port (80 for http, 443 for https), you need to specify it using a colon followed by the port. For example, campbellsci.com:8080, 192.168.1.1:1234, or [2620:24:8080:8600:85a1:fcf2:2172:11bf]:8080.

NOTE: If the datalogger has only HTTPS enabled with HTTP disabled, it must be specified by adding https:// in front of the IP address or domain name.

CR1000/CR3000/CR800 series dataloggers require OS 28 or later to support IPv6 addresses.

User ID - In order to publish a website to a datalogger web server, a root level user must be created. Device Configuration Utility (DevConfig) is used to do this for a datalogger web server. The Account Manager controls user accounts and passwords that will be able to publish projects to the web server. In order to publish, a user account needs to be assigned an access level of "all". This user account with "all" access is called the Root User ID. (See Web Security for more information.)

Password - The root password is the password associated with the root user ID that has been given "all" access to publish websites to the web server.

Remote Folder - The remote folder controls where a website will be published relative to the web server’s root directory. On the datalogger web server, you are limited on which folders you have available. Currently you can specify /CPU/, /USR/, or /CRD/, if these directories are available. Clicking on the "Remote Folder" drop down list will show you which folders are currently available.

Website Settings

Edit Tracker Code - Tracker codes can optionally be inserted to track website access. All tracker codes are inserted into a <script> </script> block and are automatically inserted in each page of your website. Google Analytics™ web analytics service and many other tracking services are available for free. The available services range from simple hit counters to enterprise-class web analytic solutions.

Disable Web Sockets - By default, web sockets are used to push data from the web server or datalogger as soon as it becomes available. This is the preferred method. However, some networks do not allow web sockets. Selecting this check box will disable web sockets causing data to be polled by the web browser.

RTMC Settings

Project File - The RTMC project file (*.RTMC2) that will be used to generate the website. Datalogger websites require an RTMC Pro project that only contains one data source. The data source must be an HTTP Datalogger Source. When publishing a website, all of the screens, images, and required files are compiled together and automatically copied to the web server.

NOTE: The HTTP datalogger source in your RTMC project does not need to be specific to the datalogger that the website is published to (e.g., an RTMC project with an HTTP datalogger source at 192.168.4.14 can be published to a datalogger with an IP address of 192.168.9.99). This allows you to create one RTMC project that can be published to multiple datalogger websites.

Default Poll Interval – This setting determines the rate at which data is polled by a web browser on older systems. This setting is somewhat deprecated because of more modern web technologies that have been implemented across many of our products. If you have the latest version of our software, data is now pushed from the web server or datalogger as soon as it becomes available instead of needing to be continually polled.

This functionality is available in:

  • CSI Web Server 1.4 or later
  • CR1000/CR3000/CR800 Series OS 29 or later
  • CR6 Series OS 4 or later

If this functionality is not supported on your system, data will revert to being polled at the Default Poll Interval. This means that the browser must ask the web server if it has any new data to be displayed. This setting determines how often new data will be requested. The default poll interval is set to 10 seconds. This setting should be adjusted to provide data at a rate that is suitable for your application. There are many factors that affect how fast data will be able to be polled including the number of users viewing the page, the number of dataloggers being polled, the size of data tables in the dataloggers, the resources available to the web server, the internet browser resources, connection bandwidth, etc.

Display Settings

Hide Navigation Tabs - By default, websites will be displayed with navigation tabs at the top of the web page. These tabs allow users to navigate your website. You can disable these tabs and implement your own navigation system using Hot Spots in RTMC Pro.

Show data browse tab - The show data browse tab option will display a Browse Data tab on your website. This tab allows you to view data from HTTP data source.

It also provides a mechanism to do custom data queries. Custom data queries let you download data files or view data directly in the browser. Each table in the Browse Data tab will have a Custom link next to the table name. Click on the link to open the Custom Data Query window and perform a custom data query.

Show file browse tab - The show file browse tab option will display a Browse Files tab on a datalogger web server. The file browser allows you to traverse the file system of the datalogger. Each folder is displayed with a link as well as some information about the size of the folder and when the folder was last written to. When clicking on a folder, you will see a list of all the visible files in the directory. Each file is a link, so you can click on the file and view it or download it. The size of the file and last write time are also displayed. Clicking on the [..] link will take you back to the root directory list of the datalogger file system.

Show datalogger status tab - The show datalogger status tab option will display a Datalogger Status tab on your website. If you are viewing the website on a datalogger web server, you will see the datalogger status. This includes datalogger information, program information, battery information, and card information.