11-02-2013 04:30 AM
11-02-2013 04:32 AM
Attached files
11-02-2013 01:37 PM
Two things:
1. Multiply your sine signal (with different frequencies), not subtract. That will produce a non-constant envelope.
2. Use Re/Im to Complex, not Polar to Complex.
Lynn
11-02-2013 02:04 PM
Some additional discussion there. Since the question is not DAQ-related, let's keep the discussion here.
Lynn
11-02-2013 11:17 PM
Oh.. Thank you for reply.
Could I get your VI file?
Have a nice weekend
11-02-2013 11:20 PM
I couldn't understand those pictures without VI file, sorry..
11-03-2013 12:11 PM
I used the Diagram Disable structure to disable the DAQ VIs so that I could test the mathematics. If you wnat to run with your hardware, you will need to remove the Diagram Disable structures.
I also have some extra code to verify that Absolute Value correctly calculates with complex inputs. That is how I discovered that you had the wrong conversion to complex. I changed some captions to make identification of graphs readable in English.
Lynn