This widget could not be displayed.

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: 

Sum the values of the same elements of my table

Solved!
Go to solution

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.
 
Can you please unblock me?
 
Thank you 🙂
0 Kudos
Message 1 of 9
(1,271 Views)
Solution
Accepted by topic author Steph_2

Attached  code snippet to add similar

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
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.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 9
(1,222 Views)
Hi PalanivelThiruvenkadam, Thanks you
0 Kudos
Message 3 of 9
(1,207 Views)

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?

0 Kudos
Message 4 of 9
(1,138 Views)

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

How do I proceed please?
Here is the vi
Thanks

0 Kudos
Message 5 of 9
(1,184 Views)

Few Points on your implementation.

 

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

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
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.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 6 of 9
(1,175 Views)

Hi  PalanivelThiruvenkadam,
I am very sorry but I didn't understand what to do. Sorry,
Can you show me please please?
Thanks

0 Kudos
Message 7 of 9
(1,171 Views)
Solution
Accepted by topic author Steph_2

Hello Steph 2,

 

Please find the attached code modified even my suggestions

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
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.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 8 of 9
(1,167 Views)

Thanks you very much

0 Kudos
Message 9 of 9
(1,161 Views)