05-07-2010 03:58 AM
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
05-19-2010 07:15 AM
05-24-2010 01:28 AM
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