Skip to main content
Skip table of contents

DeviceExistsCode

Purpose

This function indicates if the device does or does not exist using its Code property which is in the letter code and unit code format.


Parameters

Parameter: Code
Type: String
Description: This is the house/letter code and unit code of the device, such as "A1" or "q17".


Returns

Return value: status
Type: Integer
Description: Returns -1 if the device does not exist, otherwise it returns the device reference ID number of the device.  The reference number can then be used with the GetDeviceRef function. 


Example

Sample Code

VB
None


JavaScript errors detected

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

If this problem persists, please contact our support.