Hello!
I'm developing an application with two parts, a LabVIEW program and a DLL using Microsoft Visual C++.
The program has to acquire data and save it to HDD, so the labVIEW program configures the DAQ (PCI-6111) and starts the DLL. In the DLL I have a callback function to handle the DAQ message of N scans (with the Config_DAQ_Event_Message c function), and then I start the analog output and input from the LabVIEW program.
The DLL should pick up the message of N scans done, and I am getting the callback function called, but somehow it doesn't correspond with the frequency I set for the AI clock.
Does anybody knows if I can configure the AI in a LabVIEW program and wait for the message of N scans in a DLL? Or do I
need to configure the AI in the DLL as well to have them synchronised?
I mean, can I configure and start the AI in one program and handle the occurrences from the DAQ in a different program?
Thank you very much!!!