Campbell Scientific NL116 NL116 Ethernet and CompactFlash Module - Page 25

RS-232, Device Type, Communication Port, Baud Rate, Connec, Network Services, FTP Enabled, FTP User

Page 25 highlights

NL116 Ethernet and CompactFlash® Module In order to use FTP, the datalogger's FTP User Name and FTP Password must be set. This is done using DevConfig. Step 1: Configure Datalogger a. Connect serial cable from PC COM port to datalogger RS-232 port. b. Open Campbell Scientific's DevConfig. Select the Device Type of the datalogger (CR1000 or CR3000), the appropriate Communication Port and Baud Rate. Connect to the datalogger. e. Under the Network Services tab, verify that FTP Enabled is checked. Input the FTP User Name and FTP Password. f. Press the Apply button to save the changes and then close DevConfig. NOTE Using anonymous as the user name with no password allows FTP access without inputting a user name or password. Step 2: Access File System a. The datalogger must be set up for Ethernet communications as explained in Sections 4.1, Physical Setup (p. 2), and 4.2, Communicating via Ethernet (p. 3) (Step 1 only). b. Open a Windows Explorer window. Enter ftp://username:[email protected] where nnn.nnn.nnn.nnn is the IP address of the datalogger. NOTE If the user name is "anonymous" with no password, enter ftp://nnn.nnn.nnn.nnn where nnn.nnn.nnn.nnn is the IP address of the datalogger. 7.1.3.2 FTP Client The datalogger can be an FTP client for the purpose of putting, getting, and managing files on an FTP server. It can also be used to transfer table data easily. This is done using the FTPClient() instruction. The following program is an example of using FTPClient() to send a file to another datalogger and get a file from that datalogger. For more information, see the FTPClient() instruction in the CRBasic Editor help. 17

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44

NL116 Ethernet and CompactFlash
®
Module
In order to use FTP, the datalogger’s FTP User Name and FTP Password must
be set.
This is done using
DevConfig
.
Step 1: Configure Datalogger
a.
Connect serial cable from PC COM port to datalogger
RS-232
port.
b.
Open Campbell Scientific’s
DevConfig
.
Select the
Device Type
of the
datalogger (CR1000 or CR3000), the appropriate
Communication Port
and
Baud Rate
.
Connec
t to the datalogger.
e.
Under the
Network Services
tab, verify that
FTP Enabled
is checked.
Input the
FTP User Name
and
FTP Password
.
f.
Press the
Apply
button to save the changes and then close
DevConfig
.
Using
anonymou
s as the user name with no password allows FTP
access without inputting a user name or password.
Step 2: Access File System
a.
The datalogger must be set up for Ethernet communications as explained
in Sections
4.1
,
Physical Setup
(p. 2)
, and
4.2
,
Communicating via Ethernet
(p. 3)
(Step 1 only).
b.
Open a Windows Explorer window.
Enter
ftp://username:[email protected]
where nnn.nnn.nnn.nnn is
the IP address of the datalogger.
If the user name is “anonymous” with no password, enter
where nnn.nnn.nnn.nnn is the IP address
of the datalogger.
7.1.3.2 FTP Client
The datalogger can be an FTP client for the purpose of putting, getting, and
managing files on an FTP server. It can also be used to transfer table data
easily.
This is done using the
FTPClient()
instruction.
The following program
is an example of using
FTPClient()
to send a file to another datalogger and get
a file from that datalogger.
For more information, see the
FTPClient()
instruction in the
CRBasic Editor
help.
NOTE
NOTE
17