JSRDotNETSDK Reference

# IJSRDotNET Members

IJSRDotNET Interface Events Methods Properties See Also

Main interface for accessing a Jsr Pulser Receiver product family from a DLL.

The following tables list the members exposed by the IJSRDotNET type.

Properties

| Name | Description
--- | --- | ---
| InstrumentDiscoveryEnable | 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.
| InstrumentIdentities | Gets an array with the list of all discovered instrument identities.
| InstrumentOpenCriteria | Optional Specifier to express interest in only one particular model or unit specified by serialnumber.
| PluginName | Gets the name of the plugin.
| TimeoutMSec | Gets or sets the timeout of how to long to wait for the instrument to respond to a request for a property or function. If the timeout is exceeded, an exception is thrown.

Top
Methods

| Name | Description
--- | --- | ---
| Configure | Configures the plugin
| GetEarliestLogLine | Gets earliest log line.
| GetLogLineCount | Gets log line count.
| GetPulserReceiver | Given a pulser receiver id, this returns a reference to a pulser receiver object.
| GetPulserReceivers | (Overloaded) Gets an array of pulser receiver Ids that are within the specified instrument. Alternatively, there is an overload of this method which takes the model number an serial number string as arguments instead of this instrumend identity object. Normally, the application will get the instrument ID object from the InstrumentDiscoveredEvent handler.
| Reset | Resets this module so it can be reconfigured. The Open Options should be set again after calling this function and Discovery can be re-enabled. Not all plugins support this feature, so check the return code from this function to determine if the plugin instance can be re-used.
| Shutdown | Shuts down this module by stopping any threads and freeing any resources it is using. This must be done before the application exits to avoid hangs at exit time.

Top
Events

| Name | Description
--- | --- | ---
| InstrumentDiscoveredEventHandler | Event queue for listeners interested in InstrumentDiscoveredEventHandler events. This is called once for each instrument which is discovered while InstrumentDiscoveryEnable is true.

Top
See Also

#### Reference

IJSRDotNET Interface
JSRDotNETSDK Namespace