06-29-2021 09:49 AM
I am working on developing software for a fiber optic system where the frequency generator/arbitrary waveform generator provides a bit signal that is then sent over fiber as a PSK signal to a digitizer (with some intermediate steps). The FGen is going to be a PXIe-5745 and the digitizer PXIe-5774. I am going to do data manipulation on the FPGAs so I am doing the retrieval of the data from the digitizer on the FPGA.
I am looking for ideas on how to make sure that the sequence that the FGen outputs can be matched up with the corresponding part of the retrieved data stream when the return data stream is a different signal type (PSK vs square wave or software modulated PSK). The way that the system is designed there will be disruptions of the data stream so that the PSK signals will not completely match even if the start is synchronized. In order for the math to work properly, I need to get the start of the FGen output to match with the start of the digitizer signal with nanosecond precision. Can I shift when the data is being measured to get the data synced?
Things I have already considered:
My initial hope was to be able to have a display on the host VI that the user could look at and click a button to shift the digitizer signal a little forward or back to get the data aligned.
A zip of the project is attached. There are some extra VIs included that are not currently used (test..., op2). In the Digitizer code the op3 is the most recent version. I have not cleaned up the host VI front panel as I have been working on the backend.