Command 4 Sonic Temperature Compensation (Sonic); Command 5 Data Control - Texas Instruments CBL 2 Reference Manual

Ti cbl 2 data collector: reference guide
Hide thumbs Also See for CBL 2:
Table of Contents

Advertisement

Command 4
This command sets the unit of measurement for sonic data.
Syntax: {4 ,channel,equtype,temperature,units }
Channel
4 = Sets SONIC
0 = Clears the
if equtype=13
equation for
the selected
11 = Sets SONIC
channel
13 = Sonic
temperature
compensation
Command 5
This command selects the type of data to be retrieved, as well as the starting and
ending data points to be retrieved by a TI calculator.
Syntax: {5, channel,dataselect,databegin,dataend }
Channel
.1 = Sets recorded
time
0 = Lowest
active channel
1-3 = Analog
11 = Sonic
21 = Digital input
Note: If Data Select = 0, 1, or 2 and Command 3 Filter = 1-6, data will be filtered according to
the filter selected in Command 3. If Data Select = 3, 4,or 5; the filter setting in Command 3 will
be ignored.
Note 2: Data End must be greater than or equal to Data Begin (unless Data End = 0). Both
DataBegin and DataEnd must be less than or equal to the number of samples sent to the CBL 2
in the last Command 3.
Note 3: Each Command 5 must be followed by a Get statement.
Note 4: Sampling must be completed before sending Command 5 to control the data. Before
sending Command 5, do a Get statement to ensure that sampling is completed or send
Command 7 to check the status and verify that sampling is completed.
30
Sonic Temperature Compensation (Sonic)
Equation Type
Temperature
value for
which you
want to
compensate
Data Control
Data Select
0 = raw collected data
(filtered)
1 = d/dt (filtered)
2 = d
2
/dt
2
(filtered)
3 = raw collected data
(unfiltered)
4 = d/dt (unfiltered)
5 = d
2
/dt
2
(unfiltered)
Temperature
Units
0 = temperature in ¡Celsius
1 = temperature in ¡Fahrenheit
2 = temperature in ¡Celsius
3 = temperature in Kelvin
4 = temperature in Rankin
Data Begin
0 = first point
collected
1 through n =
point selected
CBL 2 Technical Reference
Data End
0 = last point
collected
1 through n =
point selected

Advertisement

Table of Contents
loading

Table of Contents