12-27-2014 05:56 AM
Hi
I have 2 (or more) array which one of them is known and the other is calculated during the running mode continously ( not batch). the last one is not as the same dimension as the known array untile the end . I use a block titled Build Array Function to concatenate them and send them to a waveform graph. the problem is that for sences that the second array elements are not calculated and ready in the graph presentation i see zero instead.
Best Regards
Solved! Go to Solution.
12-27-2014 07:50 AM
12-27-2014 08:43 PM
Why not use this approach:
- Known Array - bundle this and the X-axis data
- Unknown array - bundle this and the x-axis data
- Use build array for both of the above and pass to X-Y graph and that should not plot any more zeros for unknown data
12-28-2014 01:29 AM - edited 12-28-2014 01:38 AM
Thanks a lot. your responses are perfect, but I have two question a bout that:
---------------------------
Dennis_Knutson
do you know, how can I copy a part of constant array to another part of that? because, it is some difficult past one by one in array.(please check attached picture)
---------------------------
SK8
do you know:
how can I make a varible array size? and how write data in? because my I should write varible size data in an array, and then plot that.
------------------------------
Best Regards
12-28-2014 07:48 AM
12-28-2014 11:11 AM
12-28-2014 11:15 AM
12-28-2014 11:23 PM - edited 12-28-2014 11:29 PM
Hi Dennis_Knutson
I have no special code. my mean is:
1- for example, I have an array size 1*15. now, how can I copy element 1 to 5 and past it to another array?
(please check the new picture)
2- my second question is about SK8 post. he talk about boundle. but I dont know about varible size Initialized frequently?
thanks.
-----------------------------------------------------------------
Hi Blokk
I understand you. but I read two book untill now. but I couldnt find all of my necessary (as your opinion, basic) information in the books. I dont like loss of time for each question too.
Best Regards
12-29-2014 12:48 AM
12-29-2014 01:00 AM