Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
Interactive breadboard functionality #114665 02/14/19 08:38 AM
Joined: Aug 2015
Posts: 386
Edstrom Offline OP
Senior Member
OP Offline
Senior Member
Joined: Aug 2015
Posts: 386
I am currently improving an educational system adding some laborations from a handbook.
They all include a part where to connect pins with wires directly or over a breadboard.

Usually the laboration is based on a fixed external board so I have added a slot device for that
where it can connect to one of the two 8 bit parallel ports, or both. Sometimes a particular board moves
from one port to another or within and sometimes there are interconnection between the boards.

I was thinking of an internal UI configuration menu for each board where you can select what pin to connect to on the parallel ports.

Interconnections between boards or with a breadboard device (to be created) is less obvious how to do.
Here I was thinking of clicking the endpoint pins/holes, lighting them up, but no way to animate the wire in the internal layout I think.

Would lua engine provide what I want here? Can lua graphics sit on top of a layout view? Other suggestions?

Re: Interactive breadboard functionality [Re: Edstrom] #114669 02/14/19 11:11 AM
Joined: Feb 2004
Posts: 2,111
Vas Crabb Offline
Very Senior Member
Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,111
Needs better scripting support for layouts before it becomes practical. Yeah, I'm working on this slowly, but real life keeps slowing me down.

Re: Interactive breadboard functionality [Re: Edstrom] #114671 02/14/19 03:39 PM
Joined: Aug 2015
Posts: 386
Edstrom Offline OP
Senior Member
OP Offline
Senior Member
Joined: Aug 2015
Posts: 386
I'll just do stright connections between the port and the boards for now

Re: Interactive breadboard functionality [Re: Edstrom] #114672 02/14/19 06:50 PM
Joined: Oct 2006
Posts: 978
S
Stiletto Online Content
Senior Member
Online Content
Senior Member
S
Joined: Oct 2006
Posts: 978
Get me that sweet, sweet Radio Shack 500-in-1 Electronics Kit emulation! laugh

Re: Interactive breadboard functionality [Re: Vas Crabb] #114673 02/14/19 09:28 PM
Joined: Aug 2015
Posts: 386
Edstrom Offline OP
Senior Member
OP Offline
Senior Member
Joined: Aug 2015
Posts: 386
Is it even possible to control the state of a layout bezel from a slot device without a trampoline in the driver yet?

Re: Interactive breadboard functionality [Re: Stiletto] #114674 02/14/19 09:55 PM
Joined: Apr 2006
Posts: 715
Tafoid Offline
Senior Member
Offline
Senior Member
Joined: Apr 2006
Posts: 715
Originally Posted by Stiletto
Get me that sweet, sweet Radio Shack 500-in-1 Electronics Kit emulation! laugh


Oh god, I was just thinking recently about how possible this could be with emulation. Our artwork engine may just have enough basics to pull it off too! laugh

Re: Interactive breadboard functionality [Re: Edstrom] #114675 02/14/19 11:28 PM
Joined: Feb 2004
Posts: 2,111
Vas Crabb Offline
Very Senior Member
Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,111
Originally Posted by Edstrom
Is it even possible to control the state of a layout bezel from a slot device without a trampoline in the driver yet?

You can indirectly using outputs.

Re: Interactive breadboard functionality [Re: Edstrom] #114678 02/15/19 08:59 AM
Joined: Aug 2015
Posts: 386
Edstrom Offline OP
Senior Member
OP Offline
Senior Member
Joined: Aug 2015
Posts: 386
Can you give a example of a slot device that does that, that I can study?

What I really would like is to define a slot device layout and then include that in a main layout view but that is not possible right?

Given that it is not, I then need to access the main layout and set the state of some bezels with a naming agreed upon
between all possible slot devices, not colliding with each other or anything else in that layout. Also, it would not be possible to have
more then one instance of a particular device. Or maybe I am missing something here.

Last edited by Edstrom; 02/15/19 09:42 AM.
Re: Interactive breadboard functionality [Re: Edstrom] #114679 02/15/19 10:05 AM
Joined: Apr 2005
Posts: 559
Darkstar Offline
Senior Member
Offline
Senior Member
Joined: Apr 2005
Posts: 559
The "best" solution would indeed be "sub-layouts" that are defined by the devices. This would also enable for example cartridges or (euro-)rack modules to define their own UI, which is then included by the main machine.

Re: Interactive breadboard functionality [Re: Darkstar] #114680 02/15/19 10:30 AM
Joined: Feb 2004
Posts: 2,111
Vas Crabb Offline
Very Senior Member
Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,111
Originally Posted by Darkstar
The "best" solution would indeed be "sub-layouts" that are defined by the devices. This would also enable for example cartridges or (euro-)rack modules to define their own UI, which is then included by the main machine.

You can do this at the moment with multiple windows. If you use e.g. "-numscreens 3 -window" you'll get three windows and you can choose a different view for each one, like main system in one window, and device views in the others. Automatically tiling views for multiple devices in a single window is somewhat complicated but doable. Referencing device views is the path to dependency hell and weird interactions.

Page 1 of 2 1 2

Who's Online Now
5 registered members (Cpt. Pugwash, robcfg, Pernod, couriersud, 1 invisible), 82 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,734
Posts114,823
Members4,877
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.3