LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

calculate the average of the array values and multiply the values of two arrays with the same indices

Hi everyone,
I came to ask for help.
I'll explain what I want to do in my vi below:

 

1. I want to calculate the average of the values in my selection values table.

2. I want to put the values of the array selection values in an array result selection values as in the same format of the array Result Radio,
and make the multiplication of the values of the same indices.
Can you help me please?
Thank you

0 Kudos
Message 1 of 3
(746 Views)

Please dear all,
Help me please, I am stuck since the morning. I dont have anyone around me who has done Labview

0 Kudos
Message 2 of 3
(707 Views)

Hi Steph,

 


@Steph_2 wrote:

1. I want to calculate the average of the values in my selection values table.

2. I want to put the values of the array selection values in an array result selection values as in the same format of the array Result Radio,
and make the multiplication of the values of the same indices.


1. That "selection values" array is empty. It is an array of strings with unknown format. Each element of this array is converted to another string format, and apparently they contain some strings. How do you define the "average" of those strings?

I guess you talk about this part:

GerdW_0-1676576161220.png

2. The "Result Radio" array also is empty and so I don't know which format is required. How do you want to multiply strings? Please define this operation!!! Apparently both arrays are created using the same formatting operation:

GerdW_1-1676576320919.png

 

When you need specific help then you should provide specific requirements with specific data…

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 3
(687 Views)