06-11-2008 06:15 AM
06-11-2008 07:04 AM
"I know how to creat a sin wave and I know how to creat a modluated signal out of to different sin waves.
but I want to creat a modulated signal where the HF signal is starting later."
Are you simulating all these signals within Labview? I suspect you do.
"So first you have the low frequency sin wave and maybe after one sec. the high frequency signal will be modluated on top."
So are you trying to see the sine wave on a graph, then 1 sec later introduce the HF signal and then you'll see a modulated signal on a graph?
I don't fully understand what you are trying to do. Can you provide a bit more description?
Where do you have a problem with introducing a signal 1 sec later? And why is this a constraint?
RayR
06-11-2008 07:15 AM
Hi RayR,
thank you for your quick answer.
you are right. that is what I want to do!
I want to simulate a modulated signal. but i want to show how it looks like when the modulation is not starting at t=0.
I attached a draft i hope that can help.
but the problem is, that I do not know how to tell the software, that the modulation should sart later.
Greetings from Germany
Josef
06-11-2008 07:16 AM
Hi Josef,
your picture is empty.
Mike
06-11-2008 07:22 AM
06-11-2008 07:27 AM
06-11-2008 08:07 AM
Hello,
i added my current file.
i think it should be really easy to solve this problem!! ![]()
Josef
06-13-2008 02:36 AM
06-13-2008 07:40 AM - edited 06-13-2008 07:43 AM
It's a bit long to explain what you did wrong..
First thing.. STAY AWAY FROM STACKED SEQUENCES!!! Sorry for shouting! But I keep praying that NI will remove those horrible things! 😉
Stacked Sequences are annoying because they make you loose sight of the dataflow that goes on inside the code. Forcing sequential actions is not a good thing in Labview.
Have a look at the attached code. It will do what you wanted. It can still be improved, such as changing the For Loop to a While Loop and have the graph update as run run the VI, instead of a fixed number of iterations.
Let me know how it goes..
RayR
06-16-2008 03:19 AM