Hi Neville,
Thanks a lot for the suggestion. Actually, I am now trying to use the hardware trigger.
I have found an example called "Start & Stop Trigger.vi" which seems to do the thing I want. When I look at the example, what it does seems to be: configuring the device and then looping in a while-loop. So, a while-loop is inevitable. Apart from the while-loop, my application needs to listen to a trigger in the mean while looking at the clock to see if time is up.
So, I don't know how I can modify the example and use it. Any suggestions?
Thanks in advance, :worship:
Raymond