Application and limitations of virtual components

In a NiagaraAX driver that offers virtual components, there are two main applications for “virtual points”:

As for limitations, note that virtuals are transient vs. persisted components—they are dynamically created (and subscribed) only when accessed, and are not permanently stored in the station database. This precludes any linking to or from virtuals—as links would be lost. Nor are point extensions (alarm, history) supported under virtual components. These things require use of proxy points, which are persisted in the station database.

To summarize, here are some quick application guidelines for virtual components versus proxy points:

Note that often proxy points are used for monitoring only, becoming subscribed only when a user is looking at a Px view, then becoming unsubscribed when not being viewed. However, such proxy points persist in the station database always—consuming station resources. The difference with using virtual component in this application is that they not only become unsubscribed, but are removed from the station’s memory. The only persisted part is the “ord” to the virtual components in the Px widget bindings.