Invalid ERC error? Invalid connection between bus and items

I used a combination of a vector and group bus which works because the ratsnets is just fine.

But the ERC is telling my otherwise. Since I have valid connections I am going to ignore it.

But I am curious to what is going on? Is this a bug or am I doing something wrong with the naming?


Sw7 is… just fine

Kind regards,

Bas

That is a bit of a premature conclusion ERC is throwing an error so there probably is something wrong. I do not use buses much and tend to forget the details. How can sw[1..8] be a wire? A group of wires is a bus, so it should be a fat blue line instead of a thin green one. My best guess is that its not recognized as a bus, and the labels near the nets are interpreted as just local labels that make connections outside of the bus.

While searching this forum for the old experiment I did with bus naming, I bumped into a topic from you in 2023.

*Edit: Added back quotes around sw[1..8] because else the forum software puts 3 dots in the center, while KiCad really uses two.

How can sw[1…8] be a wire?

That makes sense :sweat_smile:

The thing, it is a hierarchial bus. I dont use global labels, yet KiCad understood which connections I want to make.

The other end of this bus in an other sheet. There I find the other ‘side’ of the error.

I have a bright idea I go look in the manual.

Kind regards,

Bas