LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital Voltmeter with NI USB-6009

Solved!
Go to solution

I need help creating a digital voltmeter to graph changes in voltage over time in LabVIEW.

 

I am currently working to measure forces on various suspension components using strain gauges for a club. I am getting good readings using analog inputs; however, I hope also to use digital inputs to record data from more gauges at a time (18 total) since the DAQ I am using only has eight analog inputs. I am using an HX 711 to convert the analog signal from the gauges to a digital signal. I am recording these signals with a NI USB-6009 DAQ. I have messed around for a while and am currently stuck. I believe I need some sort of a loop to output clock signals to the HX 711. Ideally, the program would take continuous samples, but I ran into issues when attempting this (error 200077). 

 

Any help would be very much appreciated, this is my first time using LabVIEW! I haven't noticed any programs that already exist for this application, I'm sure it would be quite simple for someone who knows what they're doing.

0 Kudos
Message 1 of 5
(253 Views)
Solution
Accepted by topic author LawrenceFormula

In short, you cannot interface USB-6009 with HX711 as it requires a protocol with tight timing requirements. You can use an Arduino or like to interface with the HX711 bridge amplifier/ADC.

https://forums.ni.com/t5/LabVIEW/Weight-Scale-using-DAQ-USB-6000-and-HX711/td-p/4295820

 

I recommend looking at a DAQ that supports several gauge readings instead of going through HX711 + digital interface for a more robust system.

 

If you need a more affordable DAQ, check out LabJack and MCC DAQ

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 2 of 5
(246 Views)

Alternatively you could use an arduino connected to the HX71 and read Arduino readings through serial VISA. The arduino is a serial communication, that spits the readings from the loadcell connected to HX71. 

0 Kudos
Message 3 of 5
(200 Views)

Just a quick update, I ended up junking the hx 711's and went with some cheap AD 620 voltage amplifiers instead. Easy to use and plot waveform graphs with; however, they do tend to lose calibration overtime, so I do not recommend this setup. Good proof of concept, but difficult to read accurate changes in voltage from since they don't stay calibrated. Currently working on finding a more accurate, yet still affordable system.

0 Kudos
Message 4 of 5
(135 Views)

@LawrenceFormula wrote:

Just a quick update, I ended up junking the hx 711's and went with some cheap AD 620 voltage amplifiers instead. Easy to use and plot waveform graphs with; however, they do tend to lose calibration overtime, so I do not recommend this setup. Good proof of concept, but difficult to read accurate changes in voltage from since they don't stay calibrated. Currently working on finding a more accurate, yet still affordable system.


As you realized, if you need a stable, calibrated, professional system, you need shell out more money. I am not justifying the corporates, just the reality that a DIY-like solution is not always professional.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 5 of 5
(129 Views)