I have a schematic I did 2 years ago and now want to edit, but when I try to load it I get this error message: line 16474, column 66: redefinition of name 'SUPPLY1' in tag <part>. How can I fix this (or bypass it)?
Thanks,
Greg
I have a schematic I did 2 years ago and now want to edit, but when I try to load it I get this error message: line 16474, column 66: redefinition of name 'SUPPLY1' in tag <part>. How can I fix this (or bypass it)?
Thanks,
Greg
Warren, you're right! And going to the specified coordinates I found that there was a component missing in the edited file. So I'm hoping that just replacing/reconnecting this component will fix the problem completely.
I hadn't tried setting the grid to mm because I didn't think it was that big, but it is: B size is 11x17 inches, so the width in mm is about 430.
Thanks,
Greg
On 1/03/2014 6:48 a.m., Greg Marshall wrote:
Doug, I actually tried that right after I posted the question. In the
first attempt it just went to another error involving the same signal,
so I deleted that line also. The schematic now loads and looks correct,
but I'm sure there are missing connections. A better 'hack' at this
might be to change the signal name on these 2 lines to some new, unique
name. I haven't tried that yet.
The 2nd error message is: <instance part="SUPPLY1" gate="GND" x="332.74"
y="172.72"/>. Note that this has coordinates in it, which I presume
would indicate where the particular connection to this signal occurs,
but what coordinate system is it? I can only set the grid to 'normal'
units such as inches or millimeters.
The coordinate system for sch file is millimeters
You can verify this for your self. Set the sch grid to MM. next locate a
part on the schematic, say R1 and view its INFORMATION. Record its xy
location
Now look for the part in the file in the 'instances> instance' section.
It will be towards the bottom. It will have the same XY there.
Quickest way to find the right line is search in the file for "x="60.96"
inserting the x you noted from INFORMATION. THere will likely only be
one fine result, the one you want.
Setting the grid to inches, performing a save and then inspecting the
file again, there will be no change to the xy location of the part
proving it's mm.
HTH
Warren
Doug, I actually tried that right after I posted the question. In the first attempt it just went to another error involving the same signal, so I deleted that line also. The schematic now loads and looks correct, but I'm sure there are missing connections. A better 'hack' at this might be to change the signal name on these 2 lines to some new, unique name. I haven't tried that yet.
The 2nd error message is: <instance part="SUPPLY1" gate="GND" x="332.74" y="172.72"/>. Note that this has coordinates in it, which I presume would indicate where the particular connection to this signal occurs, but what coordinate system is it? I can only set the grid to 'normal' units such as inches or millimeters.