Campbell Scientific CWS220 Wireless Sensor Network (CWB100, CWS220, and CWS900 - Page 32

Sending the Sensor Configuration File to the Datalogger

Page 32 highlights

Wireless Sensor Network 3.3.3 Configuring the CWS900 To configure the CWS900 Wireless Sensor Interface, first connect the A205 to the type B USB connector on the 17648 cable. Remove the battery door on the CWS900 and locate the four-pin connector near the top of the sensor. Connect the A205 to the sensor at the four-pin connector. The A205 label should be facing toward the CWS900 antenna. Select the Program settings for CWS900_1:CWS900 item in the Configure Devices list, then select Click Here. NOTE When the Setup Dialog window for configuring the CWS900 opens, verify that the Serial Port matches the port number where the A205 is connected and click Connect. Press the Setup button on the back of the CWS900. Settings will be transferred and applied to the CWS900. In the Settings have Been Applied window, options are available for saving the settings to a XML file, printing the settings, and comparing the settings to another XML file. When finished with these actions, click OK. The Setup button must be pressed to enable communications between the wireless sensor and computer. 3.4 Sending the Sensor Configuration File to the Datalogger The sensor configuration file is a text file with a single line of text that provides the datalogger with information related to the data that will be transmitted by wireless sensors in the network. It is useful for predefining sensor field names so that the datalogger table definitions do not change each time a new wireless sensor is discovered. Wireless Sensor Planner creates the file based on the radio address, sensor name, and sensor field names or custom field names specified for each sensor in the network. The CRBasic instruction CWB100 reads the sensor configuration file into a constant string that is used by the datalogger to apply names to the values 24

  • 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
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70

Wireless Sensor Network
3.3.3
Configuring the CWS900
To configure the CWS900 Wireless Sensor Interface, first connect the A205 to
the type B USB connector on the 17648 cable.
Remove the battery door on the
CWS900 and locate the four-pin connector near the top of the sensor.
Connect
the A205 to the sensor at the four-pin connector.
The A205 label should be
facing toward the CWS900 antenna.
Select the
Program settings for CWS900_1:CWS900
item in the Configure
Devices list, then select
Click Here
.
When the Setup Dialog window for configuring the CWS900 opens, verify that
the Serial Port matches the port number where the A205 is connected and click
Connect.
Press the Setup button on the back of the CWS900.
Settings will be
transferred and applied to the CWS900.
In the Settings have Been Applied
window, options are available for saving the settings to a XML file, printing
the settings, and comparing the settings to another XML file.
When finished
with these actions, click OK.
The Setup button must be pressed to enable communications
between the wireless sensor and computer.
NOTE
3.4
Sending the Sensor Configuration File to the Datalogger
The sensor configuration file is a text file with a single line of text that
provides the datalogger with information related to the data that will be
transmitted by wireless sensors in the network.
It is useful for predefining
sensor field names so that the datalogger table definitions do not change each
time a new wireless sensor is discovered.
Wireless Sensor Planner creates the
file based on the radio address, sensor name, and sensor field names or custom
field names specified for each sensor in the network.
The CRBasic instruction CWB100 reads the sensor configuration file into a
constant string that is used by the datalogger to apply names to the values
24