Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

handling SRQ's in GPIB .NET API

Looking for the proper method to set up for and handle SRQ's in the GPIB .NET API environment
0 Kudos
Message 1 of 2
(3,807 Views)
Hello,

A good example of this can be found by default in

C:\Program Files\National Instruments\MeasurementStudio70\DotNET\Examples\GPIB\Notify

This example uses the Notify method to setup a callback function. When the selected device requests service, the callback function is called and can service the request.

Depending on what you are trying to do, there may be other methods for accomplishing your goal. The WaitForSRQ() method in the Board class can be useful, as can the SerialPoll() method. See Measurement Studio help for more information on the available methods, and for information on serial polling and SRQ's in general, you can see the NI-488.2 Reference on the start menu: National Instruments\NI-488.2\NI488.2 Help.

Hope this is useful.


Scott B.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,807 Views)