Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

Cicode Functions in 7​.40

  • Last UpdatedJul 13, 2023
  • 3 minute read

Some Cicode functions have been introduced, and modified. The following sections detail the changes made to these functions:

New Functions

Page Functions

PageListCount

Gets number of pages in the page list of the current window.

PageListCurrent

Gets index of the current page in the page list of the current window.

PageListInfo

Gets information of a page at the specific index in the page list of current window.

PageListDisplay

Displays a page at the specific index in the page list of the current window, and moves the current index to the page. When a page is recalled, the original parameters (such as cluster context, super genie associations, PageTask arguments if applicable) used to display the page will be restored.

PageListDelete

Deletes a page at the specific index from the page list of the current window.

XML Functions

XMLClose

Deletes an XML document in memory

XMLCreate

Creates a new XML document in memory

XMLGetAttribute

Retrieves the attribute value of the node from an XML document in memory

XMLGetAttributeCount

Retrieves the number of attributes (properties of a node. Each attribute has a name and a value) within an XML document in memory

XMLGetAttributeName

Retrieves the name of an attribute (property of a node. Each attribute has a name and a value) within an XML document in memory

XMLGetAttributeValue

Retrieves the value of an attribute (property of a node. Each attribute has a name and a value) within an XML document in memory

XMLGetChild

Retrieves the child node for the specified parent node in XML document in memory

XMLGetChildCount

Retrieves the total number of child nodes for the specified parent node in an XML document in memory

XMLGetParent

Retrieves the parent node within the contents of an XML document in memory

XMLGetRoot

Retrieves the root node of an XML document in memory

XMLNodeAddChild

Creates an element node with the specified Name and Namespace and appends the node to the end of the list of child nodes of specified parent node in the XML document.

XMLNodeFind

Selects a single node from the contents of an XML document in memory

XMLNodeGetName

Retrieves the name of the specified node

XMLNodeGetValue

Retrieves the value of a node from the contents of an XML document in memory

XMLNodeRemove

Removes specified XML node from its parent and XML document

XMLNodeSetValue

Sets the value of the specified node.

XMLOpen

Loads an XML file from disk

XMLSave

Saves an XML file to disk

XMLSetAttribute

Sets the value of specified attribute of the node in the XML document. If the attribute does not exist, it will be created.

Modified Functions

Super Genie Functions

Ass

Associates a variable tag with a Super Genie. Now supports Equipment.Item.

Tag Functions

TagGetProperty

Gets a property for a variable tag from the datasource. Now supports Equipment.Item.

TagGetScale

Gets the value of a tag at a specified scale from the datasource. Now supports Equipment.Item.

TagInfo

Gets information about a variable tag. Now supports Equipment.Item.

TagInfoEx

Gets information about a variable tag. Now supports Equipment.Item.

TagRead

Reads a variable from the I/O device. Now supports Equipment.Item.

TagReadEx

Reads the value, quality or timestamp of a particular tag from the I/O device. Now supports Equipment.Item.

TagResolve

Used to increment a reference count on a tag to keep it resolved, making it readily available to a client. Now supports Equipment.Item.

TagScaleStr

Gets the value of a tag at a specified scale. Now supports Equipment.Item.

TagSetOverrideBad

Sets a quality Override element for a specified tag to Bad Non Specific. Now supports Equipment.Item.

TagSetOverrideGood

Sets a quality Override element for a specified tag to Good Non Specific. Now supports Equipment.Item.

TagSetOverrideUncertain

Sets a quality Override element for a specified tag to Uncertain Non Specific. Now supports Equipment.Item.

TagSetOverrideQuality

Sets a quality Override element for a specified tag. Now supports Equipment.Item.

TagSubscribe

Subscribes a tag for periodic monitoring and event handling. Now supports Equipment.Item.

TagWrite

Writes to an I/O Device variable. Now supports Equipment.Item.

Reinstated Functions

No functions have been reinstated for 7.40.

Deprecated Functions

No functions have been deprecated for 7.40.

Removed Functions

No functions have been removed for 7.40.

In This Topic
TitleResults for “How to create a CRG?”Also Available in