How can i plot the current in the resistor? I done with the green arrow "launcher.sym", ```name=h1 d...
r
How can i plot the current in the resistor? I done with the green arrow "launcher.sym",
Copy code
name=h1
descr=Annotate 
tclcommand="ngspice::annotate $netlist_dir/bandgap_op.raw op"
but i get an error: "invalid command name ngspice::annotate"
s
replace command '`ngspice::annotate`' with '`xschem annotate_op`'
I see in many of your terminals the SKIP RECORD lines, this means you are doing something SERIOUSLY WRONG, like loading into xschem a non xschem file or something similar.this should not happen, if you know the command or the operation that generates this message let me know.
r
When I open xschem appear this "END SKIP RECORD", also when I do netlist... the library is loaded from here (see the figure).... Is this wrong? If I only open the "xschem" nothing appear... I undestood the problem, but i don't know how to solve.... I need to copy "xschemrc" file in the directory where do i have the schematic?
I don't know how to modify. I need to modify the copy that i do in the schematic folder, or the file in the root path?
@Stefan Schippers I modified a copy of "xschemrc" inside the folder of the schematic. I get this error.... invalid "set_paths". the paths of library are correct.
s
You don't need to use set_paths. Just delete that line.
set_paths
is used if you want to change the library paths while schem is running. in xschemrc which is loaded on startup you don't need to use it. Where did you get an xschemrc with this set_paths function? If xschem tells you there is no such
set_paths
command and if you see the SKIP RECORD lines this means you have an ubuntu xschem installation. so do a
sudo apt purge xschem
remove the
.../share/doc/xschem
and the
.../share/xschem
directories and install xschem from source as explaned here.
r
this is the results.
s
Perfect also verify if no /usr/local/share/xschem or /usr/local/share/doc/xschem is existing or any other xschem directory: do a :
find / -xdev  -name xschem -type d
to find any directory named xschem and verify no old stuff is lying around.
r
everythings seems ok... the Xschem is installed under tools folder (define by me). The same for pdk folder....
s
I have a suggestion: do not use the super user (root) account for your normal work. Use a normal user account, and use the root account only for maintenance. The directory layout is unfamiliar to me. Are you using a container/docker/something?