02-20-2007 05:25 AM - edited 02-20-2007 05:25 AM
Message Edited by Tomi M on 02-20-2007 01:29 PM
Message Edited by Tomi M on 02-20-2007 01:30 PM
02-20-2007 09:38 AM
Hi Tomi,
If a developer has access to the VIA they probably have access to the SDE.
Even without the SDE, State Diagrams (as illustrated in the LV 6.X code shown in reply #8) are still available.
Everything that you proposed can be done in a state diagram.
Maybe when I learn to think "LVOOP-ishly" I may see the benefit of your suggestion.
Please be patient with me! I'm still learning.
Ben
02-20-2007 12:43 PM - edited 02-20-2007 12:43 PM
Message Edited by Tomi M on 02-20-2007 08:47 PM
02-20-2007 01:08 PM
02-20-2007 01:44 PM
I wonder if it would more or less helpful to allow right-hand shift registers to not be wired in stacked sequence structures, though.
02-20-2007 03:03 PM
"...full of wires that have no meaning ..."
Oh but the do! They say in a very explicit manner that the data associated with those shift register will not be modified by this case (event).
Ben
02-20-2007 03:14 PM
Well, an unwired shift register could have exactly the same meaning but it would be easier to read as the information is concentrated on a single point, namely the right hand side shift register. Only the wires having other than default action would be required.
Oh but the do! They say in a very explicit manner that the data associated with those shift register will not be modified by this case (event).
02-20-2007 03:28 PM
Well, an unwired shift register could have exactly the same meaning but it would be easier to read as the information is concentrated on a single point, namely the right hand side shift register. Only the wires having other than default action would be required.
However, the difference between a purposefully unwired input and a neglectfully unwired input is huge, while at the same time hard to detect. An unwired input also has the connotation of "Use Default in Unwired". It would be confusing to add this meaning in as well. If nothing else it should have a different appearance.
02-21-2007 04:06 AM
Very good point! How about the following. By default you must wire the the right side shift regsiter. However there is a context menu option "use previous value". Thid option must be set for each frame separately. This guarantees that at least the developer of the structure must explicitly define each shift register in each frame to use previous value. Perhaps such shift register should look a little different. I think this is sufficient to avoid most errors and makes the structure clearer.
@JDave wrote:
Well, an unwired shift register could have exactly the same meaning but it would be easier to read as the information is concentrated on a single point, namely the right hand side shift register. Only the wires having other than default action would be required.However, the difference between a purposefully unwired input and a neglectfully unwired input is huge, while at the same time hard to detect. An unwired input also has the connotation of "Use Default in Unwired". It would be confusing to add this meaning in as well. If nothing else it should have a different appearance.
02-21-2007 04:06 AM - edited 02-21-2007 04:06 AM
Message Edited by Tomi M on 02-21-2007 12:07 PM