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.
03-12-2011 10:38 PM
Hi everybody,
In four firsts columns i've value of voltage and last four columns i've the date of acquisition. I need to move position of columns. The drawing below shows how it should be the final position of the array.
Thanks.
Solved! Go to Solution.
03-12-2011 11:32 PM
@Carlos1987 wrote:
Hi everybody,
In first four columns I have value of voltage and last four columns I have the date of acquisition. I need to move position of columns. The drawing below shows how it should be the final position of the array.
Thanks.
Selectively use the array manipulation functions to break apart the array and rebuild the columns in the order you want.
Index Array, Build Array,
Delete from Array, Insert into Array,
and also Array Subset can all be used.
There are a number of ways to do it. I would use Array Subset to get the different sections, and then use Build Array to put them back together.
03-13-2011 01:47 AM
Hi Carlos,
I've taken a look at your VI and I think the solution to the problem is the first snippet. But then again I was thinking why you do it that way. So I programmed it differently and that is shown in the second VI. The second one should be a lot better then the first one. Probably not even the best way to do it, but it's programmed in 5 secs 😉
03-13-2011 01:59 AM
What's the purpose of the 0ms wait in the innermost loop???
03-13-2011 03:07 AM
Hi Altenbach,
No idea - has no use at all - but I kept it in there 😉
03-13-2011 10:32 AM - edited 03-13-2011 10:36 AM
This my mistake. Sorry