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.
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.
10-08-2015 11:05 AM
I tried many ways so far.
I know that I can use build array to create an array from two numbers but Im not able to create a 2d array that way
I also tried using Replace array subset but still it wont work.
I know that I have to use an array function that has column index starting at 0 so whenever I press the button the column index incriments by 1 so the next column will change but Im not able to create this.
Solved! Go to Solution.
10-08-2015 11:14 AM - edited 10-08-2015 11:17 AM
You want it to add to your current array? Here's a good way using an event structure:
edit: Attached the VI for OP
10-08-2015 11:17 AM - edited 10-08-2015 11:18 AM
Here's a screenshot to explain myself better.
In this case however, whever In press the button the first column is replaced.
I want to change the next column whenever I press "next point".
10-08-2015 11:18 AM
Download the VI attached to my previous post and try it out! I think it does what you want.
10-08-2015 11:21 AM - edited 10-08-2015 11:21 AM
Greatly appreciated 🙂
10-08-2015 11:22 AM - edited 10-08-2015 11:23 AM
No problem! You may want to mark my first post as the solution instead, for future generation's benefit 😄
10-08-2015 11:24 AM
Fixed it 🙂 sorry still new to the forum
10-08-2015 11:25 AM
No worries! Welcome to LV!
10-08-2015 11:31 AM - edited 10-08-2015 11:32 AM
@ijustlovemath wrote:
You want it to add to your current array? Here's a good way using an event structure:
10-08-2015 11:34 AM
You're the authority on this one Altenbach! Writing this one, I just made it to have it work. Didn't really consider all of that. Here's a modified version for the OP to use should he like: