DeviceVGP_Count
Use this function to get a count of all value/graphic pairs on a device.
Public Function DeviceVGP_Count(ByVal dvRef As Integer) As Integer
Count = hs.DeviceVGP_Count(ref)
Where:
ref= device reference ID
You can check the return value (Integer) to determine if it was successful or not. Return values less than zero (0) indicate an error condition such as the device reference ID being invalid.