LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

insert into array not working

Solved!
Go to solution

My LV version: 8.6 developer suite x86

 

Hi All,

 

It seems like the "Insert into Array" based VI would not work when one or more point of entries are empty.  Is there a way to work around this?  Conceptually, it's a very simple thing that I'm not sure how NI people could've missed it.  There must be a way to work around this. Any suggestion?  

Message Edited by lavalava on 03-23-2010 02:20 AM
0 Kudos
Message 1 of 8
(4,277 Views)

Hi lava,

will you please post a jpg, or a LV8.5 compatible version?

Regards

0 Kudos
Message 2 of 8
(4,257 Views)

Hi lavalava,

  Basically your usage of that Insert into string Vi is wrong,because to insert into any VI you should define a valid array as innput,but you have wired some undefined array.

 

 

Thanks and regards,

srikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 3 of 8
(4,253 Views)

you can go with the build array function

 

something like this

 

Regards
Guru (CLA)
Message 4 of 8
(4,245 Views)

srikrishnaNF,

 

I do not see anything wrong with what I'm doing as this problem does not exist for 1D array.  NI have publicly admitted they have had issues with 3D array but not 2D.  My goal is to concantenated some group of 2D arrays in runtime.  In runtime, there are cases when my  some of my inputs will be null and that's fine because the data was already defined, otherwise I would be getting a broken link.

0 Kudos
Message 5 of 8
(4,209 Views)

Guruthilak,

 

 

I've tried the build array function but the thing is it keeps turnning any group of 2D arrays into 3D which isn't what I want.  I need 2D concatenation output.

0 Kudos
Message 6 of 8
(4,206 Views)
Solution
Accepted by topic author lavalava
Right-click the Build Array function and select the concatenate inputs option.
Alex Person
NI-RIO Product Support Engineer
National Instruments
0 Kudos
Message 7 of 8
(4,204 Views)

xdaf.

 

Here is 8.5 & 8.2

Download All
0 Kudos
Message 8 of 8
(4,202 Views)