05-12-2020 02:42 AM
Hi,
i am trying to read data from SPI pressure sensor using cRio 9068 and NI 9401. i already install any software needed and when i use this software the Indicator return 0 . can anyone help me .
Datasheet of the sensor :https://www.distrelec.be/Web/Downloads/_t/ds/SSCDRRV100MGAA5_eng_tds.pdf?pid=$%7bproduct.code%7d
Type of the sensor : DIP AN
05-12-2020 06:36 AM
Does that 3rd VI have an ouput? If so, I'd wire it and use it for the 4th VI.
05-12-2020 08:13 AM
I 100% agree with Wiebe. If you put the SPI functions on the same Error Line, you wouldn't need the Sequence structure to enforce Data Flow, and you probably would not have "thrown away" whatever that third SPI function did to the SPI line.
I don't recognize the SPI functions you are using -- they don't look like the functions that are on my Laptop for the USB NI-8452 SPI Master device. Too bad you didn't attach the VI, enabling me to more-clearly view the functions, and to right-click and see what names were associated with them. But whatever modification that third SPI function performs, you do not bring this change into the next Sequence frame.
Bob Schor
05-12-2020 08:18 AM
@Bob_Schor wrote:
I don't recognize the SPI functions you are using -- they don't look like the functions that are on my Laptop for the USB NI-8452 SPI Master device.
I'm pretty sure those are from an NI library for performing SPI with LabVIEW FPGA.