EAGLE Central Forums
Where the EAGLE community meets. Sponsored by Stratford Digital.

Home » CadSoft Support Forums » eagle.betatest » Reply to Clem
Reply to Clem [message #165101] Sat, 06 February 2016 22:19 Go to next message
Bob Starr
Messages: 99
Registered: April 2008
Member
Hi Clem,

Reply's don't seem to work, anyway..

Maybe it's just a bug or bug in my ULP. I just tried it in 7.2 and same
results. I'm running 7.5 at the moment. Both drawings use modules, just
can't understand why the results are different between drawings both
using modules.

I was trying to extract the net name for signals with module prefixes
based on the colon as an indicator that the signal is in a module.

B.signals(S)
{
printf("# DEBUG '%s' '%s'\n", S.name, strSrc);

if (strstr(S.name, strSrc + ':') == 0)
{
string net = strsub(S.name,strlen(strSrc) + 1);
}
}

Thanks,

Bob
Re: Reply to Clem [message #165116 is a reply to message #165101] Mon, 08 February 2016 13:50 Go to previous message
Walter Spermann
Messages: 540
Registered: August 2010
Senior Member
Hi,

On 02/06/16 23:19, Bob Starr wrote:
> Hi Clem,
>
> Reply's don't seem to work, anyway..
>
> Maybe it's just a bug or bug in my ULP. I just tried it in 7.2 and same results. I'm running 7.5 at the moment. Both
> drawings use modules, just can't understand why the results are different between drawings both using modules.
>
> I was trying to extract the net name for signals with module prefixes based on the colon as an indicator that the signal
> is in a module.
>
> B.signals(S)
> {
> printf("# DEBUG '%s' '%s'\n", S.name, strSrc);
>
> if (strstr(S.name, strSrc + ':') == 0)
> {
> string net = strsub(S.name,strlen(strSrc) + 1);
> }
> }
>
we can't reproduce this. Maybe the post today from Warren Brayshaw explains your problem.

Regards,
Walter Spermann

> Thanks,
>
> Bob


--
---------------------------------------------------------------
Walter Spermann
Software Development
CadSoft Computer GmbH
Pleidolfweg 15
84568 Pleiskirchen
Tel.: 08635/6989-10
www.cadsoft.de
---------------------------------------------------------------
Registergericht: Amtsgericht Traunstein HRB 5573
Geschäftsführer: Mark Whiteling
Previous Topic: UL_BOARD Signal Names for Module Instances
Next Topic: Drawing Artifacts
Goto Forum:
  


Current Time: Sun Sep 24 01:19:04 GMT 2017