About 1,190,000 results
Open links in new tab
  1. Solved: 1d array into 2d array - NI Community

    Jan 8, 2009 · You can use the Insert into Array function, with the row index set to the last position in the array. Alternatively, you could play with Append to array and transpose array to reach a similar result.

  2. Solved: convert 1D array to 2D array - NI Community

    Jul 23, 2012 · You can use Build Array (array pallete) to convert the 1D array to 2-D. You'll have to remember to wire an array constant (string in this case) to the second input of the Build Array VI.

  3. Solved: create 2d array from 1d array - NI Community

    Aug 6, 2013 · I have code to pull a spectrum which is a 1D array from a USB connected instrument but I would like it to run the data collection many times and output the data each time to a 2D array that it builds over the run.

  4. LabVIEW Arrays and Clusters Explained - NI - National Instruments

    Jul 12, 2024 · To create a 2D array, you must first create a 1D array and then add a dimension to it. Return to the 1D array you created earlier. On the front panel, right-click the index display and select Add Dimension from the shortcut menu.

  5. How Can I Replace/Insert a 1D Array at a Specific Index into a 2D Array

    Jan 10, 2019 · "Replace Array Subset" and "Insert Into an Array" functions can either control which row or which column the array will be Replaced/Inserted. if you choose to Replace/Insert at a specific row, LabVIEW will interpret the array as a row array.

  6. Concatenate Multiple Arrays in LabVIEW - NI

    Aug 28, 2023 · You can concatenate multiple arrays by using the Build Array function. This function works in two modes: either appending elements to an n-dimensional array, which is the default mode, or concatenating multiple arrays.

  7. Create a 2D Array in LabVIEW - NI

    Oct 22, 2023 · When adding an array in LabVIEW, it is by default a 1-D array. How can I add an array of Two Dimensions? It is possible to create a 2D-Array from the Block Diagram and Front Panel. Let´s see the process on each one: Right-click on the front panel and add the Controls >> Data Containers >> Array to your front panel, then define its data type.

  8. How to convert a one-dimensional array to a two-dimensional array

    In LabVIEW, a one-dimensional array can be transformed into a two-dimensional array using the “Reshape Array” function. Here is an example: Open LabVIEW and create a new VI. Drag a “Reshape Array” function in the Block Diagram. Connect a one-dimensional array input to the input of the “Reshape Array” function.

  9. Solved: Combine two 1D arrays in one 2D array - NI Community

    Oct 26, 2009 · perhaps I overlook the obvious but I can't find a solution for combining two 1D arrays in one 2D array AND (that's the impossible part for me) using the arrays as columns instead of rows. Example: Array 1: 1, 2, 3, 4

  10. Reshape Array function - LabVIEW Wiki

    Jun 29, 2020 · The Reshape Array function takes an array of any size and dimensionality and turns it into an array of different dimensionality using the original elements. Usage. Connect an array of any size and dimensionality to n-dim array and extend the bottom border of the function until the desired number of output dimensions is reached. For each ...

  11. Some results have been removed