LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

subtracting a value from all elements in an array

Solved!
Go to solution

I'm probably not even close, but I learn the most out of getting corrected by the community here. Learning as I go!

 

How can I take a value from 1 channel and subtract that value from all other channels?

I'm not entirely sure what this code is doing, but it's definitely not doing what I want.

Index array may not be the right tool to use?

How can one index an element from an array and then put it back?

 

Thanks

RiseOverAmbient.PNG

0 Kudos
Message 1 of 7
(6,930 Views)
Solution
Accepted by LabNoob14

Remember way back with your first post I told you arrays and FOR loops are your friends?  Make your life easier.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Download All
Message 2 of 7
(6,911 Views)

@crossrulz

 

I do remember that, thanks.

0 Kudos
Message 3 of 7
(6,868 Views)

Arrays and FOR loops really help reduce the amount of clutter

0 Kudos
Message 4 of 7
(6,854 Views)

You seem to be serious about learning and improving your LabVIEW skills.  Maybe this is a good time to obtain a copy of the LabVIEW Style Book by Peter Blume.  It's rather old, but the concepts it teaches are absolutely still relevant (which is probably why it was never updated, and it's still pretty expensive).

 

This is considered to be the "LabVIEW Bible" by many, and if you use it at least as a base to develop your own style, you can't go wrong.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 5 of 7
(6,842 Views)

Bill,

 

Thanks, I'll check it out. I'm thinking of taking the LV core classes 1&2 and perhaps being certified someday

0 Kudos
Message 6 of 7
(6,835 Views)

...did you ever get that certification🤞?

0 Kudos
Message 7 of 7
(4,777 Views)