01-15-2013 06:07 AM
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.
Many thanks!
01-16-2013 02:35 AM - edited 01-16-2013 02:36 AM
Hello Knight87,
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.
01-23-2013 04:44 AM
Hello Thierry,
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.
Many thanks,
Bert
01-28-2013 09:15 AM
Hello Bert,
Is it possible to share what you currently already have done?
This way we can check where the triggering is going wrong.
01-30-2013 04:53 AM
Hello Thierry,
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.
06-18-2014 03:01 AM
Hello Thierry,
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?
Kind regards,
Bert
11-30-2016 08:29 AM
Hello Knight87,
I meet the same problem with you, have you finished the driver ? appreciate your feedback.
Much thanks!
Fengzi
08-26-2021 06:50 AM - edited 08-26-2021 06:51 AM
Hello!
I encountered the same problem as you. Have you completed your code? Can you share it?