I am working on a driver that required an event raised back whenever a device's SRQ line is asserted. Sounds simple enough, and the Device.Notify() method should fit the bill. However, I am finding that only the Board.Notify() method (using the GpibStatusFlags.ServiceRequest) works, and not the Device.Notify() method (using GpibStatusFlags.DeviceServiceRequest). There are two possibilities that I can think of:
1) The auto serial pool flag is disabled - can't figure out where the flag is set.
2) This is not supported by the instrument - Not sure why that would be the case.
I don't think it's my software (famous last words), because the example supplied by NI does not work as well. The example can be found at:
C:\Documents and Settings\All Users\Documents\National Instruments\NI-488.2\Languages\DotNET2.0\Notify\cs
for a "standard" NI488.2 installation.
Has anyone successfully used Device.Notify() in a .NET application, preferable C#? Can you offer some words of advice on what may be the problem?
Thanks,
Dave
Software Details:
NI488.2, version 2.52
Microsoft Visual Studio 2005 (FW2)
Hardware details:
Windows XP/SP2
NI488-USB-HS
Keithley 2602