Hi !
I need to send a simple message through GPIB (TNT5004) which depends on the measurement obtained on a ADC from a M-series DAQ card. Because of timing requirements (~5kHz), this should be done at interrupt time. (typically a fast PID regulation, with input from a ADC and ouput on a GPIB instrument).
I have written a custom driver for the M-series card. The interrupt routine or the associated DPC can be called at frequencies up to ~200kHz, which is OK for my application. Now the point is to access the TNT5004 at interrupt time. Can I access the driver provided by NI from kernel mode, through IoCallDriver calls, which would allow regular user-mode calls to this driver for most common purposes ? In other words, are the GPIB API functions available from kernel mode ?
I'd like to avoid writing another custom driver for TNT5004 (which requires NI-488DDK)...
Thank you !
Fabrice