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

Example of DLL coded by codeblock and used by FS

DSP related issues, mathematics, processing and techniques

Example of DLL coded by codeblock and used by FS

Postby DjMmix » Mon Dec 16, 2013 11:51 am

Hello Guy's,

i'm postin this thread for you show a dll compile under Codeblock (because I do not have visual studio) and used as flowstone.

I took the addfloats function (the simplest function to understand) and show you some little difference (including the size of the much smaller dll, less header file and slightly different statement)

I joined you archive with the project and the fsm Codeblock associate.

testdll.zip
Exemple CodeBlock
(12.91 KiB) Downloaded 1438 times
Last edited by DjMmix on Mon Dec 16, 2013 3:08 pm, edited 1 time in total.
DjMmix
 
Posts: 16
Joined: Wed Nov 09, 2011 8:02 am
Location: france

Re: Example of DLL coded by codeblock and used by FS

Postby tester » Mon Dec 16, 2013 2:06 pm

Hmm... Why after opening your schematic - FS toolbox shows only 1 primitive - the DLL? Or should I ask - where to turn off that view limitation?

For educators we have introduced a feature called Local Toolboxes. This allows you to easily create a reduced toolbox so that students are only presented with the components they need to perform a particular task. The toolbox is local to a schematic and can be saved with it too. The feature may also be useful for power users who want to keep their own toolbox of favourite components to use with particular schematics.


No word on how to turn it off, no mention on "local toolboxes" in manuals. But found it. On schematic (not toolbox, not main menu, not options) - right click and first option from the bottom "remove/restore local toolbox" (Shift+Ctrl+T).
Last edited by tester on Mon Dec 16, 2013 2:16 pm, edited 1 time in total.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Example of DLL coded by codeblock and used by FS

Postby DjMmix » Mon Dec 16, 2013 2:13 pm

i m clicked by error storage local on dll primitive after this on this schema only show the dll and i not return back :/
DjMmix
 
Posts: 16
Joined: Wed Nov 09, 2011 8:02 am
Location: france

Re: Example of DLL coded by codeblock and used by FS

Postby tester » Mon Dec 16, 2013 2:23 pm

...solution described above.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Example of DLL coded by codeblock and used by FS

Postby DjMmix » Mon Dec 16, 2013 2:35 pm

ok thx !!!
DjMmix
 
Posts: 16
Joined: Wed Nov 09, 2011 8:02 am
Location: france

Re: Example of DLL coded by codeblock and used by FS

Postby tester » Mon Dec 16, 2013 2:49 pm

BTW - you can use "schematic file path" (fixed in current FS version) primitive to follow the folder where you extract schematics, thus added dll's. This should simplify pach changes between computers. You can pass it through "start folder" primitive. This one is activated within exported files, exe for example. I did some experiments here:

viewtopic.php?f=2&t=1856&p=9136
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Example of DLL coded by codeblock and used by FS

Postby DjMmix » Mon Dec 16, 2013 3:09 pm

ok i"m corrected ans redit my first post , thx for this info :)
DjMmix
 
Posts: 16
Joined: Wed Nov 09, 2011 8:02 am
Location: france

Re: Example of DLL coded by codeblock and used by FS

Postby tester » Mon Dec 16, 2013 3:34 pm

You're welcome.
Maybe with your help I will understand how to connect these FS apps with external dll's... :)
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Example of DLL coded by codeblock and used by FS

Postby Nubeat7 » Mon Dec 16, 2013 4:01 pm

thank you mmix

i prefer using codeblocks too, great to have an example for this.
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: Example of DLL coded by codeblock and used by FS

Postby trogluddite » Mon Dec 16, 2013 4:05 pm

Thanks mmix - this is all new to me, and my first impressions of Visual Studio are "Aaaaargh!" :o - it's really good to know that we have some other options for making our code.
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

Next

Return to DSP

Who is online

Users browsing this forum: No registered users and 35 guests