02-11-2008 05:14 PM
02-11-2008 05:49 PM
02-12-2008 05:41 PM
Hi Tobias,
For the application you have described, the best way to trigger the acquisition is in software. To use hardware timing, you would need to specify the analog level for triggering. However, this value will be constantly changing and even if you wanted to change it programmatically, you would still need to update it with every acquisition. As it stands now, the best way to accomplish the triggering would be to take the inputs point by point, compare it in software, and then create the condition for it to stop when it reaches a certain level. All of this can be done in a while loop allowing you to compare the values while the task is still running.
Regards,
Kent