LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

manipulating channels from DAQ

Hello
I am using labview 8
 
In my work am intersted in acuiring data from a force/torque transducer , i used the daq assistant and it reads the 6 channels and it
is working well.
The problem is that I am in need to make an additional signal which is the sum of channel squares
I mean that : signal = (ai0)^2+(ai1)^2+(ai2)^2+(ai3)^2+(ai4)^2+(ai5)^2.
I don't no how to implement such a signal in labview .
0 Kudos
Message 1 of 2
(2,332 Views)

The math functions in LabVIEW are polymorphic. That means that they can accept a variety of different inputs including arrays or dynamic data. So, you can just use the multiply and Add Array Elements functions. If you are capturing a single point from each channel, your code would be as simple as the picture below.

Message Edited by Dennis Knutson on 04-26-2007 10:41 AM

0 Kudos
Message 2 of 2
(2,322 Views)