Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Config_DAQ_Event_Message

Hi,
I wonder is there any changes for dll function Config_DAQ_Event_Message after DAQ driver 6.6. I'm using Delphi 6 to program my application. My application works fine under driver 6.6, but it crashs on the above version. I'm using DAQEvent = 2. After SCAN_Start, the callback function execute couple times before it crashs. Driver 6.6 only execute the callback function once. Could anyone give me an example using the Config_DAQ_Event_Message in Delphi or C++?
Thank you.
0 Kudos
Message 1 of 2
(2,758 Views)
Hello,

I do not think that any changes were made after NI-DAQ 6.6 for this specific function. Try taking a look at this file availible from NI(see below). I know that it is a CVI program and you are using Delphi, but this program does exactly what you want. Especially take a look at the two Config_DAQ_Event_Message functions. This is where the event is set up and this is where the callback is defined. I ran this program using NI-DAQ 6.9.2f8(version 6.9.3 is availible for download) and it worked fine. I hope this helps you out,

Andrew

http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/bf97a44eba723a028625617900775b46?OpenDocument
0 Kudos
Message 2 of 2
(2,758 Views)