Support

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

Binary - hexadecimal - decimal converter

Post any examples or modules that you want to share here

Binary - hexadecimal - decimal converter

Postby KG_is_back » Thu Jul 24, 2014 6:33 pm

A little module I've made that is very useful in development. Lets you convert between those 3 number formats quickly within FS. It is very useful in coding as it lets you calculate bitwise masks, shufps control bytes and many more directly within FS workflow.

Note, if someone could add floating point format to the game, it would be very appreciated.
Attachments
Format converter.fsm
(3.21 KiB) Downloaded 1060 times
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Binary - hexadecimal - decimal converter

Postby trogluddite » Thu Jul 24, 2014 7:33 pm

Always handy! :)

Here's one that I use quite often - doesn't display all the values like yours, just a quick alternative to an integer box when you want to enter values in hex, binary etc. (needs an input side really, like the normal one - I'll have a look into that).

BTW - There's something seriously wrong with the forum search engine. I knew damned well that I had posted that schematic - searched for "integer", "conversion" etc. - never showed up in any of the searches, even though the words are obviously in the post. No wonder we're forever losing so much useful stuff!

PS - I have some Ruby stuff from elsewhere for seeing Float bit patterns etc. - I'll see if I can find it and wrap a GUI around it.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
trogluddite
 
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Binary - hexadecimal - decimal converter

Postby Nubeat7 » Thu Jul 24, 2014 10:53 pm

thanks guys, some needful things!

i think the hex to float and float to hex converters i did in ruby would fit in here as well
(watch also here viewtopic.php?f=3&t=2508)

there are array conversions and a single conversion inside the schematic


and yes the search engine is horrible, i never find some of my older threads for example try to find my ruby knob viewtopic.php?f=3&t=641 in the search engine!
Attachments
hex_float_converter.fsm
(1.76 KiB) Downloaded 1058 times
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna


Return to User Examples

Who is online

Users browsing this forum: No registered users and 77 guests