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

Data Archive Reference

Table attributes

  • Last UpdatedJan 13, 2023
  • 1 minute read

Each table has its own list of attributes, with one attribute designated the primary key. The primary key is unique and is the first attribute shown when you run the ?atr command. The ?atr command shows each attribute's name, data type, default value, and current value, if applicable. Each of the table attributes can be viewed, set, or modified.

For example, the following command shows the PI point attributes and their default values for a point of the classic point class. The D: indicates the default value of the attribute and the C: indicates the current value, if applicable.

* (Ls - PIPOINT) PICONFIG> @tabl pipoint,classic
* (Ls - PIPOINT,CLASSIC) PICONFIG> ?atr
*> ?atr
1 - tag String D: !#!#!# C:
2 - Newtag String D: C:
3 - archiving BYTE D: 1 C:
...

Note: If you try to create a point without specifying the tag name attribute, the name defaults to !#!#!#, which is invalid. Therefore, you must enter a different, valid name.

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