GPIB system and method which provides asynchronous event notification
First Claim
1. A method of asynchronously notifying a GPIB application when one or more GPIB events occur in a GPIB system, wherein the system comprises the GPIB application which interfaces through GPIB driver software to a GPIB device, wherein the GPIB application and the GPIB driver software execute on a computer system, the method comprising:
- receiving an asynchronous notify request from the GPIB application, wherein the asynchronous notify request includes a unit descriptor, event information regarding a plurality of GPIB events to monitor, and a reference to a callback function in the GPIB application, wherein the unit descriptor uniquely identifies the GPIB device; and
monitoring events specified by said event information, wherein said monitoring is performed in response to said receiving said asynchronous notify request, wherein said events comprise state changes of the GPIB device identified by the unit descriptor;
determining that an event specified by said event information has occurred;
invoking said callback function in response to said determining that said event has occurred, wherein said invocation is performed asynchronously to the GPIB application.
1 Assignment
0 Petitions
Accused Products
Abstract
A GPIB system which includes asynchronous event notification. The GPIB application first provides a notify request to GPIB driver level software, preferably an ibnotify call or a GPIB Notify OLE control. The notify request includes a unit descriptor which uniquely identifies the GPIB device, event information regarding a plurality of GPIB events to monitor, a reference to a callback function in the GPIB application, and user defined reference data for the callback function. In response to the notify request, the GPIB driver level software begins monitoring events specified by the event information. When an event occurs which is being monitored, the GPIB driver level software recognizes the event and invokes the callback function. The invocation of the callback function is performed asynchronously to the GPIB application. The callback function may include one or more calls to one or more functions in the GPIB driver software. The callback function also uses the user defined reference data to aid in handling the event.
43 Citations
20 Claims
-
1. A method of asynchronously notifying a GPIB application when one or more GPIB events occur in a GPIB system, wherein the system comprises the GPIB application which interfaces through GPIB driver software to a GPIB device, wherein the GPIB application and the GPIB driver software execute on a computer system, the method comprising:
-
receiving an asynchronous notify request from the GPIB application, wherein the asynchronous notify request includes a unit descriptor, event information regarding a plurality of GPIB events to monitor, and a reference to a callback function in the GPIB application, wherein the unit descriptor uniquely identifies the GPIB device; and monitoring events specified by said event information, wherein said monitoring is performed in response to said receiving said asynchronous notify request, wherein said events comprise state changes of the GPIB device identified by the unit descriptor; determining that an event specified by said event information has occurred; invoking said callback function in response to said determining that said event has occurred, wherein said invocation is performed asynchronously to the GPIB application. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A GPIB system which asynchronously notifies a GPIB application when one or more GPIB events occur in the GPIB system, the GPIB system comprising:
-
a computer system comprising a CPU and memory, wherein the memory stores the GPIB application and GPIB driver software, wherein the GPIB application and the GPIB driver software execute on the computer system; and a GPIB device coupled to the computer system, wherein the GPIB application interfaces through the GPIB driver software to the GPIB device; wherein the GPIB application executing on the computer system is operable to provide an asynchronous notify request to the GPIB driver software, wherein the asynchronous notify request includes a unit descriptor, event information regarding a plurality of GPIB events to monitor, and a reference to a callback function in the GPIB application, wherein the unit descriptor uniquely identifies the GPIB device; wherein the GPIB driver software executing on the computer system is operable to monitor events specified by said event information in response to the asynchronous notify request, wherein said events comprise state changes of the GPIB device identified by the unit descriptor; wherein the GPIB driver software executing on the computer system is operable to determine that an event specified by said event information has occurred and is operable to invoke said callback function in response to determining that said event has occurred, wherein said invocation is performed asynchronously to the GPIB application. - View Dependent Claims (15, 16, 17, 18, 19)
-
-
20. A memory media which stores program instructions for asynchronously notifying a GPIB application when one or more GPIB events occur in a GPIB system, wherein the system comprises the GPIB application which interfaces through GPIB driver software to a GPIB device, wherein the GPIB application and the GPIB driver software execute on a computer system, wherein the program instructions are executable to implement the steps of:
-
receiving an asynchronous notify request from the GPIB application, wherein the asynchronous notify request includes a unit descriptor, event information regarding a plurality of GPIB events to monitor, and a reference to a callback function in the GPIB application, wherein the unit descriptor uniquely identifies the GPIB device; monitoring events specified by said event information, wherein said monitoring is performed in response to said receiving said asynchronous notify request, wherein said events comprise state changes of the GPIB device identified by the unit descriptor; determining that an event specified by said event information has occurred; and invoking said callback function in response to said determining that said event has occurred, wherein said invocation is performed asynchronously to the GPIB application.
-
Specification