Virtual gateway

Every NiagaraStation component in a station’s NiagaraNetwork has a frozen Virtual (virtual gateway) slot at the same level as that station’s device extension slots (Points, Schedules, etc.). Virtual gateways persist in the station database along with other persisted components. Each virtual gateway provides the link between the normal component space and its own virtual components.

Virtual node under a NiagaraStation

In the initial driver application of virtual components, each device component in a driver network has its own single virtual gateway (as shown here) for a BacnetDevice in the bacnet palette.

Figure 32.   One virtual gateway per device
Image

This is a logical division of gateways (separating data by its source device). Future virtual component applications may not always use this one-to-one device hierarchy. At some future point, a driver may have a network level virtual gateway or possibly provide multiple virtual gateways under the same device level or network level.

A few drivers have device-level components that contain a Virtual gateway child. This is in addition to the standard collection of slots for device-level components. In the Niagara driver architecture, a device’s virtual gateway provides access to virtual components in the station’s virtual component space, specific to the device.

The BACnet driver, and the niagaraDriver (NiagaraNetwork) both provide virtual components.

Successfully accessing components under the Virtual gateway dynamically adds them as virtual components (or virtuals) while they are subscribed, but they exist only in memory. They do not persist in the station database like proxy points.

Virtual components are sometimes referred to as virtual points, but they are quite different from the proxy point components found in most drivers. The term “virtual point” is a actually a misnomer as virtual components represent any component type in the source remote station (not just control points).

 NOTE: Baja virtual components are not specific to only drivers. Other core components use them. 

Niagara virtual gateway requirements

Virtual gateways provide virtual component access only if the following are all true:

  • The local station’s host is licensed for a virtual gateway. Typically, licensing applies only to a Supervisor host. Virtual gateways do not apply to controller stations.
  • The parent NiagaraStation component is enabled and its property Virtuals Enabled is set to true. By default, this property is set to false for station security reasons.
  • The host running the remote station is running a recent version of Niagara