If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Convert 12500 -> 12k5 etc
4 posts
• Page 1 of 1
Convert 12500 -> 12k5 etc
Hi Gang !
I'm designing an interface for various Equalizers. In so doing, I'm trying to implement 'engineering' notation to label the various frequencies. These will be used to notate around a knob guage.
Basically I'm looking to convert like this:
1500 = 1k5
12500 = 12k5
1000 = 1k
800 = 800
etc
I have been putting together a 'green' schematic ... but I have to say ... it has grown into many primitives, and the wiring is starting to get unruly
To start, I've been using TROG's 'Array Generator' to begin the listing process ... which has been very handy
I was then looking to convert that array into this 'engineering' format. BTW ... What is this format correctly call
... and build a new array list that I can place into my 'Guage' module.
Just trying to make the process a bit more automated during the build.
Was wondering ... has anybody already done this Might you share a hint or three ???
I'd post the current schematic ... which works for several 'situations', but not all conditions. If wanted, the schematic is still in 'linear' form ... which means its' all spread out
Anyway ... just thought to ask before my last brain cell takes yet another beating
I'm designing an interface for various Equalizers. In so doing, I'm trying to implement 'engineering' notation to label the various frequencies. These will be used to notate around a knob guage.
Basically I'm looking to convert like this:
1500 = 1k5
12500 = 12k5
1000 = 1k
800 = 800
etc
I have been putting together a 'green' schematic ... but I have to say ... it has grown into many primitives, and the wiring is starting to get unruly
To start, I've been using TROG's 'Array Generator' to begin the listing process ... which has been very handy
I was then looking to convert that array into this 'engineering' format. BTW ... What is this format correctly call
... and build a new array list that I can place into my 'Guage' module.
Just trying to make the process a bit more automated during the build.
Was wondering ... has anybody already done this Might you share a hint or three ???
I'd post the current schematic ... which works for several 'situations', but not all conditions. If wanted, the schematic is still in 'linear' form ... which means its' all spread out
Anyway ... just thought to ask before my last brain cell takes yet another beating
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: Convert 12500 -> 12k5 etc
This is most of the time working... but there are some cases where rounding in the log10 causes some stupid representations
- Attachments
-
- SI Unit Prefix (MyCo).fsm
- (677 Bytes) Downloaded 869 times
-
MyCo - Posts: 718
- Joined: Tue Jul 13, 2010 12:33 pm
- Location: Germany
Re: Convert 12500 -> 12k5 etc
MyCo wrote:This is most of the time working... but there are some cases where rounding in the log10 causes some stupid representations
Wow ... amazed at the power of RUBY. Particularly in the right 'coders' hand.
I'm reading through the code ... hoping to get a glimpse of insight ... but this is at a knowledge level beyond me
I did run some array test on it. I see where some of the conversions are not very useful. I wouldn't be able to begin trying to modify this Ruby code, unless I tried to 'tag on' to the end to message the final output. If not that, a bit of hand editing of the list.
Regardless of my most minimal experience with all this, I still want to express my sincere thanks for taking the time to work out the code, MyCo !
Meanwhile ... does anyone know what the proper name is for this form of nomenclature ???
Thanks!
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 48 guests