Add a Cicode Object
- Last UpdatedJul 13, 2023
- 2 minute read
The Cicode Object tool allows you to add a Cicode Object to the graphics page with the mouse (click and drag).
A Cicode Object can be any command (such as a function and so on). When the graphics page is displayed at runtime, the command is run continually. Cicode objects can also be assigned a key sequence, allowing you to enter keyboard commands when it is selected at runtime.
After a Cicode object is added, it can be moved and so on and its properties edited, just like other types of object.
To add a Cicode Object to a page:
-
Click the Cicode Object tool,

or choose Objects | Cicode Object.
-
Move the mouse to where you want to add the object, and click the left mouse button.
-
Define the relevant properties for the object, and click OK.
Cicode Object Properties - Cicode (General)
Cicode Objects have the following General properties:
|
Property |
Description |
|---|---|
|
Command (254 Chars.) |
A Cicode command that is continually executed. You can use any Cicode command, built-in Cicode function or user-written function. The command is executed continually (while the page is displayed), for example: Command : The command in this example uses the built-in function DspSymAnm(). The function displays three symbols ("Pumps.Slurry1", "Pumps.Slurry2", "Pumps.Slurry3") continually (at AN 25). You can also write generic functions by using the Cicode function DspGetAnCur() to get the AN number, for example: Command: The command in this example displays three symbols ("Pumps.Slurry1", "Pumps.Slurry2", "Pumps.Slurry3") continually (at the current AN). If you are using an actual animation, each symbol is displayed at a frequency that is set using the Setup Wizard (also determined by the [Page]AnmDelay parameter). To add just an animation point to the page, add a Cicode Object, without a command. |
Click Clear Property to clear property details, and disable the property. To define other properties for the object, click the relevant tabs.
For help on the remaining properties tabs, see Edit Common Object Properties.