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,183 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,183 Views)