08-22-2013 12:51 AM
Hi,
I have some problems with the VI. I'm trying to display and update 8(row)x15(col) from sets of continuous random number which is in 1D array (1(row)x15(col). Using queue and dequeue functions the 1D array is transferred sequentially to the next loop. In the next loop the 1D array is appended and become 2D data array (8x15). In the loop the 8x15 array must update the incoming 1D array, append the data and finallly display the new 8 rows and 15 col of random numbers. The attached VI only diaplay the first row data (0-7), however the next row data (8-15, 9-23,...) are not been displayed even the random function is keep generate numbers.Please advice.
Thank you
fazlul
08-22-2013 05:14 AM
May you send the .VI so I can give a try, pls?
Thanks,
Marco
08-22-2013 05:47 AM
08-22-2013 05:54 AM - edited 08-22-2013 05:55 AM
Hi
using queue is useless here. You can do something like that
I hope it will help
08-22-2013 07:15 AM
Hi GerdW,
Thanks for the reply. The 8x15 2d data array in necessary as it will be used for post-processing with specific algorithm. Sorry, but I don't get any ideas on what you suggested "switch the inputs of the build array...". Can you give an example?
Thanks.
08-22-2013 07:18 AM
Hi Ledang,
on "switching the inputs of BuildArray":
Right now you append new data after the old data (1st and 2nd input of BuildArray). You may switch the order to prepend new data in front of the old one: press Ctrl key and move mouse over inputs of BuildArray to show the switching tool...
08-22-2013 07:20 AM
Hi Giuliano,
Thank you for the reply. Unfortunately I could not open the attached file as I'm using LV 8.6. Can you pls take a snapshot of the VI?
Regards
Fazlul
08-22-2013 07:40 AM
here it is
08-22-2013 07:55 AM
Hi Giuliano,
Received and thank you
Regards
Fazlul