JSRDotNETSDK Reference

# JSRDotNET.enableInstrumentDiscovery Method

See Also

When true, this instance of the DLL will fire InstrumentDiscovered events when an instrument which matches the instrument open filter is discovered. Instruments which are already connected at the time this event is set to true will generate InstrumentDiscoveredEvents immediately after this property is set. Usb devices which are connected later time will also generate InstrumentDiscoveredEvents when they are plugged in as long as this property is true. This property can be set to true and left alone, or it can be set back to false to prevent the discovery of more instruments. When set back to the true state, any devices which were attached but were prevented from discovery will then fire discovery events.

Namespace: JSRDotNETSDK
Assembly: JSRDotNETSDK (in JSRDotNETSDK.dll)
Syntax

VB
C#
C++
JScript
Copy

    protected abstract void enableInstrumentDiscovery(
       bool enable,
       InstrumentOpenCriteria ioc,
       bool validated
    )

    This language is not supported or no code example is available.

#### Parameters

enable

  Type: bool

ioc

  Type: InstrumentOpenCriteria

validated

  Type: bool

See Also

#### Reference

JSRDotNET Class
JSRDotNET Members
JSRDotNETSDK Namespace