Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Measurement Hardware Driver Dev. Kit with the NI 6602

Hello,

I got from NI the following the Measurement Hardware Driver Development Kit
for the NI 6602 Counter/Timer Card to work with Linux:

http://sine.ni.com/apps/we/nioc.vp?cid=11737〈=US

one is the common driver.

The other are the sample programms.

However, every programm except the one which uses the
interupt/dma works(gpct_ex8.cpp).

Here is the errormessages:

*******************************************************************
[root@proto OSinterface]# ls
gpct_ex1.cpp gpct_ex4.cpp gpct_ex7.cpp osiBus.cpp osiUserCode.cpp
tTIO.cpp
gpct_ex2.cpp gpct_ex5.cpp gpct_ex8.cpp osiBus.h trace.h
tTIO.h
gpct_ex3.cpp gpct_ex6.cpp gpct_ex9.cpp osiTypes.h tStatus2.h
tTIO.ipp
[root@proto OSinterface]# g++ g
pct_ex8.cpp osiBus.cpp osiUserCode.cpp
tTIO.cpp
In file included from osiBus.h:9,
from gpct_ex8.cpp:15:
osiTypes.h:39:1: warning: "NULL" redefined
In file included from /usr/include/_G_config.h:14,
from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from gpct_ex8.cpp:14:
/usr/lib/gcc-lib/i386-redhat-linux/3.2/include/stddef.h:366:1: warning: this
is
the location of the previous definition
gpct_ex8.cpp: In function `void test(iBus*)':
gpct_ex8.cpp:112: `class tTIO' has no member named `G0_DMA_Control_Register'
gpct_ex8.cpp:113: `class tTIO' has no member named `G0_DMA_Control_Register'
gpct_ex8.cpp:136: `class tTIO' has no member named `G0_DMA_Status_Register'
gpct_ex8.cpp: In function `void gpct_ISR(tTIO*)':
gpct_ex8.cpp:154: `class tTIO' has no member named `G0_DMA_Status_Register'
[root@proto OSinterface]#
*******************************************************************

Does anyone know what is the proble
m with it?

I have Redhat-Linux 8.0 and kernel 2.4.18.

Thank you

Mario Behn
0 Kudos
Message 1 of 2
(2,694 Views)
Hi Mario,
I encourage you to repost your question in the DDK category . You might find a bigger audience of people who are using the Driver Development Kit.

Good luck!
0 Kudos
Message 2 of 2
(2,694 Views)