Announcement

Collapse
No announcement yet.

Get VSPair for current status

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Get VSPair for current status

    Hello,

    My plugin requires that I store additional information for each VSP. I am looking for the best way to determine the "active" VSP based on the device's value (even if it is within a range).

    DeviceVGP_Get works good for single value pairs, but when the status value of a device type is a range, DeviceVGP_Get requires the starting value to get the VSPair which the plugin would not readily have available. I certainly could build an enumeration process to go through all of the VSP as and based on the value compare it to the ranges to find the right one, but I'm afraid that would slow down the process too much.

    It would be great if we could pass any value (not just the starting value) in the DeviceVGP_Get method and it return the VSP based on the value type (single or range).

    Thanks!!!
Working...
X