How to operate the Count Down Timer Component?

In operation mode you can start, stop and modify the preset value of the Count Down Timer. Following are the steps to do this via the Gateway or using an Action.

Using the Gateway

It is possible to operate the Kaleido-K2 using the Gateway. The Gateway is a very flexible and powerful tool that is usually used through a program but the Gateway can also be used via telnet. The following explanations will guide you through the use of the Gateway via the HyperTerminal software.

Open the HyperTerminal software on your computer, and from the "Program" menu choose "Accessories", "Communications" and "HyperTerminal". A dialog will appear, asking you to enter a name for the connection and to select an icon.

A second dialog, "Connect To", will appear. In the "Connect using" dropdown field choose "TCP/IP (Winsock)". Two new fields will appear, in the "Host address" field enter the IP address of your Kaleido-K2 and in the "Port number" field enter "13000". This indicates that you want to connect to your Kaleido-K2 via the port 13000. Click on the "OK" button.

To be able to see the typed character:

You can now see the typed characters appearing in the console.

Commands can be sent to the Gateway while a session is open. There is no maximum number of commands that can be sent in a session. A session must be opened and closed using two specific commands. While sending a command the syntax must be exact. If you make a mistake in the syntax, the command will not be understood. Here is a rough example of a session:

Open a session

send command
send command
...
send command

Close the session.

To open a session enter the following command:

<openID>IP_ADDRESS_0_4_0_0</openID>

Where:

If the Gateway receives the command, and recognizes it as a command that can be handled, it will send you the following response:

<ack/>

If the command cannot be recognized the following message will appear:

<nack/>

If you received this message, please consult the Gateway documentation included on the Kaleido-K2 CD to troubleshoot the installation and communication.

You are now ready to send commands. There are commands to start the Count Down Timer, stop the Count Down Timer, reset the Count Down Timer and modify its configuration.

To configure a Count Down Timer:

<setKTimer>set id="ID" preset="99:99:99" direction="Direction" loop="State" </setKTimer>

Where:

To start, stop or reset a Count Down Timer:

<setKTimerTrigger>set id="ID" trigger="Trigger"</setKTimerTrigger>

Where:

You can execute as many commands as you want. When you want to stop sending commands you have to close the session. The following command is used to close a session:

<closeID>IP_ADDRESS_0_4_0_0</closeID>

Where:

Your session is now closed.

To end the communication, select the "Disconnect" icon from the toolbar.

Using an Action

Set the Preset Value and Start the Count Down Timer

You can use an Action to modify the preset value and start the Count Down Timer at the same time. This means that you could, with a single click on your Layout, set the preset value of a Count Down Timer to 15 seconds and start counting. This operation can be done in either off-line or on-line mode. The following explanations will guide you through the operation while in on-line mode.

Here are the steps to create the Action that will start the Count Down Timer:

The Action is now created and it should appear in the list of the Action Browser. To be useful this Action needs to be associated with a Trigger. Here is how to configure your Layout so the defined Action will be executed when a Text Label Component is clicked:

The Action is now assigned to the single click Trigger of the selected Text Label Component. To test what you just configured go on your Kaleido-K2 and, using the mouse, click on the Text Label to which you assigned the Action. You should see your Count Down Timer modified and started.

Stop the Count Down Timer

You can use an Action to stop the Count Down Timer. This means that you can, with single or double clicks on your Layout, stop the Count Down Timer.

To create the Action follow the steps described in the previous section but when clicking in the "Type" column of the Action List choose the "Timer Pause" option. The "Timer Pause Configuration" dialog should appear:

The Action is now created and it should appear in the list of the Action Browser. To be useful this Action needs to be associated with a Trigger. Here is how to configure your Layout so the defined Action will be executed when a Status Indicator Component is double-clicked:

The Action is now assigned to the double click Trigger of the selected Status Indicator Component. To test what you just configured go on your Kaleido-K2. Make sure your Count Down Timer is currently counting and, using the mouse, double click on the Status Indicator to which you assigned the Action. You should see that the Count Down Timer stops.


Americas

Technical Support
Telephone (9:00-17:00 EST)

+1-800-224-7882
Fax: +1-514-335-1614
techsupp@miranda.com
Asia

Technical Support
Telephone (9:00-17:00 JST)

+81-3-5730-2987
Fax: +81-3-5730-2973
asiatech@miranda.com
Europe,Middle East, Africa, UK

Technical Support
Telephone(9:00-18:00 GMT)

+44 (0) 1491 820222
24 Hour Reply +44 (0) 8700 660295
Fax: +44 (0) 1491 820002
eurotech@miranda.com
France


Technical Support

+33 1 55 86 87 88
Fax: +33 1 55 86 00 29
eurotech@miranda.com