10-20-2017 01:40 AM
I need to create a simulation of step signal that is shown in attached image. I have done it via control and simulation loop. But the problem is the signal is not continuously drawing in waveform chart. In control and simulation loop, i have changed the 'Final time' value to 'Inf", but the only the last step value is being written on chart continuously. I have changed 'Final time' to a definite value, but waveform is generated only once. What I need exactly is a same pattern of signal as attached in the image, continuously being written on chart until it is stopped manually. How to do this?
Thanks in advance!
Solved! Go to Solution.
10-20-2017 02:07 AM
Hi dhans,
But the problem is the signal is not continuously drawing in waveform chart.
So the problem is in your VI - but why do you hide this VI?
I have done it via control and simulation loop.
Why do you need a simulation loop to generate a signal?
There are a lot of functions in the signal generation functions palette!
10-20-2017 03:36 AM
Hi GerdW,
Its just a try. As I already have, control and simulation module, I did a program with it. Thats all.
10-20-2017 03:41 AM
Hi Dhans,
What I need exactly is a same pattern of signal as attached in the image, continuously being written on chart until it is stopped manually. How to do this?
Use SquareWaveform to generate each of the steps.
Append all the waveforms to build your step sequence.
Output each sample on your chart.
What have you tried so far? (Attach your VI…)
Where are you stuck?
10-20-2017 03:45 AM
Ok. I will attach my VI that I have done so for.
10-20-2017 05:58 AM
10-20-2017 06:07 AM
Hi GerdW,
Thanks for the reply. I will try that. Actually that control simulation loop program working as I need. Here is the next requirement. I need to find the peak value in that step signal. I have tried spectral measurements express vi, but i think it is not a right thing. Is there the other way to measure the peak value of the step signal?
10-20-2017 06:33 AM
10-20-2017 06:48 AM
Hi GerdW,
Before every post you posted, I have tried that idea. I have already done it. Thanks for the replay. Let me ask another one. Is there any way to get a value of a single point in a signal. For instance, If i click on a signal at a particular point, amplitude of the point of the signal will be shown. Is there a way?
10-20-2017 07:16 AM - edited 10-20-2017 07:17 AM
Hi Dhans,
If i click on a signal at a particular point, amplitude of the point of the signal will be shown. Is there a way?
I guess you are talking about graphs showing your signal data: use a cursor…
(When you use charts you need to switch over to graphs as charts don't support cursors.)
Hint: there is also an example VI showing you how to use cursors in graphs.
Before every post you posted, I have tried that idea. I have already done it.
Then you need to learn to write better questions. And to attach your current state of the VI too…