Streaming ASCII Data
Besides
lane status streaming over binary protocol
, the radar may be programed to stream
certain types of data in ASCII format on its own, without receiving any further requests
from the user. The output is produced on a periodic or event driven basis. The following
data types are supported:
Per lane counts on periodic basis. Output period in seconds is programmed by TA
configuration variable. In order to enable streaming of counts, set bit 10 in MO
variable. Clear this bit to disable count streaming.
Per lane occupancy indicators on periodic basis. Output period in seconds is
programmed by TA configuration variable. In order to enable streaming of
occupancy indicators, set bit 7 in MO variable. Clear this bit to disable occupancy
indicator streaming.
Per lane realtime detection events. Detection event is declared when the vehicle
exits
from the radar’s field of view. In order to enable streaming of detection
events set bit 6 in MD variable. Clear this bit to disable detection event streaming.
Note: bits are counted from 0. Bit 7 means adding (actually OR-ing) 2^7=128 to MO
value, bit 10 means adding 2^10=1024 to MO value. For example if your current MO
value is 6, you need so set it to 6+128=134 to enable count streaming. Set it back to 6 to
disable streaming.
Make sure that you do not modify reserved bits in MO variable. They are factory
reserved and changing them may disrupt normal radar operation.
Example 1
Current MO value is 6. Let’s say we want to enable both counts and occupancy indicators
printed at 10 second intervals. Using
ASCII command line
interface:
1.
Set TA variable to value 10
set:TA 10
OK
2.
Set MO variable to value 6+2^7+2^10=1158
set:MO 1158
OK
3.
Observe radar output. You will see two lines of printout every ten seconds. Line
that starts with C: contains counts per lane and line starting with O: contains
occupancy indicators per lane,.
C: 0 0 0 0 0 0
O: 0 0 0 0 0 0
Example 2
Current MD value is 0. Let’s say we want to enable detection event streaming. Using
ASCII command line
interface: