If I run the analysis, I get an error message.
And lo and behold, the error says, �The
gain can�t be 0.� So our error message
works.
If I turn the gain to be 1 and re-simulate,
the error message goes away, and you can see
that the ramp goes from 0 to 9.
I have 10 points.
And 0 to 9, plus 4.5 gives us our final value.
So we verified our model.
The next thing I�d like to show you is what
happens when I take that Library Manager and
I remove My First Library model � I remove
it from my list of libraries.
Notice that it had given me a symbol � an
automatic symbol.
It read my input ports and my output ports
� their data rates � and had given me
an automatic symbol, complete with a parameter
page.
When I removed that library, this is now unresolved.
So you can see the effect of the automatic
symbol.
Let�s go back and show debugging, at this
point.
Bring back Visual Studio.
If I make a change to this, such that I, for
example, say, �Minus,� and I rebuild the
solution, I can now 
attach to the SystemVue process.
When I bring back SystemVue, let me re-enable
that library.
Okay.
This is reattached, because we had moved that
slightly.
Now when I simulate, you can see that the
response has changed.
I can go back to Visual Studio and set a break
point at this place.
And when I go to SystemVue and hit Run, it
automatically goes to this place in the source
code, and I can single-step through.
In fact, here�s the input and output values
� gain, Input 1, Input 2, and Output as
� let me arrange SystemVue.
Now when I hit Continue, you can watch the
values change because of the ramp.
As the ramp changes, Input 1 keeps increasing,
and you can see the output values dynamically.
When I�m done, SystemVue returns to the
user interface.
So this is a fairly simple example.
This is just a little adder, but it shows
how debugging can work for a communications
physical error, where you may actually be
working through a complete modulation example
at the RF level, but debugging down at the
individual algorithmic level.
Within the system, there are actually a few
other examples.
Let me show that briefly, and we�ll set
you free to complete the manual.
Under examples, if you go to Model Builder,
C++, Simple Model Builder Example, you�ll
see an example that has three � a complex
adder, an up sampler, and an FIR filter.
Each of these is described in more detail
in the tutorials in the Help manual.
I hope you enjoyed this tutorial on the Model
Builder interface in SystemVue.
We built a C++ model.
We debugged it.
And we looked at several other examples, using
pretty much free tools and the basic environment.
Thanks very much for your time, and good luck
with your algorithmic modeling.
More information is available on the website
at: agilent.com/find/EEsof-SystemVue-videos.
