07-10-2019 11:25 PM
Hi,
I am having trouble getting started with NI Compact DAQ and 9402 module. I would like to run SPI and I2C communication, but cannot find any examples or even proof that it could be done. Have only found the drivers for cRIO, but not for cDAQ. Could it be that cDAQ does not support SPI and I2C? What a shame that would be. If you could put me on the right track that would be great.
Solved! Go to Solution.
07-12-2019 11:28 AM
As cool as that would be, the 9402 is a cRIO only module: http://www.ni.com/en-us/support/model.ni-9402.html
I use the USB-8451 for my SPI/I2C needs which generally works well. If I were getting one for development, I would go with the NI-8452 instead.
07-12-2019 03:52 PM
07-15-2019 04:10 PM
Hi Daista,
The 9402 module can only be used with cRIOs.
The links below would be helpful if you decide to take a crack at implementing SPI/I2C on a cDAQ but this isn't something we can help with as it is outside the scope of support.
SPI Digital Waveform Reference Library
http://www.ni.com/example/31163/en/
Serial Protocol Communication Reference Design for Digital Waveform Devices
http://www.ni.com/example/31200/en/
07-29-2019 02:47 AM
Thank you all for your replies. That is a pity to hear. Does it mean that 9402 is useless with cDAQ? Are there any other modules for cDAQ that would implement digital communication protocols?
We consulted with a NI representative before making this purchase and he confirmed our selection of 9402 + cDAQ. This situation makes us to start losing trust in NI tools and support.
Best regards,
Dainius
04-18-2023 06:12 AM - edited 04-18-2023 06:14 AM
"The 9402 module can only be used with cRIOs."
I have a 9402 connected to a cDAQ-9133 while typing this. NI 9402 Datasheet - NI
You just don't have the possibility to use FPGA-related resources with it. I think that's the "crio only" part mentioned by NI elsewhere online.