![]() |
|
|||||||
| Tcl scripting Tcl scripting related questions |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Junior Member
Join Date: Aug 2008
Age: 23
Posts: 2
Rep Power: 0 ![]() |
hello guyz...
i got some problem for this tcl. receive msg : 1234 sent msg : 1234 Mailbox CountIn CountOut Count Count ABC 1232 1232 0 ASD 2 2 0 According to the above, for example i have two mailboxs. The ABC mailbox hav 1232 msg come in and 1232 msg come out and also same to ASD mailbox. how should i do to reset the counter for both of receive and sent msg using proc? |
|
|
|
|
|
#2 (permalink) | |
|
Junior Member
Join Date: Aug 2008
Age: 23
Posts: 2
Rep Power: 0 ![]() |
Hi all,
receive msg : 1234 sent msg : 1234 Quote:
mailbox hav 1232 msg come in and 1232 msg come out and also same to ASD mailbox. how should i do to reset the counter for both of receive and sent msg using proc? Can anyone tell me how to reset data/count after msg come in and out for n amount of time? I tried to use after msg in and out but how do reset or resize the total that the application is back in the zero This is kind of my logic so far: 1) When msg come in and out, each mailbox have to reset to zero (after idle) 2) If things happen during this period of time, cancel the idle callback (after cancel) 3) and wait until the next idle occur and reset to zero |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Counter | Madalin | Tcl scripting | 9 | 19-04-2006 12:50 |
| Prima data -ajutor!- | Palmiros | a&a light script | 6 | 09-04-2006 13:11 |