This widget could not be displayed.

# LabVIEW

cancel
Showing results for
Did you mean:

Solved!
Go to solution

## Sum the values of the same elements of my table

Hello,

I am doing a questionnaire on an interface.
I succeeded to get the values of my radio buttons and I put them in an array.
But I have to sum the values of the same elements of my table. But I can do it.

Thank you 🙂
Message 1 of 9
(1,468 Views)
Solution
Accepted by topic author Steph_2

## Re: Sum the values of the same elements of my table

Attached  code snippet to add similar

----------------------------------------------------------------------------------------------------------------
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
Message 2 of 9
(1,419 Views)

Message 3 of 9
(1,404 Views)

## Re: Sum the values of the same elements of my table

Pazhanivel Thiruvenkadam, Thanks for your answer, Iwould like please to put in one table (in the table on sum values): Easy: the value of its sum Hard: the value of its sum Very Hard: the value of its sum Medium : the value of its sum How do I proceed please?

Message 4 of 9
(1,335 Views)

## Re: Sum the values of the same elements of my table

I want to put the sum in my table in the format:

Easy: value of sum
Hard: value of sum
Very easy: value of sum

Here is the vi
Thanks

Message 5 of 9
(1,381 Views)

## Re: Sum the values of the same elements of my table

1. If your array size remains same you can initialize with 3 Elements instead of 10.

2. Also Array Starts with 0 as Index and you are extracting Index Numbers from Label.Txt (Radio 1) so you can use -1 before replacing your data so that you will get your array starting from 0

----------------------------------------------------------------------------------------------------------------
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
Message 6 of 9
(1,372 Views)

## Re: Sum the values of the same elements of my table

I am very sorry but I didn't understand what to do. Sorry,
Thanks

Message 7 of 9
(1,368 Views)
Solution
Accepted by topic author Steph_2

## Re: Sum the values of the same elements of my table

Hello Steph 2,

Please find the attached code modified even my suggestions

----------------------------------------------------------------------------------------------------------------