03-17-2021 10:45 PM
Hi, I'm trying to build a Labview VI for data acquisition from a load cell. I connected signal wires of the load cell to the HX711 ADC module, and output wires of HX711 were connected to myRIO. For this system, how can I configure block diagram using SPI interface?
I already checked a sample of using HX711 with myRIO. (https://forums.ni.com/t5/LabVIEW-Team-Indonesia/Interfacing-myRIO-with-HX711-Load-Cell/td-p/3719348)
However, the sample code used FPGA and I'd like to build a real-time running program on the chassis of myRIO without embedding a FPGA.
03-17-2021 11:30 PM
There is an SPI Express VI out there, so you don't even need FPGA coding.
Once you got your SPI data out, consult the datasheet for data conversion, you'll need a bit of skills here.
03-23-2021 06:47 AM
there is some information on that in the forum.
it seems that hx711 uses a bit banging protocol, not SPI.
i'll post some links for you to check out:
https://forums.ni.com/t5/LabVIEW-Interface-for-Arduino/hx711-load-cell-arduino-using-LIFA/td-p/36394...
https://forums.ni.com/t5/LabVIEW-Interface-for-Arduino/Weight-measurement-using-load-cell-and-hx711/...
https://forums.ni.com/t5/LabVIEW/Connect-load-cell-to-Arduino-through-SPI-interface-using-LINX-in/td...
they are mostly about arduino, but since the problem is the same, it may give you a hint.