Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Error using NIDAQ-examples with lcc

I tried to compile some of the demos using the lcc32-environment. After some time it worked fine using

 

lcc -c test.c -o test.o

lcclnk test.o test

 

But when I try to run test.exe I get the following error:

Exception 0xc0000005

Segment violation

Adress: 0x0

 

abnormal program termination

 

Any ideas on that? The program I tried to start was Acq-IntClk.c

 

Thanks!

 

0 Kudos
Message 1 of 2
(2,953 Views)

Hi Mart

thanks for posting to our forums. I have to admit I am not too familiar with the Lcc win 32 compiler. You should take a look at this forum post. The DAQmx C Reference Help mentions at the index "ANSI C" several steps to follow in order to use other compilers.

 

Good luck with your project!

 

Peter

--
Peter A.
Field Sales Engineer, NI Germany
0 Kudos
Message 2 of 2
(2,909 Views)