Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Virtual items are used like any other server item except for one detail; they are not connected to any real datapoint on bus level. They can be used to store data. They may be connected to a any other server item.

Info
titleFile location

<WorkspaceDirectory>\DataFiles\nxaVirtualItems.40.dat


#NameM/ODescrition
1IDThis field is naming NameMName of the virtual item. Together with the path it must be unique.
2PathThe string within this field determines OSpecifies the path of the virtual item. Delimiter between sections of the path is the backslash (" ")\.
3DescriptionOSet Description of the description for the virtual item here. It will be displayed in the item tree.
4Data TypeMPossible data types are BOOL, STRINGSTR, FLOATBYTE, DOUBLECHAR, INT8 INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, and UINT64UINT64, FLOAT, DOUBLE, DATE, TIME.
5Access RightsShall O

Allowed operations on the virtual item

be writable or is it read only?

:

  • RW: read-write (default)
  • R: read-only
  • W: write-only
6PersistentOThis parameter specifies Specifies whether the value of the virtual item is persistent (restored from the database after server start up ) or not. Default is F (non-persistent).
7HistoricalThis parameter specifies whether historical values of the virtual item are stored within the database or not.8SynchronizeIf this parameter is SynchronizeO

If set to "T", the value is synchronized between the main and backup server (if present).

This will work only if synchronize is enabled in the NMESH configuration

Default is F (no synchronization).

This applies only to main/backup configurations of the NETx

BMS Core

Server.

98Link Item IDOIf a connection to another item is necessary the item ID of this one has to be placed here (bidirectional link between Virtual item and Linked item).
109Script For OnReceiveOImplement any LUA script here which shall be called at the OnReceived event.
1110Script For OnSendOImplement any LUA script here which shall be called at the OnSent event.
1211Script For OnSetOImplement any LUA script here which shall be called at the OnSet event.13Extended Data 1Internal use only.14Extended Data 1Internal use only.15Extended Data 1Internal use only.