OpenTAP 9.27
API Reference
Public Member Functions | List of all members
OpenTap.IDeviceDiscovery Interface Reference

Interface for defining a custom device address discovery system. Implement this along with a specialization of DeviceAddressAttribute. More...

Inheritance diagram for OpenTap.IDeviceDiscovery:
OpenTap.ITapPlugin OpenTap.VisaDeviceDiscovery

Public Member Functions

bool CanDetect (DeviceAddressAttribute DeviceAddress)
 Returns true if this IDeviceDiscovery can look up addresses for the type of device address supplied. More...
 
string[] DetectDeviceAddresses (DeviceAddressAttribute AddressType)
 Looks up all the device addresses available for a given device address type. More...
 

Detailed Description

Interface for defining a custom device address discovery system. Implement this along with a specialization of DeviceAddressAttribute.

Member Function Documentation

◆ CanDetect()

bool OpenTap.IDeviceDiscovery.CanDetect ( DeviceAddressAttribute  DeviceAddress)

Returns true if this IDeviceDiscovery can look up addresses for the type of device address supplied.

Parameters
DeviceAddressThe device address kind.
Returns

Implemented in OpenTap.VisaDeviceDiscovery.

◆ DetectDeviceAddresses()

string[] OpenTap.IDeviceDiscovery.DetectDeviceAddresses ( DeviceAddressAttribute  AddressType)

Looks up all the device addresses available for a given device address type.

Parameters
AddressTypeType of the address.
Returns
A string[].

Implemented in OpenTap.VisaDeviceDiscovery.

OpenTAP 9.27 API built Wed Nov 27 2024 13:14:45