For a measurement setup i am looking to XPC target drivers for the NI PCI-4472, i'm searching for a while know, but maybe someone can point me in the right direction.
When the drivers are not available, i was wondering where i can find, if available, a register map of the mMITE chip on the NI-4472 card so I can write my own XPC-driver.
As far as I know there is no XPC target driver for the PCI-4472 provided by NI.
I also quickly checked google to check for external ones, but I didn't directly find one.
In attachment you can find the NI 4472 Register-Level Programmer Manual.
If anything is unclear, then don't hesitate to let me know.
Thank you for your post. I also couldn't find a XPC driver for the PCI-4472, so i started writing my one, with the help of the Register-Level Programmer Manual (Thank you for that), Because the device and the NI E series are using the DAQ-STC, I got a basis for writing the code. The device is responding well, but the trigger don't trigger the acquisition. (The MITE_FIFO_Status still indicates an empty FIFO)
In the example in the Register-Level Programmer Manual is missing some information:
- AI channel configuration and enabling (I guess enable the channels, getting the gains from the EEPROM, set samplerate)
- Using the MITE DMA to subtract the FIFO data.
Can you point me in the right direction where I can find this information.
Is it possible to share what you currently already have done?
This way we can check where the triggering is going wrong.
Hereby a file with the simulink library with the unfinished driver. I based the scripts on the files of the NI E-series, so i still have to clean up the code.
As mentioned before the driver isn't working, because the FIFO stays empty. It is unknown for me how to do the AI channel configuration and enabling (I guess enable the channels, getting the gains from the EEPROM, set samplerate). I think that is the reason that the card isn't triggered to acquire data.
As a side project, Im still trying to use the NI-4472 under matlab XPC. The data aquisition is working, I can see that the MITE FIFO is filling (from 1/16 full, to 1/8 full, to full). The number of samples in between the different states corresponds with the initialised samplerate of the card. The next step is to read the FIFO by DMA, but i am missing the memory adresses. Can you help me with that?
I meet the same problem with you, have you finished the driver ? appreciate your feedback.