User Manual

MCP Series
Brushed DC Motor Controllers
MCP Series User Manual
121
STREAMTIMEOUT (4)
Variable array holds the activity timeout in milliseconds for each stream. The timeout value is
the maximum time between receiving data on the channel before the channel is deactivated and
a low priority channel is activated.
;initialize USB stream timeout to 1 second
STREAMTIMEOUT(0) = 1000
main
goto main
STREAMTICK (4)
Variable array holds the last activity tick count for each stream. This is the last system tick
count when data was received on the specied stream.
main
puts 0,[“USB Stream last active tick:”,dec STREAMTICK(0),13]
pause 100
goto main
STREAMISBUSY (4)
Variable array holds the busy status ag for each stream. This indicates if the stream is active or
not.
main
puts 0,[“USB Stream state:”,dec STREAMISBUSY(0),13]
pause 100
goto main
STREAMCOUNT (4)
Variable array holds the used byte count for each stream buffer.
main
puts 0,[“USB Stream bytes waiting:”,dec STREAMCOUNT(0),13]
pause 100
goto main
SIGNALACTIVE (32)
Variable array holds the activity status for each signal. This indicates if the signal input is active
main
puts 0,[“P0 state:”,dec SIGNALACTIVE(0),13]
pause 100
goto main