Skip to main content
Skip table of contents

DeviceVSP_GetStatus

This will retrieve a status string given a specific value.

Public Function
 DeviceVSP_GetStatus(ByVal dvRef As Integer, _
                                                       
ByVal Value As Double, _
                                                       
ByVal VSPType As ePairStatusControl) As String

MyStatus = hs.DeviceVSP_GetStatus(ref, Value, VSPType)

Where:

ref= device reference #

Value = The value of the value/status pair you are looking for (use any value of the range to retrieve a range type status).

VSPType = The ePairStatusControl type (Status, Control, Both) that you are looking for.  If the type is Status or Control, the string returned will be the formatted status or control string for the value given.  If the type is Both, then the string returned will be in the form: Status: (text), Control: (text)

JavaScript errors detected

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

If this problem persists, please contact our support.