Hi beam,
Thanks for the clarification. I was under the impression that you're acquiring one analog signal, one trigger signal (A), and in ADDITION to these two, a power reading from the GPIB meter. However, after reading your second response, I understand that the signal A is used to trigger reading from the power meter only. Please ignore my earlier statement about adding an analog channel to the task.
In this case, you should be able to use hardware trigger to get better timing. You can configure an analog input task with analog trigger. I'm assuming you will need multiple triggered analog input readings, hence you would need to configure an analog task with multiple triggers. Analog operations are not retriggerable, but you can try the following work arounds:
1. Call AI Start multiple times. This method requires some addition time in between acquisitions to reconfigure the task (see "Retriggerable AI using Loop example).
2. Use a retriggerable pulse train as the sample clock source of your analog input task. However, since analog triggering is not supported with the NI-STC counter chip (used in E Series), you would need to use a TLL signal. Regardless of this situation, I would recommend using a digital edge trigger over analog trigger (see "Retriggerable AI using Ctr example).
If you want to use 65 triggers, simply replace the while loop with a for loop, configured to iterate the read 65 times.
Apologies about the earlier confusion. I hope this helps.
Thanks,
Lesley