03-23-2014 09:13 AM
Thank you!
I tried the things you said, but that not really give a change in the situation. I tried the two FIFO Invoke Nodes, to get all the elements in the FOFO, but number of elements in the saved measurement file is still at about 1million. And this doesn't change even if I measure for a longer time or less. I changed the loop timer in the Target VI to count Ticks, and I changed it to 50 ticks because I want 800.000 elemets/second and my cRIO-s default clock is 40MHz.
I put another Write to Measurement File outside of the While Loop too. In this there are even less elements. About 8000-10000, while the nother mesurement file, which I save in the Loop is about the 1miilion elements I mentioned. I put an indicator on the Elements Remaining output, to see how many they are, and and they are very less, about 6000 elements. The Host's FIFO Depth is enough I think, because witht the FIFO Configure Invoke it's wrote to 1 million, but with less the element numbers don't chanege either. I cahnged the FIFO's Requested number of Elements to 10000 from the default 1023, but that didn't help too. I tried to increase it to for example 50.000 but the compliing to the cRIO will give me an error then.
Otherwise we found another problem. The signal has very much noise on it, as we think this comes from the asynchronous motor's variable speed driver. But this does'nt change on the fact that even if I change everything I can, I can't get more element's during the measureement.
I fell like going crazy.... Any ideas? Anyone?
Thank you very much!
Regards:
Tschabee91
03-23-2014 03:16 PM
Posting your code, rather than images, might help figuring out what's going on.
I only have LV 2012, so if you're able to save to that version I should be able to take a look at your code at some point.
03-24-2014 07:36 AM - edited 03-24-2014 07:39 AM
I only have LV 2011 in school and at home too.
I can only post the previous post, which doesn't contain the two FIFO Read Invoke Methods (with 0 constant to the Elements of the first and the Remaining elemnts of this is wired to the Elements of the second one, which Data output is used) and the other suggestions you've gave me in your post. The project in which I changed the things you mentioned is still on the school PC. For shame I forgot to copy it to my flas drive.
03-24-2014 08:07 AM
2011 will be fine.