Campbell Scientific NL116 and CompactFlash Owner's manual

Category
Measuring, testing & control
Type
Owner's manual

This manual is also suitable for

INSTRUCTION MANUAL
NL116 Ethernet and
CompactFlash
®
Module
Revision: 6/15
Copyright © 2006- 2015
Campbell Scientific, Inc.
Limited Warranty
“Products manufactured by CSI are warranted by CSI to be free from defects in
materials and workmanship under normal use and service for twelve months
from the date of shipment unless otherwise specified in the corresponding
product manual. (Product manuals are available for review online at
www.campbellsci.com.) Products not manufactured by CSI, but that are resold
by CSI, are warranted only to the limits extended by the original manufacturer.
Batteries, fine-wire thermocouples, desiccant, and other consumables have no
warranty. CSI’s obligation under this warranty is limited to repairing or
replacing (at CSI’s option) defective Products, which shall be the sole and
exclusive remedy under this warranty. The Customer assumes all costs of
removing, reinstalling, and shipping defective Products to CSI. CSI will return
such Products by surface carrier prepaid within the continental United States of
America. To all other locations, CSI will return such Products best way CIP
(port of entry) per Incoterms ® 2010. This warranty shall not apply to any
Products which have been subjected to modification, misuse, neglect, improper
service, accidents of nature, or shipping damage. This warranty is in lieu of all
other warranties, expressed or implied. The warranty for installation services
performed by CSI such as programming to customer specifications, electrical
connections to Products manufactured by CSI, and Product specific training, is
part of CSI's product warranty. CSI EXPRESSLY DISCLAIMS AND
EXCLUDES ANY IMPLIED WARRANTIES OF MERCHANTABILITY
OR FITNESS FOR A PARTICULAR PURPOSE. CSI hereby disclaims,
to the fullest extent allowed by applicable law, any and all warranties and
conditions with respect to the Products, whether express, implied or
statutory, other than those expressly provided herein.
Assistance
Products may not be returned without prior authorization. The following
contact information is for US and international customers residing in countries
served by Campbell Scientific, Inc. directly. Affiliate companies handle
repairs for customers within their territories. Please visit
www.campbellsci.com to determine which Campbell Scientific company serves
your country.
To obtain a Returned Materials Authorization (RMA), contact CAMPBELL
SCIENTIFIC, INC., phone (435) 227-9000. After an application engineer
determines the nature of the problem, an RMA number will be issued. Please
write this number clearly on the outside of the shipping container. Campbell
Scientifics shipping address is:
CAMPBELL SCIENTIFIC, INC.
RMA#_____
815 West 1800 North
Logan, Utah 84321-1784
For all returns, the customer must fill out a Statement of Product Cleanliness
and Decontaminationform and comply with the requirements specified in it.
The form is available from our web site at www.campbellsci.com/repair. A
completed form must be either emailed to repair@campbellsci.com or faxed to
(435) 227-9106. Campbell Scientific is unable to process any returns until we
receive this form. If the form is not received within three days of product
receipt or is incomplete, the product will be returned to the customer at the
customers expense. Campbell Scientific reserves the right to refuse service on
products that were exposed to contaminants that may cause health or safety
concerns for our employees.
Precautions
DANGER MANY HAZARDS ARE ASSOCIATED WITH INSTALLING, USING, MAINTAINING, AND WORKING ON OR AROUND
TRIPODS, TOWERS, AND ANY ATTACHMENTS TO TRIPODS AND TOWERS SUCH AS SENSORS, CROSSARMS, ENCLOSURES,
ANTENNAS, ETC. FAILURE TO PROPERLY AND COMPLETELY ASSEMBLE, INSTALL, OPERATE, USE, AND MAINTAIN TRIPODS,
TOWERS, AND ATTACHMENTS, AND FAILURE TO HEED WARNINGS, INCREASES THE RISK OF DEATH, ACCIDENT, SERIOUS
INJURY, PROPERTY DAMAGE, AND PRODUCT FAILURE. TAKE ALL REASONABLE PRECAUTIONS TO AVOID THESE HAZARDS.
CHECK WITH YOUR ORGANIZATION'S SAFETY COORDINATOR (OR POLICY) FOR PROCEDURES AND REQUIRED PROTECTIVE
EQUIPMENT PRIOR TO PERFORMING ANY WORK.
Use tripods, towers, and attachments to tripods and towers only for purposes for which they are designed. Do not exceed design
limits. Be familiar and comply with all instructions provided in product manuals. Manuals are available at www.campbellsci.com or
by telephoning (435) 227-9000 (USA). You are responsible for conformance with governing codes and regulations, including safety
regulations, and the integrity and location of structures or land to which towers, tripods, and any attachments are attached. Installation
sites should be evaluated and approved by a qualified engineer. If questions or concerns arise regarding installation, use, or
maintenance of tripods, towers, attachments, or electrical connections, consult with a licensed and qualified engineer or electrician.
General
Prior to performing site or installation work, obtain required approvals and permits. Comply
with all governing structure-height regulations, such as those of the FAA in the USA.
Use only qualified personnel for installation, use, and maintenance of tripods and towers, and
any attachments to tripods and towers. The use of licensed and qualified contractors is highly
recommended.
Read all applicable instructions carefully and understand procedures thoroughly before
beginning work.
Wear a hardhat and eye protection, and take other appropriate safety precautions while
working on or around tripods and towers.
Do not climb tripods or towers at any time, and prohibit climbing by other persons. Take
reasonable precautions to secure tripod and tower sites from trespassers.
Use only manufacturer recommended parts, materials, and tools.
Utility and Electrical
You can be killed or sustain serious bodily injury if the tripod, tower, or attachments you are
installing, constructing, using, or maintaining, or a tool, stake, or anchor, come in contact with
overhead or underground utility lines.
Maintain a distance of at least one-and-one-half times structure height, 20 feet, or the distance
required by applicable law, whichever is greater, between overhead utility lines and the
structure (tripod, tower, attachments, or tools).
Prior to performing site or installation work, inform all utility companies and have all
underground utilities marked.
Comply with all electrical codes. Electrical equipment and related grounding devices should
be installed by a licensed and qualified electrician.
Elevated Work and Weather
Exercise extreme caution when performing elevated work.
Use appropriate equipment and safety practices.
During installation and maintenance, keep tower and tripod sites clear of un-trained or non-
essential personnel. Take precautions to prevent elevated tools and objects from dropping.
Do not perform any work in inclement weather, including wind, rain, snow, lightning, etc.
Maintenance
Periodically (at least yearly) check for wear and damage, including corrosion, stress cracks,
frayed cables, loose cable clamps, cable tightness, etc. and take necessary corrective actions.
Periodically (at least yearly) check electrical ground connections.
WHILE EVERY ATTEMPT IS MADE TO EMBODY THE HIGHEST DEGREE OF SAFETY IN ALL CAMPBELL SCIENTIFIC PRODUCTS,
THE CUSTOMER ASSUMES ALL RISK FROM ANY INJURY RESULTING FROM IMPROPER INSTALLATION, USE, OR
MAINTENANCE OF TRIPODS, TOWERS, OR ATTACHMENTS TO TRIPODS AND TOWERS SUCH AS SENSORS, CROSSARMS,
ENCLOSURES, ANTENNAS, ETC.
i
Table of Contents
PDF viewers: These page numbers refer to the printed version of this document. Use the
PDF reader bookmarks tab for links to specific sections.
1. Introduction ................................................................. 1
2. Cautionary Statements ............................................... 1
3. Initial Inspection ......................................................... 2
4. Quickstart .................................................................... 2
4.1 Physical Setup ...................................................................................... 2
4.2 Communicating via Ethernet................................................................ 3
4.2.1 Step 1: Configure Datalogger ....................................................... 3
4.2.2 Step 2: LoggerNet Setup ............................................................... 4
4.2.3 Step 3: Connect ............................................................................. 7
4.3 Programming the Datalogger to Save Data to the CompactFlash
®
Card .................................................................................................. 7
4.4 CF Card Data Retrieval ........................................................................ 8
5. Overview ...................................................................... 9
5.1 Buttons and Status LED ..................................................................... 10
5.2 Power ................................................................................................. 10
5.3 CF Card Data Retention ..................................................................... 10
6. Specifications ........................................................... 10
7. Operation ................................................................... 12
7.1 TCP/IP Functionality ......................................................................... 12
7.1.1 Communicating Over TCP/IP ..................................................... 12
7.1.1.1 Data Callback ................................................................... 12
7.1.1.2 Datalogger-to-Datalogger Communication ...................... 13
7.1.2 HTTP Web Server ...................................................................... 14
7.1.3 FTP ............................................................................................. 15
7.1.3.1 FTP Server ....................................................................... 15
7.1.3.2 FTP Client ........................................................................ 17
7.1.4 Telnet .......................................................................................... 18
7.1.5 Ping ............................................................................................. 18
7.1.6 Serial Server ................................................................................ 18
7.1.6.1 Serial Input ....................................................................... 18
7.1.6.2 Serial Output .................................................................... 18
7.1.7 TCP ModBus .............................................................................. 19
7.1.8 DHCP .......................................................................................... 19
7.1.9 DNS ............................................................................................ 19
7.2 File Formats ....................................................................................... 19
7.2.1 Data Files .................................................................................... 19
7.2.2 Program Files .............................................................................. 20
7.2.3 Power-up Files (Powerup.ini) ..................................................... 20
Table of Contents
ii
7.2.3.1
Creating and Editing Powerup.ini .................................... 20
7.2.3.2 Applications ..................................................................... 21
7.2.3.3 Program Execution .......................................................... 22
7.2.3.4 Example Powerup.ini Files .............................................. 22
7.2.4 Camera Files .............................................................................. 23
7.3 Programming ..................................................................................... 23
7.3.1 The CardOut() Instruction .......................................................... 23
7.3.2 Program Examples ..................................................................... 24
7.3.2.1 Ring Mode ....................................................................... 24
7.3.2.2 Fill-and-Stop Mode.......................................................... 24
7.3.2.3 Mixed Modes ................................................................... 25
7.3.3 Table Size and Mode .................................................................. 26
7.4 CF Card Data-Retrieval Details ......................................................... 26
7.4.1 Via a Communication Link ........................................................ 26
7.4.1.1 Fast Storage/Data-Collection Constraints ........................ 26
7.4.2 Transporting CF Card to Computer ............................................ 27
7.4.2.1 Converting File Formats .................................................. 27
7.4.2.2 Reinserting the Card ........................................................ 28
7.4.2.3 Card Swapping ................................................................ 28
Appendix
A.
CF Card Maintenance ............................................. A-1
A.1 Formatting CF Card ........................................................................ A-1
A.1.1 Windows Explorer ................................................................... A-1
A.1.2 CR1000KD ............................................................................... A-2
A.1.3 LoggerNet File Control ............................................................ A-2
A.2 Checking CF Card Integrity ............................................................ A-3
Figures
4-1. NL116 attached to a CR1000 .............................................................. 2
4-2. DevConfig setup .................................................................................. 3
4-3. Setup screen (EZ View) Datalogger Type ........................................... 4
4-4. Setup screen (EZ View) Connection Type .......................................... 5
4-5. Setup screen (EZ View) IP Port Settings............................................. 6
4-6. Setup screen (EZ View) Datalogger Settings ...................................... 7
5-1. NL116 Ethernet/CompactFlash
®
Module ............................................ 9
7-1. Datalogger home page ....................................................................... 15
7-2. FTP root directory ............................................................................. 16
7-3. FTP CRD directory ........................................................................... 16
7-4. CardConvert ...................................................................................... 28
Table
7-1. Powerup.ini Commands .................................................................... 21
1
NL116 Ethernet and CompactFlash
®
Module
1. Introduction
Campbell Scientific’s NL116 Ethernet/CompactFlash
®
Module provides two
independent capabilities: (1) it enables Ethernet communications and (2) stores
data on a removable CompactFlash
®
(CF) card. It allows the datalogger to
communicate over a local network or a dedicated Internet connection via
Ethernet. It also expands on-site data storage and provides the user with a
convenient method of transporting data from the field back to the office. This
small, rugged communication device connects to the 40-pin peripheral port on
a CR1000 or CR3000 datalogger.
This manual describes how to use LoggerNet to connect to your datalogger
with an NL116 attached. You can also use other software packages such as
PC400, RTDAQ, or LoggerLink Mobile Apps for iOS and Android.
Campbell Scientific recommends that only CF cards that have passed our
testing be used with the NL116. For more information on CF cards, see
Campbell Scientific’s application note CF Card Information (3SM-F). Note
that it is not necessary to purchase the CF cards directly from Campbell
Scientific as long as the manufacturer and model number match those shown in
the application note.
Before using the NL116, please study:
Section 2, Cautionary Statements
(p. 1)
Section 3, Initial Inspection
(p. 2)
Section 4, Quickstart
(p. 2)
The Quickstart section explains how to quickly begin using an NL116 for
straightforward Ethernet communications and data-storage operations. The
remainder of the manual is a technical reference which describes in detail such
operations as: IP functionality, file formats, datalogger programming, and data
retrieval.
2. Cautionary Statements
READ AND UNDERSTAND the Precautions section at the front of this
manual.
The NL116 requires CR1000 or CR3000 operating system version 28 or
later.
The first time an NL116 is attached to a datalogger, the datalogger’s
memory has to be reorganized to allow room in memory for the IP stack.
To avoid the loss of data, collect your data before attaching the NL116 to a
datalogger.
The NL116 is rugged, but it should be handled as a precision scientific
instrument.
NL116 Ethernet and CompactFlash
®
Module
2
The NL116 has integrated surge protection. In order for the surge
protection to work correctly, the NL116 must be well grounded. The
NL116 is grounded through the dataloggers ground lug via the thumb
screw used to attach the NL116 to the datalogger. That connection is only
made if the thumb screw on the NL116 is tightened down to the
datalogger.
Shielded Ethernet cable should be used for cable lengths longer than 9 ft.
Always power down the datalogger before installing to or removing the
NL116 from the datalogger.
3. Initial Inspection
Upon receipt of the NL116, inspect the packaging and contents for damage.
File damage claims with the shipping company.
4. Quickstart
This section describes the basics of communicating via Ethernet and storing
and retrieving datalogger data. These operations are discussed in detail in
Section 7, Operation
(p. 12).
4.1 Physical Setup
Always collect your data before attaching the NL116.
Always power down the datalogger before installing to or
removing the NL116 from the datalogger.
After powering down the datalogger, plug the NL116 into the datalogger
peripheral port (see FIGURE 4-1). Attach Ethernet cable to the Ethernet port.
Restore power to the datalogger. Insert formatted CF card. (For instructions
on formatting a CF card, see Appendix A, CF Card Maintenance
(p. A-1).)
A CF card does not need to be present in order to use the NL116’s
IP functionality.
FIGURE 4-1. NL116 attached to a CR1000
CAUTION
CAUTION
NOTE
NL116 Ethernet and CompactFlash
®
Module
3
4.2 Communicating via Ethernet
4.2.1 Step 1: Configure Datalogger
a. Connect serial cable from PC COM port to the datalogger RS-232 port.
b. Open Campbell Scientific’s Device Configuration Utility (DevConfig).
Select the Device Type of the datalogger (CR1000 or CR3000), the
appropriate Communication Port, and Baud Rate. Connect to the
datalogger.
c. Under the TCP/IP tab, input the IP Address, Subnet Mask, and IP
Gateway. These values should be provided by your network
administrator.
Alternatively, note the Eth IP address assigned to the datalogger via
DHCP. However, note that this address is not static and may change.
FIGURE 4-2. DevConfig setup
d. Press the Apply button to save the changes and then close DevConfig.
A temporary IP address may be obtained from a DHCP server.
For more information, see Section 7.1.8, DHCP (p. 19).
NOTE
NL116 Ethernet and CompactFlash
®
Module
4
The NL116 must be connected to the datalogger before
configuring the datalogger with DevConfig. If it is not connected,
the TCP/IP settings will not be displayed.
4.2.2 Step 2: LoggerNet Setup
The next step is to run LoggerNet and configure it to connect to the datalogger
via the Ethernet port.
a. In the EZ View of the LoggerNet Setup screen, press Add. Press Next to
advance to the Datalogger Type and Name screen. Select your
datalogger type and press Next.
FIGURE 4-3. Setup screen (EZ View) Datalogger Type
NOTE
NL116 Ethernet and CompactFlash
®
Module
5
b. Select IP Port and press Next.
FIGURE 4-4. Setup screen (EZ View) Connection Type
NL116 Ethernet and CompactFlash
®
Module
6
c. Input the datalogger’s IP address and port number and press Next. The IP
address and port number are input on the same line separated by a colon.
IPv6 addresses will need to be enclosed in square brackets. An IPv4
address may look like 192.168.1.100:6785. An IPv6 address may look
like [2001:db8::1234:5678]:6785. (The datalogger default port number is
6785. It can be changed using DevConfig.)
FIGURE 4-5. Setup screen (EZ View) IP Port Settings
NL116 Ethernet and CompactFlash
®
Module
7
d. Input the PakBus Address of the datalogger.
FIGURE 4-6. Setup screen (EZ View) Datalogger Settings
e. Press Next until you reach the Communication Setup Summary screen.
Press Finish to complete the setup.
4.2.3 Step 3: Connect
You are now ready to connect to your datalogger using the LoggerNet Connect
screen.
Datalogger program transfer, table-data display, and data collection are now
possible.
4.3 Programming the Datalogger to Save Data to the
CompactFlash
®
Card
The CardOut() instruction is used in the datalogger program to send data to
the CF card. CardOut() must be entered within each DataTable declaration
that is to store data on the CF card. The file is saved on the card with the name
stationname.tablename and a .DAT extension.
The CardOut() instruction has the following parameters:
StopRing: A constant is entered for the StopRing parameter to specify whether
the DataTable created should be a ring-mode table (0) or a fill-and-stop table
(1).
NL116 Ethernet and CompactFlash
®
Module
8
Size: A constant is entered in the Size to define the size of the DataTable on
the Card. Size can be defined as a fixed number of records, as auto-allocate, or
as the size of the datalogger memory.
To set the table size to a fixed number of records, enter that value. Enter a 1
to set the size to auto-allocate. If set to auto-allocate, all memory that remains
after creating fixed-sized tables will be allocated to this table. If multiple data
tables are declared with a 1 for size, the available memory will be divided
among the tables. The datalogger attempts to allocate memory to the tables so
that all tables are filled at the same time. Enter 1000 to set the size of the
table on the card to the size of the table in the datalogger’s memory.
In the following example, the minimum batt_volt and a sample of PTemp are
written to the card each time the data table is called. The StopRing parameter
is 0 for ring mode. This means that once the data table is full, new data will
begin overwriting old data. The size parameter is 1, so all available space on
the card will be allocated to the table.
DataTable(Table1,1,-1)
CardOut(0 ,-1)
Minimum(1,batt_volt,FP2,0,False)
Sample(1,PTemp,IEEE4)
EndTable
To prevent losing data, collect data from the CF card before
sending the datalogger a new or modified program. When
a program is sent to the datalogger using the Send button in
the Connect screen of LoggerNet or PC400, an attribute is
sent along with the program that commands the datalogger
to erase all data on the CF card from the currently-running
program.
For other methods of saving data to the CF card, see the TableFile() instruction
in the CRBasic Editor help.
4.4 CF Card Data Retrieval
Data stored on cards can be retrieved through a communication link to the
datalogger or by removing the card and carrying it to a computer with a CF
adapter. With large files, transferring the CF card to a computer may be faster
than collecting the data over a communication link. CF card-data retrieval is
discussed in detail in Section 7.4, CF Card Data-Retrieval Details
(p. 26).
Removing a card while it is active can cause garbled data
and can actually damage the card. Always press the
Initiate Removal button and wait for a green light before
removing card.
CAUTION
CAUTION
NL116 Ethernet and CompactFlash
®
Module
9
LoggerNet File Control should not be used to retrieve an
open file (for example, a file created using CardOut or the
latest file created by TableFile, option 64) from a CF card.
Using File Control to retrieve the data can result in a
corrupted data file. However, File Control can be used to
retrieve closed files such as JPEG images or files (other
than the latest) created by TableFile, option 64.
5. Overview
FIGURE 5-1. NL116 Ethernet/CompactFlash
®
Module
The NL116 Ethernet/CompactFlash
®
Module enables Ethernet communication
with the datalogger. It also has a slot for a Type I or Type II CompactFlash
®
(CF) card (3.3 V, 75 mA).
The NL116/CF card combination can be used to expand the datalogger
memory, transport data/programs from the field site(s) to the office, upload
power-up functions, and store JPEG images from a Campbell Scientific
camera. Data stored on cards can be retrieved through a communications link
to the datalogger or by removing the card and carrying it to a computer. The
computer can read the CF card either with the CF1 adapter or 17752
reader/writer. The CF1 adapter allows the PC’s PCMCIA card slot to read the
CF card; the 17752 reader/writer allows the PC’s USB port to read the CF card.
User-supplied CF adapters may also be used.
LoggerNet File Control should not be used to retrieve an
open file (for example, a file created using CardOut or the
latest file created by TableFile, option 64) from a CF card.
Using File Control to retrieve the data can result in a
corrupted data file. However, File Control can be used to
retrieve closed files such as JPEG images or files (other
than the latest) created by TableFile, option 64.
CAUTION
CAUTION
NL116 Ethernet and CompactFlash
®
Module
10
5.1 Buttons and Status LED
There is one red-green-orange LED (light-emitting diode) and two buttons:
Initiate Removal and eject. The Status LED indicates the status of the
module. The LED will flash red when the CF card is being accessed, solid
green when it is OK to remove the card, solid orange to indicate an error, and
flashing orange if the card has been removed and has been out long enough that
CPU memory has wrapped and data is being overwritten without being stored
to the card. The Initiate Removal button must be pressed before removing a
card to allow the datalogger to store any buffered data to the card and then
power off. The eject button is used to eject the CF card. Note that if the eject
button cannot be pressed, it may have been disabled by bending it to the right.
Straighten and press the eject button to eject the CF card.
5.2 Power
The Ethernet/CompactFlash
®
module is powered by 12 Vdc received from the
datalogger through the peripheral port.
Additional power consumption occurs if the Status LED is continuously lit.
At 12 Vdc, an additional 1 mA is drawn by the red or green LED; an additional
2 mA is drawn by the orange LED.
5.3 CF Card Data Retention
The module accepts CF cards which do not require power to retain data.
Typically, a CF card can be erased and rewritten a minimum of 100,000 times.
Industrial CF cards, graded for 2,000,000 write cycles, are recommended for
most applications.
6. Specifications
Datalogger Compatibility: CR1000, CR3000 (both require OS
version 28 or later)
Storage Capacity: Depends on card size
Maximum individual file size is 2 GB
Power Requirements: 12 V supplied through datalogger’s
peripheral port
Current Drain: 64 mA w/Ethernet Active @ 10 Mb
58 mA w/Ethernet Active @ 100 Mb
3 mA w/Ethernet Not Active, CF Card Only
Note: Ethernet can be put into a low-
power state (not connected to the network,
essentially off) using the IPNetPower() or
EthernetPower() instruction.
Operating Temperature Range: 40 to 70 °C Standard
55 to 85 °C Extended
NL116 Ethernet and CompactFlash
®
Module
11
Compliance Information: Application of Council Directive(s):
2004/108/EC Electromagnetic
Compatibility Directive (EMC)
Product Standard: EN 61326-1:2013
Electrical Equipment for measurement,
control and laboratory useEMC
requirements for use in industrial
locations.
2011/65/EU The Restriction of Hazardous
Substances Directive (RoHS2)
Cable Requirements: Use a straight-through Ethernet cable
when the cable is run from the hub to the
NL116. Use a shielded cable when the
cable length is more than 9 ft.
Note: The maximum recommended
segment length for 10BaseT and
100BaseTx networks using CAT5 cable is
100 meters. Segment length is the length
of cable between the NL device and the
Ethernet repeater, hub, switch, or router it
is connected to.
CF Card Requirements: Industrial grade
Ethernet Speed: 10/100 Mbps (10Base-T / 100Base-Tx),
full and half duplex, all auto-negotiated.
Typical access speeds vary and range from
20 KBytes/sec to 200 KBytes/sec
depending on multiple factors (*** see
note).
Memory Configuration: User-selectable for either ring style
(default) or fill-and-stop.
Dimensions: 10.2 x 8.9 x 6.4 cm (4.0 x 3.5 x 2.5 in)
Weight: 154 g (5.4 oz)
*** The NL116 will automatically negotiate the speed and duplex mode used for the
Ethernet link. However, the speed at which data can be transferred to and from a
datalogger over the NL116 depends on multiple factors including:
the datalogger processor speed, that is, CR1000 vs CR3000
how busy the datalogger is performing measurement, processing, control and
other communication tasks; measurement tasks take priority over
communication tasks
the IP protocol used for the data transfer and how/if the link is encrypted
where the data is being transferred from or to, for example, USR vs CRD
limitation of the IP connection due to congestion, the number of “hops”, and
the quality of the physical media between the client and host
Below are some example data transfer rates observed over an ideal connection. A
laptop computer was connected directly to the NL116 interface, transferring a 1.7 MB
file to and from the datalogger USR drive.
NL116 Ethernet and CompactFlash
®
Module
12
CR1000
(Sending from computer to datalogger; retrieving from datalogger to computer)
PakBus: 30 KBytes/sec; 30 KBytes/sec
FTP/HTTP: 55 Bytes/sec; 90 KBytes/sec
CR3000
(Sending from computer to datalogger; retrieving from datalogger to computer)
PakBus: 65 KBytes/sec; 65 KBytes/sec
FTP/HTTP: 135 KBytes/sec; 210 KBytes/sec
7. Operation
7.1 TCP/IP Functionality
This section describes the main TCP/IP functionality of a datalogger with an
NL116 attached. Additional functionality may be added in the future. For
more information, refer to the Information Services section of the datalogger
manual and CRBasic Editor help.
7.1.1 Communicating Over TCP/IP
Once the datalogger, the NL116, and LoggerNet have been set up as described
in Sections 4.1, Physical Setup
(p. 2), and 4.2, Communicating via Ethernet (p. 3),
communication is possible over TCP/IP. This includes program send and data
collection. These are straightforward operations and are accomplished through
the LoggerNet Connect screen. For more information, see the LoggerNet
manual.
Data callback and datalogger-to-datalogger communications are also possible
over TCP/IP, as well as the creation of simple HTML pages to view datalogger
variables using a web browser.
7.1.1.1 Data Callback
The following program is an example of doing data callback over TCP/IP. It
first checks to see if a port to the LoggerNet server already exists. (The
LoggerNet server is assumed to be at the default PakBus address, 4094.) If not,
a socket to LoggerNet is opened using the TCPOpen() instruction. The
SendVariables() instruction is then used to send data.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44

Campbell Scientific NL116 and CompactFlash Owner's manual

Category
Measuring, testing & control
Type
Owner's manual
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI