Benchtop Measurement and Test
Distributed Measurement and Control
Systems Engineering Software
You can request repair, RMA, schedule calibration, or get technical support. A valid service agreement may be required.
Provides support for NI data acquisition and signal conditioning devices.
Provides support for Ethernet, GPIB, serial, USB, and other types of instruments.
Provides support for NI GPIB controllers and NI embedded controllers with GPIB ports.
What I need is the possibility to auto index a 2 dim array by column or by row
With a right click at the tunnel to have this two options
This is a duplicate of Allow user to select dimension when array indexing in For/While loop which really needs to get more kudoes.
(And also Auto-indexing Tunnels and Multi-Dimensional Arrays).
Until this idea is selected and implemented, the easy solution is to transpose the 2-D array before sending it into the loop for auto-indexing.
Adding a "transpose" before the tunnel is actually very cheap, because it only changes a flag and does not actually touch the array in memory. It is not a big deal.
For a complete idea, you would also need the same functionality at the output tunnels.
Or this idea...
When I use the transpose function the "show buffer allocation tool" show me that LabVIEW is using a new buffer
It might need to make a new copy for various reasons (e.g. branching), but it might just flag it as "transposed" instead of shuffling around all elements. I don't know the details. Autoindexing on colums might also be less efficient, because column elements are not adjacent in memory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What do you need our team of experts to assist you with?
We'll be in touch soon!