B-10 G
ETTING
S
TARTED WITH THE
CBL 2™ S
YSTEM
© 2000, 2003 T
EXAS
I
NSTRUMENTS
I
NCORPORATED
Command 10
Advanced Data Reduction
{10
,channel,alg,P1,P2,P3. . .Pn}
channel
=1, 2, 3, or 11
Re-reduces data in selected channel
alg
Results
1
Selects the HeartBeat Algorithm. This
algorithm will return one value. The value
is the number of cycles per sample.
2. . .n
TBD
P1 to Pn
(Parameters for algorithms)
For algorithm 1:
P1
Results
0 to 100
LowerThld
Determines when data transitions from
“high” to “low”
P2
Results
0 to 100
UpperThld
Determines when data transitions from
“low” to “high”
P3
Results
RejectThld
Determines the minimum difference in
data between UpperThld and LowerThld
Command 12
{
12,channel,mode,. . .}
channel
41
(Works only with digital channels)
{12,41,1}
Samples digital input
Send the following commands to return the data from the CBL 2™ to the host:
Command:
Results:
{12,41,0}
{number of points available}
{12,41,
.
1,
Start,Stop
}
{state,state,state,state. . .}
{12,41,
.
2,
Start,Stop
}
{time,time,time,time. . .}
{12,41,2,
direction
}
Measures pulse width of a single pulse
direction
0
low active pulse
1
high active pulse
Send the following commands to return the data from the CBL 2 to the host:
Command
:
Results
:
{12,41,0}
{number of points available} (0 or 1)
{12,41,
.
1,
Start,Stop
}
{
@
time}
{12,41,
.
2,
Start,Stop
}
{time}