Hello everyone!
I am having trouble reading from SPI or I2C devices on the cRIO 9024 FPGA using an NI 9403 module. I tried following the examples from the link: https://forums.ni.com/t5/Example-Code/I2C-and-SPI-communication-on-FPGA/ta-p/3823804. However, when I attempt to switch the I/Os in the example, which are inside the cluster, to the I/Os of my module, LabVIEW displays an error:
"These cannot be wired together because their data types (numeric, string, array, cluster, etc.) do not match. Show the Context Help window to see what data type is required."
I really cannot explain where the error is coming from. I am not sure if it has to do with the fact that my FPGA I/Os do not have the same methods as those in the example implementation (see the attached photos). Could this be related to the fact that the SPI/I2C API only works with the NI 9401 and 9402 modules?
I saw a topic where someone managed to use the NI 9403 with the link: https://forums.ni.com/t5/Digital-I-O/Using-I2C-or-SPI-communication-with-cRIO-and-NI-9403-Module-and.... However, when I try to do the same thing (which is simply switching the I/Os as I am doing), the same error occurs.
Does anyone had this problem?
Thanks!
Lucian.