LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

writing to a table...i'm stuck!

Solved!
Go to solution

My question is more complex so i've simplified it, if anyone can show me how to do this I will be very grateful.

 

Please, tell me how to make a subVI to which i supply 1d string (data), a column number and a row beginning.

 

Similarly, how to make a subVI to which I supply a 1d string and a row number and a column beginning.

 

I don't need anyone to make this subvi for me but please hint at how i convert this information to a 2d string [row, column] data. I've been working on this for 2 days now.

 

If this was C, it would be done within minutes.

0 Kudos
Message 1 of 4
(2,703 Views)
Solution
Accepted by topic author lebogzy

 


@lebogzy wrote:

My question is more complex so i've simplified it, if anyone can show me how to do this I will be very grateful.

 

Please, tell me how to make a subVI to which i supply 1d string (data), a column number and a row beginning.

 

Similarly, how to make a subVI to which I supply a 1d string and a row number and a column beginning.

 

I don't need anyone to make this subvi for me but please hint at how i convert this information to a 2d string [row, column] data. I've been working on this for 2 days now.

 

If this was C, it would be done within minutes.


 

The most important contribution to a solution is proper formulation of the problem.

 

Your title mentions a table, but your post body does not.

Where is the table? On the front panel of the subVI or on the front panel of the toplevel VI?

 

A table is basically a 2D array of strings, so as a first step you should initialize a 2D string array of a reasonable size with all empty strings. Now you can fill columns or rows or elements, etc. with new data using "replace array subset".

 

Please attach what you have so we get a better idea what you are trying to do.

0 Kudos
Message 2 of 4
(2,699 Views)

ok i'll play around with this. wriing to the table isnt a problem, I can create a property node and go. It's the structure of the writing section that I have confusion about.

0 Kudos
Message 3 of 4
(2,683 Views)

yeah that was enough to help me. Thanks!

0 Kudos
Message 4 of 4
(2,679 Views)