05-31-2021 10:41 AM
Hello! I have 2 7841r modules which contains similar square generators. I need to run simultaneously 2 generators, for synchronization i use PXI_Star trigger but it dosn't helps - i have random delay between start of generators - from 0 ns to 80 microseconds. In project (untitled1 and untitled2) i use many methods for using PXI_Star - all give same result. In host VI i use many methods for start FPGA VIs - all give same result. Pls help!
Solved! Go to Solution.
05-31-2021 02:11 PM - edited 05-31-2021 02:12 PM
1. You will probably want to use a Single Cycle Timed Loop for your square wave generation.
2. Where is the trigger being asserted? I don't see anything writing to the Start Trigger.
I would do something like this in your FPGAs. The idea is to leave your wave generations in reset while not "active". You can write the "active" to one of the FPGAs and have it write that value to the PXI Star as well. The other FPGA just reads the PXI Star.
05-31-2021 03:05 PM
Thank you! I think that PXI_star generates impulse when i press run button. I forgot that PXI_Star is bidirectional. Analog outputs and inputs don't work in SCTL. I hope that it will works in while loop.