07-16-2008 11:09 AM - edited 07-16-2008 11:09 AM
07-22-2008 08:59 AM
Hello,
I took a look at the code and would like some more background information about the application. Please take some time to clarify with more detail what the purpose of the application is and what needs to be accomplished for the application to work. With this information, I can make a better recommendation of what to change or restructure. For example, the AI has been changed to finite, as you noted, however is this because you want to have only a certain number of triggers processed for the retriggerable application? I also noted that there are different values supplied to the Samples for Channel input for the Counter and the AI task. Then, the AI task reads all available samples, which might contribute to the different file sizes. It also looks like there might be an easier and more secure way to do finite acquisition on a retriggerable sample clock; however I am not sure if this is your goal.
I realize you are picking up where someone left off, so I think taking a small step back to explain what the code needs to do will help. So we can focus our efforts on what and not how in order to determine if we are starting with the right structure.