01-31-2012 01:25 PM
Hi there,
I've made a .vi file to create an output that will be used in an SLM, the .vi file uses the Gerchberg-Saxton algorithm for refining the phase. However, when running the file it seems to flucuate between two different phase states. I've had my instructor have a look at it and he can't understand why it is doing this either. I was wondering if someone could have a look at it and point me in the right direction of a correct solution.
I've attached the .vi file.
Thanks 🙂
02-01-2012 02:48 PM
Should the FFT functions at the bottom of the VI be Inverse FFTs? If I change them, it seems to not fluctutate - though I know nothing about the algorithm so don't know if it's giving the expected solution.
Also, you should be able to replace the 2 1D FFTs with a single 2D FFT - and the same for the Inverse.
02-01-2012 03:40 PM
I'll try that, I had to make it compatible with the LabView at uni which is unfortunately V7.1.