Low cost solutions to Data Acquisition & Control.
Data Sheets and Application Notes Product Warranty Return Policy How to Order Company Profile


Click for the BBB Business Review of this Computer Software Publishers & Developers in Fort Walton Beach FL  

Weeder Technologies
90-A Beal Pkwy NW
Fort Walton Beach FL 32548

Established: 1989
DUNS: 969723154

Creating a Clock

Creating a clock is very easy with the help of variables that are supported by ModCom. The global variable {systemtime} contains the current time of the system clock and can not only be used to test for specific times of day, but can be used to construct a working clock which can be viewed during run-time.

To do this, simply place a Text Window on the screen and then write a Conditional statement which will continually update the Text Window with the current time. The expression {TextWindow1} <> {systemtime} will evaluate to TRUE at anytime the system clock changes. Then use the "Show Message" function to send the new {systemtime} to the Text Window.

A similar approach can be used to create a date indicator using the {systemdate} variable like this. If {TextWindow1} <> {systemdate} then send {systemdate} to the text window.