The Daily CLAD

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 

CLAD2017 - Fundamentals - Tony what's happening?

Active Participant

SercoSteveB has created the following VI but has poorly commented/documented his work (not for the first time Smiley Wink).  Which of the following most closely matches the functionality provided by the VI?

 

Describe the Functionality.png

 

 

NOTE: All hidden cases of the Case Structure are shown below:

Describe the Functionality -1.png

 

a) The VI records the average value for each pair of values in Numeric Array In.

b) The VI records the number of occurrences of each unique value in Numeric Array In.

c) The VI records the rolling total of values in Numeric Array In.

d) The VI records the sum of the odd values in Numeric Array In.

Combined.png

Comments
Member

B

Knight of NI

B

 

I find this easier to do with Variant Attributes


There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Member

B

Happy to Wire
Member

B

Member

b)

Member

B

Active Participant

crossrulz I find this easier to do with Variant Attributes

 

Could you post up an example?

Combined.png

Knight of NI

I know there are better examples out there, but this is the first good one I was able to find: https://forums.ni.com/t5/LabVIEW/count-the-number-of-repetitions-of-items/m-p/3367576#M991374


There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Active Participant

B

Member

B

 

Active Participant

B

 

crossrulz I find this easier to do with Variant Attributes

 

my favorite example is this 2007 nugget:

https://forums.ni.com/t5/LabVIEW/Community-Nugget-3-12-2007-Implementing-sets-with-variant/td-p/4899...

 

I used this technic in my answear to Re: CLAD2017 - Answer the Requirement - Remove Duplicate Numerics

 

But I really appreciate the explicite approach, using array functions only

 

2019 expired compiling executables with LabView 2017

Member

B

Member

Tough one!