Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66781

Help! Inserting a 1-D comment array into a 2-D string array at specified row AND column

$
0
0

Hello everyone,

 

I am writing a 2-D string array to excel and i need a way to add comments to my file like this:  

 

SLAM    NAME    G Level    Comments

1              RALF         26               

1              RALF         26

1              RALF         26

1              RALF         26

 

For some reason, i cannot specify a row AND column to write because: 

 

When i use replace array subset it only replaces 1 element at my index. 

When i use replace array subset with a loop, it creates empty spaces until it reaches the end of the array it is replacing.

When i use Insert into array: i cannot wire 2 inputs for row and column.  

 

In my complete VI i will need to write from row 1-1001, a different comment from 2-2002, a different comment from 3-3003, etc until a stop condition is met so i need to figure out how to do this programatically and not have it replace any elements outside of the range or it will override previous commetns. 

 

I am at a loss of what to do. Any and all suggestions are greatly appreciated. 

 

Thanks!


Viewing all articles
Browse latest Browse all 66781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>