Programmatically Extract a Single Row From a 2D Array

Updated Sep 5, 2025

Reported In

Software

  • LabVIEW

Issue Details

I have a 2D array that I'm loading in from a spreadsheet. I know what row I need to process; how can I get a single row from a 2D array in LabVIEW?

Solution

You can use the Index Array function to extract a single row, as shown in the example below. The example code below will return the entire row of index 1, meaning the second row from the top. LabVIEW arrays use 0 indexing. 

 Block Diagram

Front Panel