Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

NIDAQ GPCTR_Set_Application Visual C++ Equivalent

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 😃
0 Kudos
Message 1 of 2
(3,010 Views)
Rodney;

I'm attaching a CVI example which uses that function you referred to.
Hope this helps.
Filipe
0 Kudos
Message 2 of 2
(3,010 Views)