LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to do fifo in labview?

Thanks max,
 
                  Strange to know but it is still not working!!!!!!!!!!!!!!!Smiley SadSmiley Sad, i am again sending u the vi with the changes u told me, but the error wat i previously send u is still dere!!!!! suggest me other way, and u also can post me the vi, caz i ve the LV 8 trial version, i ve run ur vi on dat and that was working quite well, but dont know wat happens to me!!! i cant run it here??????
 
Thanks,
Nishant
Message 41 of 50
(1,212 Views)

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

0 Kudos
Message 42 of 50
(1,186 Views)

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

0 Kudos
Message 43 of 50
(1,182 Views)

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

Download All
0 Kudos
Message 44 of 50
(1,170 Views)

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

 

0 Kudos
Message 45 of 50
(1,161 Views)

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

0 Kudos
Message 46 of 50
(1,149 Views)
Nishant,
 
You are writing the initialised aray into an indicator.
write it into the shift register and it will do the job

Message Edited by devchander on 02-24-2006 11:41 PM

0 Kudos
Message 47 of 50
(1,147 Views)

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

0 Kudos
Message 48 of 50
(1,143 Views)
Hiii,  Dev
 
      Its done man, thanks for the help, actually i ve initialise the array with wrong values, and because of that loop went wrong way, so now its solved, thanks again for the help.
 
Thanks,
Nishant
0 Kudos
Message 49 of 50
(1,134 Views)

Oh cool!

glad to hear that you were able to solve it!

glad to have been of assistance

Regards

Dev

 

 

 

0 Kudos
Message 50 of 50
(1,110 Views)