News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

sandila timing diagram stencil

Started by vojo, May 30, 2014, 01:21:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vojo

So Paul...just curious ;-) , but

Why wouldn't you make a universal shape to cover most if not all the timing diagram shapes

I.e. something like

Props.pattern = <0000,0011,1100, 1111, etc>
Props.misc

Geometries for all transitions

Gemoetry 1 <sharp low to high>
Geometry 2 <shapr high to low>
Geometry 3 <gradual low to high>
Geometry 4 <gradual high to low>
Geometry 5 <low>
Geometry 6 <high>

user.selectgeo1 = if (props.pattern = 0011, 1,0)
user.selectgeo2 = if (props.pattern = 1100, 1, 0)

Geometry1.noshow = !selectgeo1
Geometry2.noshow = !selectgeo2

Then if somebody wanted write some VBA to create a timing diagram, it would be
   -lay the shapes out
   -plug in the right code per shape

So then could even think about import bit vectors (or modify imported bit vectors) to turn into drawings.

Just curious ;-)

Paul Herber

#1
Hi Vojo, interesting question. However, I can't see many users wanting to write VBA, and for most timing diagrams the exact location of rising/falling edges is important, well, at least, the relation between rising/falling edges and other events is important.
The shapes I have just click together, then you extend them with the mouse to the required length.
Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

vojo

np

understand your approach...really more of artist approach (manually making drawings) vs eng approach (foundation for tool chain)

was just curious

Browser ID: smf (is_webkit)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 176 (show)
Files included: 32 - 1207KB. (show)
Memory used: 1063KB.
Tokens: post-login.
Cache hits: 13: 0.00120s for 26,765 bytes (show)
Cache misses: 2: (show)
Queries used: 16.

[Show Queries]