LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read 2D data, select row, then add/modify content to a specific cell?

Solved!
Go to solution

 


@cory K wrote:

Correct and non-abusive use of both a sequence structure AND a local variable!
Didn't think I'd live to see the day... Smiley Very Happy


I strongly disagree! 😮

 

0 Kudos
Message 11 of 15
(686 Views)

 


@altenbach wrote:

 


@cory K wrote:

Correct and non-abusive use of both a sequence structure AND a local variable!
Didn't think I'd live to see the day... Smiley Very Happy


I strongly disagree! 😮

 


 

The sequence is not needed at all. Here's the same functionality while avoiding the sequence structure.

Still no race condition.

 

 

 

(The "notes" are simply wired across in the false case.)

 

(Of course the other issues still apply, so I don't recommend this code. We don't need to replace array elements and update the items unless there is a change. Right? Go with the event structure as suggested above.)

Message 12 of 15
(673 Views)

Many thanks to everyone, these are valid approaches to my particular problem.

0 Kudos
Message 13 of 15
(668 Views)

In all fairness, I did note "Also, using an event structure could make this cleaner" Smiley Wink

0 Kudos
Message 14 of 15
(663 Views)

Thanks for being a party-pooper Christian! Smiley Very Happy

I kind of had a feeling someone was gonna jump on that.

Cory K
0 Kudos
Message 15 of 15
(651 Views)