Driver Development Kit (DDK)

cancel
Showing results for 
Search instead for 
Did you mean: 

Ni4472: making driver. Questions about IRQ.

Hi.

 

I am starting a Ni4472 project with the DDK under Linux.

Seems that this board is not supported.

 

Can you confirm that

- I could use the tSTC files form E-Series to manage the STC ?

- I have to develop a Ni4472.cpp to replace the tESeries.cpp ?

 

 

Right now I have just used the basic osiBus interface to access registers directly.

I managed to make a simple acquisition with a DMA.

 

I have browsed the ESeries examples but I can't figure how I can connect an IRQ with Linux.

Should I add some code in the nirlpk.c (in the low level driver) to register the IRQ ?

Or is there another way to do it without modifying the driver ?

 

Thanks

 

Chris

 

 

0 Kudos
Message 1 of 3
(6,673 Views)

Hello blinde2000,

 

Thanks for posting on National Instruments forum. 

 

The 4472 is not supported with the MHDDK as indicated here

 

What do you want to implement? Why do you want to use the MHDDK? 

    Benjamin R.


Senior LabVIEW Developer @Neosoft


0 Kudos
Message 2 of 3
(6,600 Views)

Hi.

 

To summarize, I am migrating a product with a 2.4 kernel + comedi (including home made driver for 4472) to a 2.6 kernel.

As our old version of comedi doesn't build on 2.6 options were:

- rework of our comedi driver.

- use official drivers nikal : despite support of Ni France, didn"t work as we want to use external clock for 4472 and we don't use a standard Ni controller board for PXI System Board.

- use mhddk (some issues...)

- use fully home made driver (under work)

 

What I need to implement is rather basic : calibration and acquisition of data using a DMA with an external clock coming from backplane and a sync signal used to synchronise the start of acquisitions.

And of course no polling to know the state of DMA (so use of an IRQ)

 

Regards

 

0 Kudos
Message 3 of 3
(6,562 Views)