delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2012/04/12/16:16:11

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=penguindevelopment.org; h=
message-id:date:from:mime-version:to:subject:references
:in-reply-to:content-type:content-transfer-encoding; q=dns; s=
penguindevelopment.org; b=UM5gJWtKAIfe2fDqPaK15WRh6Jxa66MjOYZZQZ
gVruYkcquhOvSKZ2S1mnuMguqMOiRss1UqbvxyEu3zys4zw20bhed/bQZOeJuMug
PvB2gkZSLAvj6xhkEuDv5NLtE3/FdtdcRAafW0K5rIBcCJf810a6nEBJtZU8Glbu
vg/BI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=penguindevelopment.org; h=
message-id:date:from:mime-version:to:subject:references
:in-reply-to:content-type:content-transfer-encoding; s=
penguindevelopment.org; bh=2qpzRKNj+W95P4JQ3BsnIaFK4NM=; b=Mg9ty
7bwtutEjYddRNEnWsqNbhYtECCRS0p8pxBjF5U2mIe8TomTYXAogK50hes7VdN94
IturSPqomCYJ/z1OQKl7bRp129L29f0JUmV4Otm1UJsxUN1J0WDv1Z88eQ1enohd
ez5lpUKOOXuLwaAWA7fOLEVunkq/rJPFvWBx0I=
Message-ID: <4F8737CE.1010408@penguindevelopment.org>
Date: Thu, 12 Apr 2012 22:15:10 +0200
From: Link <link AT penguindevelopment DOT org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120325 Thunderbird/10.0.3
MIME-Version: 1.0
To: geda-help AT delorie DOT com
Subject: Re: [geda-help] Problems with Slotted Symbol
References: <001101cd18e1$cc2c3590$6484a0b0$@de>
In-Reply-To: <001101cd18e1$cc2c3590$6484a0b0$@de>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q3CKG4ZE022065
Reply-To: geda-help AT delorie DOT com

On 12/04/12 21:23, Markus wrote:
> Hello,
>
> I have made a new Symbol for a ethernet coil.
>
> The part actually consists of two parts, therefore I used the“slot”feature.
>
> Unfortunately, somehow thesymboldoes not work.
>
> For example: If I change from slot 1 to slot 2 (within gschem v1.8) only
> pin 1…3 changes. The other pins do not change.
>
> Inadditionsometimeseven gschem crashes.
>
> ------------------------
>
> In addition, I get following status from gschem:
>
> component missing pinseq= attribute
>
> component missing pinseq= attribute
>
> component missing pinseq= attribute
>
> component missing pinseq= attribute
>
> component missing pinseq= attribute
>
> component missing pinseq= attribute
>
> Backtrace:
>
> In unknown file:
>
> ?: 0* [run-hook #<hook 1 7fb4f8d9b0d0 ? ?> ...
>
> ?: 1* [#<geda-object 0xa8a660>]
>
> <unnamed port>: In expression (#<geda-object 0xa8a660>):
>
> <unnamed port>: Wrong type to apply: #<geda-object 0xa8a660>
>
> Backtrace:
>
> In unknown file:
>
> ?: 0* [run-hook #<hook 1 7fb4f8d9b0d0 ? ?> #<geda-object 0xa8ac00> ...]
>
> <unnamed port>: In procedure run-hook in expression (run-hook #<hook 1
> 7fb4f8d9b0d0 ? ?> #<geda-object 0xa8ac00> ...):
>
> <unnamed port>: Hook #<hook 1 7fb4f8d9b0d0 ? ?> requires 1 arguments
>
> Backtrace:
>
> In unknown file:
>
> ?: 0* [run-hook #<hook 1 7fb4f8d90d00 ?> #<geda-object 0xa8a660> ...]
>
> <unnamed port>: In procedure run-hook in expression (run-hook #<hook 1
> 7fb4f8d90d00 ?> #<geda-object 0xa8a660> ...):
>
> <unnamed port>: Hook #<hook 1 7fb4f8d90d00 ?> requires 1 arguments
>
> Can anybody help me?
>
> Thanks a lot in advance…
>
>
> Markus
>
> PS:The code of the symbol:
>
> (or see attached file)
>
> v 20111231 2
>
> L 200 1200 500 1200 3 0 0 0 -1 -1
>
> L 200 600 500 600 3 0 0 0 -1 -1
>
> L 200 0 500 0 3 0 0 0 -1 -1
>
> A 500 1096 104 270 180 3 0 0 0 -1 -1
>
> A 500 900 104 270 180 3 0 0 0 -1 -1
>
> A 500 704 104 270 180 3 0 0 0 -1 -1
>
> A 500 496 104 270 180 3 0 0 0 -1 -1
>
> A 500 300 104 270 180 3 0 0 0 -1 -1
>
> A 500 104 104 270 180 3 0 0 0 -1 -1
>
> A 500 202 6 90 180 3 0 0 0 -1 -1
>
> A 500 398 6 90 180 3 0 0 0 -1 -1
>
> A 500 802 6 90 180 3 0 0 0 -1 -1
>
> A 500 998 6 90 180 3 0 0 0 -1 -1
>
> L 1000 1200 1900 1200 3 0 0 0 -1 -1
>
> L 1000 600 1300 600 3 0 0 0 -1 -1
>
> L 1000 0 1900 0 3 0 0 0 -1 -1
>
> A 1000 1096 104 90 180 3 0 0 0 -1 -1
>
> A 1000 900 104 90 180 3 0 0 0 -1 -1
>
> A 1000 704 104 90 180 3 0 0 0 -1 -1
>
> A 1000 496 104 90 180 3 0 0 0 -1 -1
>
> A 1000 300 104 90 180 3 0 0 0 -1 -1
>
> A 1000 104 104 90 180 3 0 0 0 -1 -1
>
> A 1000 202 6 270 180 3 0 0 0 -1 -1
>
> A 1000 398 6 270 180 3 0 0 0 -1 -1
>
> A 1000 802 6 270 180 3 0 0 0 -1 -1
>
> A 1000 998 6 270 180 3 0 0 0 -1 -1
>
> L 700 1300 700 -100 3 0 0 0 -1 -1
>
> L 800 1300 800 -100 3 0 0 0 -1 -1
>
> L 1900 0 1900 350 3 0 0 0 -1 -1
>
> L 2700 0 2700 350 3 0 0 0 -1 -1
>
> A 2005 350 105 0 180 3 0 0 0 -1 -1
>
> A 2203 350 105 0 180 3 0 0 0 -1 -1
>
> A 2400 350 104 0 180 3 0 0 0 -1 -1
>
> A 2596 350 104 0 180 3 0 0 0 -1 -1
>
> A 2498 350 6 180 180 3 0 0 0 -1 -1
>
> A 2302 350 6 180 180 3 0 0 0 -1 -1
>
> A 2104 350 6 180 180 3 0 0 0 -1 -1
>
> L 1900 850 1900 1200 3 0 0 0 -1 -1
>
> L 2700 850 2700 1200 3 0 0 0 -1 -1
>
> A 2005 850 105 180 180 3 0 0 0 -1 -1
>
> A 2203 850 105 180 180 3 0 0 0 -1 -1
>
> A 2400 850 104 180 180 3 0 0 0 -1 -1
>
> A 2596 850 104 180 180 3 0 0 0 -1 -1
>
> A 2498 850 6 0 180 3 0 0 0 -1 -1
>
> A 2302 850 6 0 180 3 0 0 0 -1 -1
>
> A 2104 850 6 0 180 3 0 0 0 -1 -1
>
> L 1800 550 2800 550 3 0 0 0 -1 -1
>
> L 1800 650 2800 650 3 0 0 0 -1 -1
>
> L 2700 1200 3000 1200 3 0 0 0 -1 -1
>
> L 2700 0 3000 0 3 0 0 0 -1 -1
>
> V 1000 100 18 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
>
> V 500 100 18 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
>
> V 2600 850 18 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
>
> V 2600 350 18 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
>
> T 1600 1400 5 10 1 1 0 3 1
>
> refdes=L?
>
> P 0 1200 200 1200 1 0 0
>
> {
>
> T 300 1250 9 10 0 1 0 3 1
>
> pinlabel=1
>
> T 100 1250 5 10 1 1 0 3 1
>
> pinnumber=1
>
> T 100 1150 5 6 0 1 0 5 1
>
> pinseq=1
>
> T 250 1150 5 6 0 1 0 2 1
>
> pintype=pas
>
> }
>
> P 0 600 200 600 1 0 0
>
> {
>
> T 300 650 9 10 0 1 0 3 1
>
> pinlabel=2
>
> T 100 650 5 10 1 1 0 3 1
>
> pinnumber=2
>
> T 100 550 5 6 0 1 0 5 1
>
> pinseq=2
>
> T 250 550 5 6 0 1 0 2 1
>
> pintype=pas
>
> }
>
> P 0 0 200 0 1 0 0
>
> {
>
> T 300 50 9 10 0 1 0 3 1
>
> pinlabel=3
>
> T 100 50 5 10 1 1 0 3 1
>
> pinnumber=3
>
> T 100 -50 5 6 0 1 0 5 1
>
> pinseq=3
>
> T 250 -50 5 6 0 1 0 2 1
>
> pintype=pas
>
> }
>
> P 1500 600 1300 600 1 0 0
>
> {
>
> T 1150 650 9 10 0 1 0 3 1
>
> pinlabel=15
>
> T 1400 650 5 10 1 1 0 3 1
>
> pinnumber=15
>
> T 1400 550 5 6 0 1 0 5 1
>
> pinseq=15
>
> T 1250 550 5 6 0 1 0 8 1
>
> pintype=pas
>
> }
>
> P 3200 0 3000 0 1 0 0
>
> {
>
> T 2850 50 9 10 0 1 0 3 1
>
> pinlabel=14
>
> T 3100 50 5 10 1 1 0 3 1
>
> pinnumber=14
>
> T 3100 -50 5 6 0 1 0 5 1
>
> pinseq=14
>
> T 2950 -50 5 6 0 1 0 8 1
>
> pintype=pas
>
> }
>
> P 3200 1200 3000 1200 1 0 0
>
> {
>
> T 2850 1250 9 10 0 1 0 3 1
>
> pinlabel=16
>
> T 3100 1250 5 10 1 1 0 3 1
>
> pinnumber=16
>
> T 3100 1150 5 6 0 1 0 5 1
>
> pinseq=16
>
> T 2950 1150 5 6 0 1 0 8 1
>
> pintype=pas
>
> }
>
> T 1600 -200 5 10 1 1 0 5 1
>
> device=HX1188
>
> T 1600 -400 5 10 1 1 0 5 1
>
> footprint=SO16
>
> T 0 2200 5 10 0 0 0 0 1
>
> author=Markus Traidl
>
> T 0 2500 5 10 0 0 0 0 1
>
> symversion=0.1
>
> T 0 2800 5 10 0 0 0 0 1
>
> description=10/100 Base-T Single Port Magnetics
>
> T 0 3100 5 10 0 0 0 0 1
>
> ordercode=HX1188NL
>
> T 0 3400 5 10 0 0 0 0 1
>
> vendor=HALO
>
> T 0 3700 5 10 0 0 0 0 1
>
> slotdef=2:6,7,8,10,9,11
>
> T 0 4000 5 10 0 0 0 0 1
>
> slotdef=1:1,2,3,15,14,16
>
> T 0 4300 5 10 0 0 0 0 1
>
> numslots=2
>
> T 0 4600 5 10 0 0 0 0 1
>
> slot=1
>
> <<...>>
>
The pinseq attribute should correspond to the position in the slotdef 
attribute. In your case, pins 15, 14 and 16 should pinseq=4, pinseq=5 
and pinseq=6, respectively.


Peter

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019