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

    Jan 8, 2009 · If this is the case, you should use Initialize array to create an array with a size equal to the final size, filling it with NaN values (only for floatting point number), and then use the replace element function to input your data in the array.

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

    Jan 10, 2019 · If you choose to insert the array at a specific column LabVIEW will interpret the array as a column array. If you would like to Replace/Insert the array as a row array at a specific column, you can: Convert the 2D array into a 1D array, Specify which row you would like to Replace/Insert the array. Replace/Insert the array. Change back to 2D array.

  3. Reshape Array function - LabVIEW Wiki

    Jun 29, 2020 · To swap the dimensionality of 2D arrays ([i:j] to [j:i]), use Transpose 2D Array instead.

  4. Concatenate Multiple Arrays in LabVIEW - NI

    Aug 28, 2023 · How do I adjust an array size and concatenate arrays together? 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 …

  5. 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.

  6. 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.

  7. how to convert 2D arrays to 1D array - NI Community

    Feb 2, 2005 · wire te 2D array to reshape array and wire a 24 (or the product of the dimensions of the 2D array) to the dimension size input. The output will be a 1D array as requested.

  8. 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.

  9. 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.

  10. Converting a Waveform to a 2D Array - NI

    Jan 2, 2024 · In order to convert this data to a 2D array, you will need to extract the existing Y data from the waveform and assign a time to each value; Below is an example of how to convert the data into a 2D array of doubles Use the Get Waveform Components function to extract the Y and dt data from the waveform

Refresh