SICS-467 Catch the bm COUNTSTART and COUNTEND events to set the feedback
status even if the counter is started via "bm count" or stopped by an INT1712. r3541 | ffr | 2012-05-03 17:28:34 +1000 (Thu, 03 May 2012) | 4 lines
This commit is contained in:
committed by
Douglas Clowes
parent
eb0a758a72
commit
a5d64c28ab
@@ -142,11 +142,12 @@ namespace eval ::monitor {
|
|||||||
bm setmode $mode
|
bm setmode $mode
|
||||||
bm count $preset
|
bm count $preset
|
||||||
::monitor::count -set feedback counts [SplitReply [bm getcounts]];
|
::monitor::count -set feedback counts [SplitReply [bm getcounts]];
|
||||||
::monitor::count -set feedback status IDLE
|
|
||||||
}
|
}
|
||||||
::monitor::count -addfb int counts text status
|
::monitor::count -addfb int counts text status
|
||||||
::monitor::count -set feedback status IDLE
|
::monitor::count -set feedback status IDLE
|
||||||
}
|
}
|
||||||
|
scriptcallback connect bm COUNTSTART "::monitor::count -set feedback status BUSY"
|
||||||
|
scriptcallback connect bm COUNTEND "::monitor::count -set feedback status IDLE"
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# Generate the following commands,
|
# Generate the following commands,
|
||||||
|
|||||||
Reference in New Issue
Block a user