JSRDotNETSDK Reference

# JSRDotNET Methods

JSRDotNET Class See Also

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

Methods

| Name | Description
--- | --- | ---
| Configure | Configures.
| Equals | (Overloaded) Determines whether the specified Object is equal to the current Object. (inherited from Object).
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object).
| GetEarliestLogLine | Gets earliest log line.
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object).
| GetInstrumentIdentity | Gets an array with the list of all discovered instrument identities.
| 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.
| GetType | (Overloaded) Gets the Type of the current instance. (inherited from Object).
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object).
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object).
| 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.
| ToString | Returns a String that represents the current Object. (inherited from Object).
| doShutdown | Tells the JSRDotNET subclass implementor to perform the shutdown.
| enableInstrumentDiscovery | 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.
| fireDiscoveryCompleteEvent | Raises the discovery complete event.
| fireDiscoveryStartedEvent | Raises the discovery started event.
| fireExceptionDiscoveryEvent | Raises the exception discovery event.
| fireInstrumentDiscoveredEvent | Raises the instrument discovered event.
| sendEvent | Sends an event to the registered event handlers

Top
See Also

#### Reference

JSRDotNET Class
JSRDotNETSDK Namespace