View previous topic :: View next topic
|
Author |
Message |
treddy
New User
Joined: 01 Jun 2005 Posts: 7
|
|
|
|
who to display the time on the screen in the format of 12:36:12. and also
we need to increase the seconds automatically on the screen. with out press the enter also.(like in the open systems). |
|
Back to top |
|
|
dbelton
New User
Joined: 10 Jun 2005 Posts: 15
|
|
|
|
treddy wrote: |
who to display the time on the screen in the format of 12:36:12. and also
we need to increase the seconds automatically on the screen. with out press the enter also.(like in the open systems). |
Not any way to increase the seconds automatically, unless you want to tie up system resources by making your program conversational and continually send maps to the screen. |
|
Back to top |
|
|
treddy
New User
Joined: 01 Jun 2005 Posts: 7
|
|
|
|
Thanks for reply....please tell me.........how i can through the map continuously??????. Please explain.....there is any EIB things is there.. |
|
Back to top |
|
|
senthilkumar selvaraju
New User
Joined: 30 May 2005 Posts: 16
|
|
|
|
you should get the current timestamp value continuously by using asktime command. |
|
Back to top |
|
|
dbelton
New User
Joined: 10 Jun 2005 Posts: 15
|
|
|
|
senthilkumar selvaraju wrote: |
you should get the current timestamp value continuously by using asktime command. |
You get the current timestamp with the asktime command, but not continuously. You get it only once. When you want the time updated, you must issue the command again. |
|
Back to top |
|
|
dbelton
New User
Joined: 10 Jun 2005 Posts: 15
|
|
|
|
senthilkumar selvaraju wrote: |
you should get the current timestamp value continuously by using asktime command. |
Also, remember that your task actually ends while the screen is displayed waiting for input if you write your program to be pseudoconversational. If you write it as conversational, you would eat up all the system resources in a very short time period. |
|
Back to top |
|
|
|