C
Chuck Harris
Guest
Stuart Brorson wrote:
Ok, I have figured out what's going on. If you cd to the directory
that the RF_Amp is in, and then invoke gschem, Open page and select
the MSA-2643.sch drawing, everything works the way you all probably
expected it to.
However, if you are in some miscellaneous directory, and invoke gschem,
Open page, and wind your way through the directory structure until
you find the MSA-2643.sch drawing, and open it, then you get a schematic
with blank spots where the transistors should be.
So, what is happening is you only read the gafrc file for the directory
that you are in when gschem is invoked.
What to do? It doesn't seem too unreasonable for a person to be able to
start up the geda tools from any old directory they happen to be in and
browse their way to the design files using open page, and expect the
right thing to happen.
It seems to me that a reasonable solution would be to have gEDA tools
read any appropriate rc files found in the directories where you open
a new, or old page. I am unsure what would be the best solution for
opening a new page in a new empty directory. Perhaps if the directory
is created from within the gEDA tools, the directory should be prefilled
with an rc file from some template directory?
-Chuck
Hi Stuart,In sci.electronics.cad Chuck Harris <cf-NO-SPAM-harris@erols.com> wrote:
: Problems/complaints:
: 2) The schematics in the examples are all composed of main pages with
: the transistors and diodes being subpages. There is no obvious (to me
: the new user) way of making the link so the transistors appear on the
: schematic. Examples are presumably meant for new inexperienced users,
: and as such should work flawlessly.
Please help me improve the linkage between these schematics. Is your
point that you can't open the lower-level schematics from the top
level schematic via "Hierarchy -> Down Schematic"? If so, it was a
bug in the examples; I have just fixed it.
If you want, try the fix. Edit your gafrc (living in the RF_Amp
directory), and add the line (on a new line):
(source-library ".")
Then, open MSA-2643.sch, double click on Q1, and add the following
attribute to it:
Attrbute name: source
Attribute value: Q1.sch
Do the analogous thing for Q2. Then you should be able to use
"Hierarchy -> Down Schematic" in the top menu bar to dive into the
models for Q1 & Q2.
Please let us know if this works for you.
Thanks,
Stuart
Ok, I have figured out what's going on. If you cd to the directory
that the RF_Amp is in, and then invoke gschem, Open page and select
the MSA-2643.sch drawing, everything works the way you all probably
expected it to.
However, if you are in some miscellaneous directory, and invoke gschem,
Open page, and wind your way through the directory structure until
you find the MSA-2643.sch drawing, and open it, then you get a schematic
with blank spots where the transistors should be.
So, what is happening is you only read the gafrc file for the directory
that you are in when gschem is invoked.
What to do? It doesn't seem too unreasonable for a person to be able to
start up the geda tools from any old directory they happen to be in and
browse their way to the design files using open page, and expect the
right thing to happen.
It seems to me that a reasonable solution would be to have gEDA tools
read any appropriate rc files found in the directories where you open
a new, or old page. I am unsure what would be the best solution for
opening a new page in a new empty directory. Perhaps if the directory
is created from within the gEDA tools, the directory should be prefilled
with an rc file from some template directory?
-Chuck