Re: [Kicad-developers] Buses - what am I doing wrong

2020-10-27 Thread Jon Evans
Note for the list:  Brian's design (shared privately with me) exposed
several bugs, and I have fixed the most serious one (and added a new
testcase for it).

https://gitlab.com/kicad/code/kicad/-/commit/a900fb319d34769eabb5a9e52a919f730f70dae6

I haven't yet fixed the other bugs or filed them on GitLab but will try to
do that soon if nobody beats me to it:

1) Schematic cleanup is missing some things.  In particular, Brian's design
has unnecessary junctions and overlapping wire segments that should have
been deleted.

2) dragging a bus wire away from a junction will cause a regular (non-bus)
wire to be added in -- this is new and probably related to the recent
dragging changes.

-Jon

On Tue, Oct 27, 2020 at 9:07 PM Jon Evans  wrote:

> Any chance you can share your schematic?
>
> I noticed that in your screenshot, your label {SD_SIGNALS} is on a green
> wire.
> By default, buses are blue and plain wires are green.
> Did you change the color theme, or is that not a bus?
>
> -Jon
>
> On Tue, Oct 27, 2020 at 9:04 PM Brian Piccioni <
> br...@documenteddesigns.com> wrote:
>
>> Hello
>>
>> I thought I had figured out bus aliases, etc. but likely not.
>>
>> I have a bus alias {SD_SIGNALS}. I run a bus and put a label {SD_SIGNALS}
>> on the bus. It is blue.
>>
>> I can unfold my signals from the bus. I run ERC and it flags my unfolded
>> signals "Net is graphically connected to bus but is not a bus member"
>>
>> I notice the label {SD_SIGNALS} has turned from blue to black.
>>
>> If I try unfold from the bus I get the error "Bus has no members".
>>
>> If I move the label away and then back on to the bus it turns blue again
>> and I can unfold signals. Unfortunately, if I run ERC I get the same errors.
>>
>> Rinse and repeat.
>>
>> What am I doing wrong?
>>
>> Application: Eeschema
>>
>>
>>
>> Version: (5.99.0-6550-gd6f91c810f), release build
>>
>> Libraries:
>> wxWidgets 3.0.5
>> libcurl/7.71.0 OpenSSL/1.1.1g (Schannel) zlib/1.2.11 brotli/1.0.7
>> libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.41.0
>>
>> Platform: Windows 10 (build 18363), 64-bit edition, 64 bit, Little
>> endian, wxMSW
>>
>> Build Info:
>> Date: Oct 25 2020 10:10:16
>> wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8)
>> Boost: 1.73.0
>> OCE: 6.9.1
>> Curl: 7.71.0
>> ngspice: 32
>> Compiler: GCC 10.2.0 with C++ ABI 1014
>>
>> Build settings:
>> KICAD_SCRIPTING=ON
>> KICAD_SCRIPTING_MODULES=ON
>> KICAD_SCRIPTING_PYTHON3=OFF
>> KICAD_SCRIPTING_WXPYTHON=ON
>> KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
>> KICAD_SCRIPTING_ACTION_MENU=ON
>> BUILD_GITHUB_PLUGIN=ON
>> KICAD_USE_OCE=ON
>> KICAD_SPICE=ON
>>
>> ___
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to : kicad-developers@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
>>
>
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Buses - what am I doing wrong

2020-10-27 Thread Jon Evans
Any chance you can share your schematic?

I noticed that in your screenshot, your label {SD_SIGNALS} is on a green
wire.
By default, buses are blue and plain wires are green.
Did you change the color theme, or is that not a bus?

-Jon

On Tue, Oct 27, 2020 at 9:04 PM Brian Piccioni 
wrote:

> Hello
>
> I thought I had figured out bus aliases, etc. but likely not.
>
> I have a bus alias {SD_SIGNALS}. I run a bus and put a label {SD_SIGNALS}
> on the bus. It is blue.
>
> I can unfold my signals from the bus. I run ERC and it flags my unfolded
> signals "Net is graphically connected to bus but is not a bus member"
>
> I notice the label {SD_SIGNALS} has turned from blue to black.
>
> If I try unfold from the bus I get the error "Bus has no members".
>
> If I move the label away and then back on to the bus it turns blue again
> and I can unfold signals. Unfortunately, if I run ERC I get the same errors.
>
> Rinse and repeat.
>
> What am I doing wrong?
>
> Application: Eeschema
>
>
>
> Version: (5.99.0-6550-gd6f91c810f), release build
>
> Libraries:
> wxWidgets 3.0.5
> libcurl/7.71.0 OpenSSL/1.1.1g (Schannel) zlib/1.2.11 brotli/1.0.7
> libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.41.0
>
> Platform: Windows 10 (build 18363), 64-bit edition, 64 bit, Little endian,
> wxMSW
>
> Build Info:
> Date: Oct 25 2020 10:10:16
> wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8)
> Boost: 1.73.0
> OCE: 6.9.1
> Curl: 7.71.0
> ngspice: 32
> Compiler: GCC 10.2.0 with C++ ABI 1014
>
> Build settings:
> KICAD_SCRIPTING=ON
> KICAD_SCRIPTING_MODULES=ON
> KICAD_SCRIPTING_PYTHON3=OFF
> KICAD_SCRIPTING_WXPYTHON=ON
> KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
> KICAD_SCRIPTING_ACTION_MENU=ON
> BUILD_GITHUB_PLUGIN=ON
> KICAD_USE_OCE=ON
> KICAD_SPICE=ON
>
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


[Kicad-developers] Buses - what am I doing wrong

2020-10-27 Thread Brian Piccioni

Hello

I thought I had figured out bus aliases, etc. but likely not.

I have a bus alias {SD_SIGNALS}. I run a bus and put a label 
{SD_SIGNALS} on the bus. It is blue.


I can unfold my signals from the bus. I run ERC and it flags my unfolded 
signals "Net is graphically connected to bus but is not a bus member"


I notice the label {SD_SIGNALS} has turned from blue to black.

If I try unfold from the bus I get the error "Bus has no members".

If I move the label away and then back on to the bus it turns blue again 
and I can unfold signals. Unfortunately, if I run ERC I get the same errors.


Rinse and repeat.

What am I doing wrong?

Application: Eeschema



Version: (5.99.0-6550-gd6f91c810f), release build

Libraries:
    wxWidgets 3.0.5
    libcurl/7.71.0 OpenSSL/1.1.1g (Schannel) zlib/1.2.11 brotli/1.0.7 
libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.41.0


Platform: Windows 10 (build 18363), 64-bit edition, 64 bit, Little 
endian, wxMSW


Build Info:
    Date: Oct 25 2020 10:10:16
    wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.73.0
    OCE: 6.9.1
    Curl: 7.71.0
    ngspice: 32
    Compiler: GCC 10.2.0 with C++ ABI 1014

Build settings:
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_SPICE=ON

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp