After browsing through the developer zone, it is my understanding that data acquisition boards are programmed through the NI-DAQ driver software, BUT there is no native C++ API for NI-DAQ (yet).
I have been told that there are two API options to program NI-DAQ in Visual C++. Option 1: NI-DAQ C-style API (a low-level C API that is included with NI-DAQ that can be used in Visual C++). The second option is the ActiveX control API (a set of ActiveX controls provided to control NI-DAQ hardware, such as CWAI, CWAO, etc.) This API works well in MFC applications because it is event driven and VC++ creates VC++ wrapper classes that can be used)
I would like to know if there are any ?GPCTR_Set_Application? examples usin
g one of the two approaches outlined above. ?GPCTR_Set_Application? is a function referenced from the NI-DAQ Function Reference manual, chapter 2. If one could be posted in response to this inquiry, that would much appreciated.
I am trying to run the "GPCTR_Set_Application" function from a dialog created in Visual C++.
Thanx 😃