06-04-2009 05:53 AM
Hi
A small number in the scan backlog or Available Samples Per Channel in Daqmx is quite normal and not critical. But if the number increase that is not so good. This means that samples a piling up faster than you can pull data out. The reason for this is usually not the Daqmx but some other code using the daq data. If this code is delaying the intervals between each time a daq buffer read operation is performed, the result may be like your problem. I am sitting on 7.0 version now. I can take a look if post your code in 7.0
06-04-2009 06:33 AM
Hi Coq rouge,
Here is my code in 7.0.
It is quite complicated code because it is in phase of development.
06-04-2009 08:16 AM
06-05-2009 09:01 AM
OMG!
OK, I got as far as the exit application call in sub seq 3 of 0:3 in the main sequence 2 of 0:7 and just about pulled out my hair.
ero, to get help on this vi you will need to post a functional description (in english please) of each step. Of course, when you do write that description- you could create a sub vi for each paragraph and you'll wind up miles ahead and probably solve your problem along the way.
Or, in other words- Take an ax and chop up that code into managable functions!