beautypg.com

A.4 device configuration utility, A.5 ec100configure() instruction, Appendix a.5 – Campbell Scientific EC150 CO2 and H2O Open-Path Gas Analyzer and EC100 Electronics with Optional CSAT3A 3D Sonic Anemometer User Manual

Page 57: Appendix

background image

Appendix A. EC150 Settings

A.4 Device Configuration Utility

The Device Configuration Utility software may also be used to change settings,

although ECMon is generally preferred as the user interface is more intuitive.

Device Configuration may be downloaded from the EC150 & EC155 Support

CD (pn 27007), or at

www.campbellsci.com/downloads

.

Device Configuration requires a USB driver to communicate with the EC100,

similar to ECMon. See Appendix A.3, ECMon, for notes on installing a USB

driver.

After launching the

Device Configuration Utility, the user should select

EC100 from the list of device types. The EC100 electronics should be

connected to the PC with the EC100 USB cable (pn 26563) and the appropriate

USB port selected before connecting. Once connected, the settings tab

displays all the current settings. The

Apply button must be clicked to save any

changes.

The Device Configuration Utility is also used to send an updated operating

system to the EC100 electronics. The

Send OS tab gives directions on this

procedure. For a video tutorial on updating the operating system, a video

tutorial is available at

http://www.youtube.com/watch?v=dpRXoCv36YI

.

A.5 EC100Configure() Instruction

EC100Configure() is an alternate way to retrieve and modify setting. While

ECmon and Device Configuration Utility software are user-interactive, the

EC100Configure() instruction allows automated control under CRBasic

datalogger programming.

EC100Configure() is a processing task instruction. When running in pipeline

mode, the datalogger will execute the instruction from the processing task.

This functionality allows the instruction to be placed in conditional statements.

Execution from processing also introduces ramifications when attempting to

execute the

EC100Configure() instruction while other SDM instructions are

executing in pipeline mode. This instruction locks the SDM port during the

duration of its execution. If the pipelined SDM task sequencer needs to run

while the SDM is locked, it will be held off until the instruction completes.

This locking will likely result in skipped scans when reconfiguring an EC150.

For the EC150 to save settings, it must go through a lengthy write-

read-verify process. To avoid saving the settings after each set

command, the resulting code can be used to determine if any

settings were modified from their original value. When a change

is detected, the save settings command (command code

99) can

then be sent to the EC150. The DestSource parameter variable

should be set to

2718 to save the settings. The reception of this

command is acknowledged but since it takes up to a second to

complete, a successful return code does not mean that all of the

data was successfully written to the appropriate non-volatile

memory.

NOTE

A-9