12-21-2005 10:21 PM
02-22-2006 05:40 AM
Hiiii, Dev
Here i am back again, can you please tell me how i should initialize my array with my data, coz while initialising it requires the long or single type of data and my datas are in the array, so i could not initialisse my array, bcoz of which my array gives only 5 columns instead of 16 columns(channels), can you please suggest me something?
Thanks,
Nishant
02-22-2006 05:57 AM
Hi Nishant,
I would like to answer that query, but i am not able to understant what exactly you mean.
can you explain what you intend to do,in more detail??
Here is a small VI to show how to initialise an array of 15 columns, n rows
Get back with more details if this does not solve your problem
Regards
Dev
02-22-2006 10:14 PM - edited 02-22-2006 10:14 PM
Hiii, Dev
I ve done the exact thing as you suggest for initialising the array, but i am still facing the problem, actuallty, what i ve done i ve initialise it only once at the 0th iteration of the while loop, but i am still getting only 5 columns in the array, which must be 16 as per the data, while i am parting the 2D data into 1D, it sows the 16 columns, but in the 2D it shows only 5 lines, i don know why? here i am posting my vi, drivers are attached with this, please tell me whats wrong with my logic? and also tell me that how to clear the array every time we are reinitialising the array, mean we are running the vi.
Thanks,
Nishant
Message Edited by Nishant on 02-22-2006 10:17 PM
02-23-2006 06:22 AM
Hi Nishant,
Initialise the array before putting it into the shift register and do it outside the while loop.
Now you are initialising array and writing it into an indicator
This indicator will get rewritten with the previous iteration's value that was stored in the shift register, during each iteration
This will solve your problem
Regards
Dev
02-24-2006 10:43 PM
Hiii, Dev
i have also tried that way, but i still havent got anything, i dont know what is happening in the array initialisation, the data which are coming from the card are perfect, but initialised array shows nothing, do you know why?
Thanks,
Nishant
02-24-2006 11:40 PM - edited 02-24-2006 11:40 PM
Message Edited by devchander on 02-24-2006 11:41 PM
02-25-2006 12:21 AM - edited 02-25-2006 12:21 AM
Hiii, Dev
Still not done, look at the attaced vi, are you talking this way? if not just attach the 2-D data instead of drivers and edit the vi, as the way you explaining.
Thanks,
Nishant
Message Edited by Nishant on 02-25-2006 12:22 AM
02-25-2006 01:37 AM
02-27-2006 06:17 AM
Oh cool!
glad to hear that you were able to solve it!
glad to have been of assistance
Regards
Dev