NL120 Ethernet Module
Records Display must be manually refreshed. In addition, links are provided to
all HTML files, all XML files, and all JPEG files in the datalogger.
FIGURE 6-1. Datalogger home page
If there is a default.html file on the datalogger, this will automatically become
the user-configurable home page.
The WebPageBegin/WebPageEnd declarations and the HTTPOut instruction
can be used in a datalogger program to create HTML or XML files that can be
viewed by the browser. For more information on using these instructions, see
the datalogger manual or CRBasic Editor Help.
FileOpen()
and
FileWrite()
can be used to create HTML pages,
but this requires first writing the file to the datalogger’s USR
drive. It is less convenient, and the page will be only as current as
it is written to the file.
6.3 FTP
6.3.1 FTP Server
With an NL120 attached, the datalogger will automatically run an FTP server.
This allows Windows Explorer to access the datalogger’s file system via FTP.
In the FTP world, the “drives” on the datalogger are mapped into directories
(or folders). The “root directory” on the datalogger will include CPU and
possibly USR. The files will be contained in one of these directories. Files can
be pasted and copied to/from the datalogger “drives” as if they were drives on
the PC. Files on the datalogger drives can also be deleted through FTP.
NOTE
8
Содержание NL120
Страница 2: ......
Страница 6: ......
Страница 8: ......
Страница 17: ...NL120 Ethernet Module FIGURE 6 2 FTP root directory FIGURE 6 3 FTP USR directory 9...
Страница 21: ......