Texas Instruments CBL 2 Reference Manual page 39

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

Advertisement

Period – Continuous Pulse Mode Syntax: {12,41 ,4,direction }
Direction
0 = low active pulse
1 = high active pulse
This mode is designed to measure the periods of pulses in a continuous stream of
pulses. Each pulse is measured. See Figure 4.
After "getting" the analog channels, send the following commands to return the data
from the CBL 2 to the host:
Command Syntax:
{12,41,4}
{12,41,0}
{12,41,.1,Start,Stop}
{12,41,.2,Start,Stop}
Notes on Operation
The Sonic Timer is used to record the time of the rising and falling edges. The
resolution is 1.6msec. At the start of the pulse the time is recorded and again at the end
of the pulses. The difference (properly scaled) is returned to the host.
Counter Mode Syntax: {12,41 , 5}
This mode is designed to count the transitions on the DIGITAL input line. (Use
Command 1,1,7 to count the transitions on the ANALOG Channel 1 Hi input line.) The
ECHO pin (D0) must be used for the input.
CBL 2 Technical Reference
Digital/Sonic (D0)
Figure 5. Continuous Pulse Period Measurement
Comment:
collect period data in continuous pulse mode; send
before Command 3
return number of points collected on next get
statement; send after "getting" the analog channels
return @time list on next get statement
return time list on next get statement
T
T
T
39

Advertisement

Table of Contents
loading

Table of Contents