LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

writing data to a column

I cant figure this out. I havent used labview in a little while and now I have to use these things you people call "arrays" and I'm confused.

 

Anyway, I want to dynamically write data to a column and/or a row depending on where in the program I am.

 

I'm having an issue writing to a column, please help me. What am i doing wrong

0 Kudos
Message 1 of 2
(1,888 Views)

The term "array" is a pretty common term in computer programming, so if you aren't familiar with it, then you probably will have lots of problems.  I suggest you start with some online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours

 

You are using Insert into Array.  It looks like you are inserting into column 2.  Are you sure you don't want "Replace Array Subset"?

 

It is hard to debug a screenshot.  A copy of your VI would be better.  Is your 2-d string array going into the initializer terminal of the feedback node an empty array?  You can't insert new data into an array in an area past the end of an array.  (i.e.  if column 0 is blank, you can't insert data into column 2, what would column 1 get?)

0 Kudos
Message 2 of 2
(1,868 Views)