Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Using ni-9232 with vs2005

Hi,

I need to add an NI 9232 A/D to existing vs2005 c++ software. I added the example coding ContAcq-IntClk.c as a separate module. The example code starts with

        int main(void)

which I changed to

      int Run24Bit(void)

 

I start this as a thread, with the call

       hAD24=CreateThread(NULL,0,Run24Bit,NULL,0,NULL)

but following this (not before) call errors appear during execution.

 

I tried using     int WinAPI Run24Bit    instead, but that didn't work.

How to get this to run properly ??

 

Thanks for any help - Gil@Geonics.com

0 Kudos
Message 1 of 1
(359 Views)