LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PLEASE HELP IN WRITING A CODE FOR LOAD CELL IN LABVIEW 2018 USING ARDUINO AND HX711

You certainly do need our help.  You seem to think we are Mind Readers, who can (a) see the LabVIEW code you didn't post, (b) see the specification for the "load cell" that you didn't post, (c) see the manual for this Load Cell that explains how one gets data from it, (d) see what other hardware you might be using to get data from this Load Cell.

 

And please, YOU DON"T HAVE TO YELL AT US TO GET OUR ATTENTION.

 

Kindly attach your LabVIEW code (no pictures of code, please, attach the actual VIs (if there are several, compress the folder containing them and attach the resulting ZIP file).  Be sure to tell us the name and model of the Load Cell, attach a manual if it is available (PDF is fine), and provide any other information that you think we might need.

 

Bob Schor

0 Kudos
Message 11 of 13
(566 Views)

Hi Charshith,

 

this is our project vi sir.we are planning to make it operate on a valid load.so trying to aquire load data sir

The VI is missing a lot of dependencies, but it is good enough to have a peek at the block diagram…

 

You're using a nice state machine, which is fine. (I still would clean it up…)

You're already using your Arduino by LINX functions, which also is fine.

All you need to do is to read that load sensor value using one more LINX function…

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 13
(559 Views)

Thanks for the reply sir.

I have tried using Linx +Arduino UNO + LabVIEW to read data from the Load cell.

But I could read only a value (0.761424 to 0.776324) for any amount of weight on the load cell.

Moreover the value is not at all constant. It keeps on fluctuating between above mentioned range. Below I am attaching the VI which I made to read weight value. I have tried same code using both Analog and Digital pins.

Eagerly waiting for the reply

Thanks in advance

0 Kudos
Message 13 of 13
(533 Views)