# 18.5 Virtual device ### General The virtual device is a device that you can use to calculate additional math or keep a counter. It doesn't bind to any protocol and only works when its math expression is used.

Virtual device functionality is only available since firmware version v1.6.3, of WCC Lite.

### Configuring Virtual device To configure WCC Lite to use the virtual device you must configure the device and signal sheets. *Virtual device parameters for Device tab:*
**Parameter** **Type** **Description** **Required **Default value** (when not specified) **Range**
Min Max
namestringUser-friendly device nameYes
descriptionstringDescription of the deviceNo
device\_aliasstringDevice alias to be used in the configurationYes
protocolstringSelection of protocolYes **virtual**
*Virtual device parameters for Signals tab:*
**Parameter** **Type** **Description** **Required **Default value** (when not specified) **Range**
Min Max
signal\_namestringUser-friendly signal nameYes
device\_aliasstringDevice alias from a Devices tabYes
signal\_aliasstringUnique signal name to be usedYes
math\_expressionstringField to calculate specific math. You must enter the signal you want to use. Yes
The only field that is a must to use the virtual device is the *math\_expression* field. Here you need to enter the signal which you want to associate it with. Some examples of what it can do: - Hold a specific tag value. - Calculate a specific math function with many signals, that you can, later on, pass to another device. - Add tag value to the current value, to create a counter.