01-19-2010 03:27 PM
I am writing a VI to connect to a scope (Agilent 5400) and among other things to be able to calculate the FFT from the original waveform. I am using the FFT (Value-phase) and in the attached code you can see that it is now set to Hanning. I would like to have this option variable on the front panel as I will eventually make a .exe from the file and would like the option to change the Hann to rectangular or Hamming directly at the front panel. I see that in the help file there are some numbers associated with each option, can I make a varible or use a string to have the user input a number to link to the FFT and change the way the FFT is calculated.
Thanks in advance
01-19-2010 10:37 PM
Right click on the constant that says Hanning, and select Change to Control.
Now it will be a control you can modify on the front panel.
01-19-2010 11:06 PM
Why did you post this question twice?
I'm happy to see that you got the identical answer in the other post.