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 | ||
---|---|---|
| ||
<WorkspaceDirectory>\DataFiles\nxaVirtualItems.40.dat |
# | Name | M/O | Descrition | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | ID | This field is naming Name | M | Name of the virtual item. Together with the path it must be unique. | ||||||||
2 | PathThe string within this field determines | O | Specifies the path of the virtual item. Delimiter between sections of the path is the backslash (" ")\. | |||||||||
3 | Description | O | Set Description of the description for the virtual item here. It will be displayed in the item tree. | |||||||||
4 | Data Type | M | Possible data types are BOOL, STRINGSTR, FLOATBYTE, DOUBLECHAR, INT8 INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, and UINT64UINT64, FLOAT, DOUBLE, DATE, TIME. | |||||||||
5 | Access Rights | Shall O | Allowed operations on the virtual item be writable or is it read only?:
| |||||||||
6 | Persistent | O | This 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). | |||||||||
7 | Historical | This parameter specifies whether historical values of the virtual item are stored within the database or not. | 8 | Synchronize | If this parameter is Synchronize | O | 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 configurationDefault is F (no synchronization). This applies only to main/backup configurations of the NETx BMS CoreServer. | |||||
98 | Link Item ID | O | If 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). | |||||||||
109 | Script For OnReceive | O | Implement any LUA script here which shall be called at the OnReceived event. | |||||||||
1110 | Script For OnSend | O | Implement any LUA script here which shall be called at the OnSent event. | |||||||||
1211 | Script For OnSet | O | Implement any LUA script here which shall be called at the OnSet event. | 13 | Extended Data 1 | Internal use only. | 14 | Extended Data 1 | Internal use only. | 15 | Extended Data 1 | Internal use only. |