Thanks for the answer. I'm not sure it helps though 😞
As I explained in my post, I call AI start and not AI read, and then I want to write to the digital port. So I'm not sure whether this is relevant - does AI start also wait until it receives a trigger?
Your note is of course correct in principle, but doesn't apply: I didn't want to explain the experiment in detail - I use the digital port to make my instrument do something, and then I want to read the response it gives me on an analog output. Of course, if the instrument had a trigger output that tells me when it starts doing something, I would use that. But since it doesn't, I thought I would "cheat" by using my signal to the instrument as a start trigger for my data acquisition.
I'll t
ry that thing with the two loops. I'm not quite sure how things go with timing there though - I want to set up the AI acquisition before I send the actual trigger signal. I guess I can use two loops, in one I put the AI setup, in the other I put a sequence structure with a wait in the first frame, and then the digital output in the second frame. Does that make sense?
cheers
Martin