Hi chucky,
The term that NI-VISA uses for an interrupt is 'event'. Since the driver supports many different buses, an interrupt isn't the only asynchronous service request that an instrument can make. Thus, NI-VISA calls these service requests 'events'.
You'll most likely want to use the function pair
viEnableEvent() /
viDisableEvent() in your program. The VISA Help has more explanation about how to use these functions and even includes a simple C example. In particular, you'll want to read the sections titled
"Example of Handling Events" and
"VISA Events". If you have further questions about programming with NI-VISA, you'll get a wider audience in the driver's corresponding forum:
Instrument Control (GPIB, Serial, VISA, IVI)http://forums.ni.com/ni/board?board.id=140
Joe FriedchickenNI Configuration Based Software |
---|
Get with your fellow OS users [ Linux ] [ macOS ] | Principal Software Engineer :: Configuration Based Software Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018) Software Engineer :: Measurements RLP Group (until Mar 2014) Applications Engineer :: High Speed Product Group (until Sep 2008) |