CSAT3B (Control and Retrieve Data from CSAT3B or CSAT3BH)

The CSAT3B instruction is used to set up and retrieve data from a CSAT3B or CSAT3BH sonic anemometer.

Syntax

CSAT3B ( Dest, Bus, Address, Mode )

Remarks

This instruction sets the operating mode of the anemometer and retrieves the wind, sonic temperature, and diagnostic information from the CSAT3B. The instruction should appear in the main scan of the program, operating in pipeline mode.

Each CSAT3B must have its own instruction because there is state information that is maintained for each module. The allocation of the state information is done when the instruction is compiled.

Parameters

Dest (Destination Variable)

A variable array that stores the values returned by the anemometer. It must be declared as a float with at least 5 elements in the array. The sensor returns the following data in response to a measurement trigger:

Type: Variable array

Bus

Determines whether communication with the CSAT3B is via the ClosedSDM Synchronous Device for Measurement. A processor-based peripheral device or sensor that communicates with the datalogger via hardwire over a short distance using a protocol proprietary to Campbell Scientific. or ClosedCPI CPI is a proprietary interface for communications between Campbell Scientific dataloggers and Campbell Scientific CDM peripheral devices. It consists of a physical layer definition and a data protocol. CDM devices are similar to Campbell Scientific SDM devices in concept, but the use of the CPI bus enables higher data-throughput rates and use of longer cables. CDM devices require more power to operate in general than do SDM devices. bus. Enter 0 for SDM or 1 for CPI.  

Type: Constant

Address (Address of CSAT3B)

Identifies the unique address of the CSAT3B on the communication bus. For ClosedSDM Synchronous Device for Measurement. A processor-based peripheral device or sensor that communicates with the datalogger via hardwire over a short distance using a protocol proprietary to Campbell Scientific., valid addresses are 1 through 14. For ClosedCPI CPI is a proprietary interface for communications between Campbell Scientific dataloggers and Campbell Scientific CDM peripheral devices. It consists of a physical layer definition and a data protocol. CDM devices are similar to Campbell Scientific SDM devices in concept, but the use of the CPI bus enables higher data-throughput rates and use of longer cables. CDM devices require more power to operate in general than do SDM devices., valid addresses are 1 through 120.

Type: Constant

Mode (Trigger Source and Filter)

Defines the trigger source and application of filters to the anemometer data.

Code Description
0 Datalogger triggered/no filter/datalogger prompted output
5 Self triggered/5 Hz bandwidth filter/datalogger prompted output
10 Self triggered/10 Hz bandwidth filter/datalogger prompted output
25 Self triggered/25 Hz bandwidth filter/datalogger prompted output

NOTE: With the SDM Bus, only Mode 0 is supported. All other options require the CPI bus.

Type: Constant