Hello,
I'm having a triggering issue with the following VI. I use 2 PXI cards: an SMU and an AWG, and the major steps are described below:
The AWG is set in script mode:
- The script starts on scripttrigger0 which is set to wait for a trigger on PXI trigger line 0.
- The script returns a marker event (1) that is exported to PXI trigger line 1 as the last step of the script.
The SMU is set in sequence mode with a finite sequence loop count:
- The Sequence Advance Digital Edge is set to wait for a trigger on PXI trigger line 1.
- The Sequence Iteration Complete Event is exported to PXI trigger line 0.
- After initiating the SMU, there is a Wait for Event for "Sequence Engine Done Event"
The first iteration of the SMU in sequence mode is supposed to start even in the absence of a trigger, so I don't need to send an initial event on PXI trigger line 1, and I'm expecting the SMU to trigger the start of the AWG script and so on and so forth, until the last sequence loop count.
The problem is: the sequence does not loop, it gets stuck if I set more than 1 Sequence Loop Count. I have checked that the AWG script works properly by exporting the marker event (1) to an external physical port and using a scope, so I don't understand what I am doing wrong.
The timeout for the wait for sequence engine done event is also not an issue, I have tried increasing the value and the problem remains the same.
Any help would be greatly appreciated.
Thanks,
Michael
![Labv1.png Labv1.png]()
![Labv2.png Labv2.png]()