Hi David,
I organized the sessions as you said and I also used a sequence diagram to ensure the following order:
(Reminder: Doing 3 things simultaneously: Gen pattern with 6542, acquire pattern with 6542, and digitize with 5122)
1. 6542 gen session has waveforms and script written
2. TClk sessions are gathered in an array (6542 session set as master using "NI-TClk Property Node"), homogenous triggering is configured, synchronized, then initiated
3. 6542 multi-fetch and 5122 multi-fetch then allowed to proceed
The 5122 triggers fine on the send software start trigger in the 6542 gen session, but I get the following error from HSDIO multi-fetch:
"Specified operation is only supported while the session is running.
Initiate the session before requesting the operation and make sure that the session has not been aborted."
This makes sense on one level, because I had to delete the HSDIO Get Session Reference I had for the 6542 acquisition session, because I got a "duplicate session" error, which I assumed meant that one device (6542) had to use the same session for simultaneous generation and acquisition. So I have only session references for the 6542 gen session and 5122 acquisition sessions, in the session array going to TClk. I don't explicitly call HSDIO initiate (or set up a trigger), on the 6542 acquisition session either, thus the error that it's session isn't started when the multi-fetch is called?
So what do I do? Manually call HSDIO initiate for the 6542 gen session? I did try again to get it's session ref and include in the session array to TClk VIs, but I get the duplicate session error again.
Bill