Attached are a set of TID files that are close to the minimum needed to see how this is working. Please understand that this is a work-in-progress and is missing some functionality and polish ... but it does illustrate Soren's solution.
After bringing these tiddlers into your TW, start with the "Listings"
tiddler. In that tiddler, select "Multi-Step Speed Control" in the
selection box at the top, then click on one of the ID tiddlers (say, "ID
101"). Edit "ID 101" and look at the "idindex" field where you will find
one of Soren's solutions. The effect is that "ID 101" will get the
currently selected application (the content of tiddler "ApplicationChoice")
which is "multistepspeed", look in data tiddler "multistepspeed" for the
"101" entry (the number of the current tiddler's ID as stored in "{{ID
101!!idnumber}}"), get the P index number associated with "101", and
provide that P index number to be displayed.
This complexity is imposed because any particular ID may reference
different P indexes, and any particular P index may reference different
IDs; there is always a one-to-one relationship after an application is
chosen, but that relationship changes depending on the which application is
chosen.
Note that the ID table in "Listings" doesn't alphabetize correctly on the P
index column, probably because the sort[idindex] can't see the actual value
being stored in the ID tiddler field "idindex". Don't know this for sure,
though. This may not be evident with the small set of ID tiddlers that I've
provided.
*****Additional background
I had used drill, saw, and hammer as application names because they would
be more familiar. But, what I'm actually doing is TWifying a manual for a
variable frequency drive (VFD) because the existing manual has poor linking
and doesn't have a complete set of information for an ID in a single place.
Plus, I wanted to add notes and practice my TW-foo; I don't expect to copy
the complete manual into my TW, only those parts that are most needed for
my use of the VFD. The "applications" are different ways to use the VFD for
motor control, the IDs are the various parameters that can be set to
control the motor operation, and the P index is the name of the menu
displayed on the 4 (ish?) line operator interface of the VFD.
Hope this helps you, Scot. Have a good weekend!
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/d3f00905-5095-4de8-93cf-8656dda5090an%40googlegroups.com.
<<attachment: 8_TID_files.zip>>

