From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

summing forces in LabVIEW(newbie)

Hi,
I am pretty new to LabView(last 3 weeks), So I know this has to be pretty easy but I haven't been able to get it to work right.
I have 4 load cells that I am trying to read the force from. I have scaled the channnels and set up the wavefroms so that they agree with what my DMM says.
I now want to get the resultant from all four channels. I used the sum elements option but I realized it's adding up all my samples within my sampling rate. I just want to select one instance in time and get the resultant from that instance.
I am including the VI if anybody wants to take a look.

Thanks,
Bernard
0 Kudos
Message 1 of 2
(2,184 Views)
Place an 'Index Array' (Functions >> Array subpalette) between the 'Build Array' and 'Add Array Elements' function. Wire a 0 to the 'Index (Row)' input of 'Add Array Elements'. The code will now sum the first value read from each channel.

Chris_Mitchell
Product Development Engineer
Certified LabVIEW Architect

Message 2 of 2
(2,184 Views)