Skip to main content
Skip table of contents

DeviceVSP_CountControl

Use this function to get a count of all control type value/status pairs on a device.

Public Function DeviceVSP_CountControl(ByVal dvRef As IntegerAs Integer

Count = hs.DeviceVSP_CountControl(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.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.