-
1. Re: Disabled components still give error regarding multiple drivers
AnkitaS_51 Aug 30, 2017 11:35 PM (in response to user_246598725)In PSoC Creator if you disable the component, the attached input and output ports won't get disabled.
-
2. Re: Disabled components still give error regarding multiple drivers
user_246598725 Aug 31, 2017 12:50 AM (in response to AnkitaS_51)Hi anks,
yes, that's what I described. I want to know what other users think about this behaviour and if should be changed.
Regards,
Ralf
-
3. Re: Disabled components still give error regarding multiple drivers
user_1377889 Aug 31, 2017 1:45 AM (in response to user_246598725)No chance: You may connect two components to an IO-port and disable one of them alternately. So the pin shouldn't get disabled . I think it is up to you to manage that correctly, no automatism.
Bob
-
4. Re: Disabled components still give error regarding multiple drivers
user_342122993 Sep 1, 2017 12:21 PM (in response to user_1377889)It would be nice to have such feature (automatically disable dead links). It is partially implemented e.g. for multiple non-connected wires on the input (only the connected one with remain). So it is not much work needed. But from my experience, that is unlikely to happen.
-
5. Re: Disabled components still give error regarding multiple drivers
e.pratt_1639216 Sep 1, 2017 12:33 PM (in response to user_342122993)I don't know if I would want it to automatically disable broken/dead IO, but automatically deleteing wires that are unconnected would be a nice feature. (Cleanup Wires, or something similar)
Also, being able to disable a selected box of components would be useful; That way, you can alternate a group of components that make up a test circuit on/off with only one button.
-
6. Re: Disabled components still give error regarding multiple drivers
user_342122993 Sep 1, 2017 3:29 PM (in response to e.pratt_1639216)1 of 1 people found this helpfulI Enable/Disable groups of components by placing them on a separate page and using sheet connectors (diamonds) to connect them to the rest of the schematic. Disabling the page removes all components on that page. Just remember to disable this page before enabling a replacement page with same component names!
-
7. Re: Disabled components still give error regarding multiple drivers
user_246598725 Sep 3, 2017 11:23 PM (in response to user_246598725)Hi,
@Bob: Of course pins shouldn't get disabled, I'm talking about outputs
@E.Pratt: I like the idea with the selection box, but I can't see a one-button solution: enabling/disabling components for testing may also need to call code (initialization, etc.) or to disable the call. Please explain your approach. Are you referring to non-code components, like logic (AND, OR, etc.)?
@odissey1: good approach, I'll test it. I thought it's not possible to have components with the same name, even if they're disabled.
Regards,
Ralf
-
8. Re: Disabled components still give error regarding multiple drivers
e.pratt_1639216 Sep 5, 2017 7:37 AM (in response to user_342122993)Huh; I guess I noticed that you could disable whole pages, but didn't think to use them that way! Clever
-
9. Re: Disabled components still give error regarding multiple drivers
e.pratt_1639216 Sep 5, 2017 7:42 AM (in response to user_246598725)@user_246598725: Yeah, I meant more for disabling a group of components (ignoring any related code). I don't see there being a good way to also disable related code unless you use define macros to check if a component is defined/enabled.
I wouldn't mind needing to modify the code, but being able to disable a group of pins and components all together with a single selection box rather than needing to enable/disable each one individually would be nice.
As @user_342122993 mentioned, placing them on separate pages seems like similar functionality.