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

Edit Box(multiline) and preset string

For general discussion related FlowStone

Re: Edit Box(multiline) and preset string

Postby willzz32 » Mon Aug 12, 2013 1:49 pm

Hi Nubeat7

Here is a simple schematic which shows the issue i could do with getting around. Made in FS 3.02 as 3.03 has big cpu issues for me.

Many Thanks
Attachments
Edit box Multi line.fsm
(7.21 KiB) Downloaded 867 times
willzz32
 
Posts: 20
Joined: Thu Jul 29, 2010 7:59 pm

Re: Edit Box(multiline) and preset string

Postby Nubeat7 » Mon Aug 12, 2013 2:14 pm

hmm from where you have the text inside the box?
when i write a new text in the editbox it is working fine..
Attachments
Edit box Multi line.fsm
(7.11 KiB) Downloaded 898 times
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: Edit Box(multiline) and preset string

Postby willzz32 » Mon Aug 12, 2013 2:31 pm

Hi

It all works fine until you save the text and reload it and then try to edit it. When you edit the loaded text it all jumps on to one line but only when editing. Once you have edited it reverts to how it was.

Is it the same your end?
willzz32
 
Posts: 20
Joined: Thu Jul 29, 2010 7:59 pm

Re: Edit Box(multiline) and preset string

Postby Nubeat7 » Mon Aug 12, 2013 2:46 pm

hmm thats interesting, when saving the program carrige returns are deleted from the textfile but not when saved in presetmanager, why it is like this? i don`t know, maybe it is a bug? so the ruby code joins just at the endof the file.... you tried testers version think it should work...
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: Edit Box(multiline) and preset string

Postby willzz32 » Mon Aug 12, 2013 2:52 pm

Hi Nubeat7

Thanks for the help and looking in to it ,I'll relook at testers now .

As i didn't work with the string side that much it was a bit daunting but i' work through it .

Can i ask if your are using FS3.03 or have any issues regarding the cpu usage. Seems any schematic i export from 3.03 uses 25% cpu even if its only a single button. I'm exporting exe files and not VST'S. Just be interesting to find out if any one else is having the same. Support are aware of it but i have not heard much back as of yet.

Cheers
willzz32
 
Posts: 20
Joined: Thu Jul 29, 2010 7:59 pm

Re: Edit Box(multiline) and preset string

Postby Nubeat7 » Mon Aug 12, 2013 3:03 pm

yes i`m working on fs 3.03 but no cpu issues. but i`m only exporting vsts...

i tried testers version and it works...
Attachments
Edit box Multi line testerversion.fsm
(7.02 KiB) Downloaded 857 times
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: Edit Box(multiline) and preset string

Postby tester » Mon Aug 12, 2013 3:11 pm

Guys - don't scare me with CPU issues in 3.03 version... :-) I started to update my projects in FS3.03, which I export as both - exe and VST. What CPU issues? Only ruby related or something else?
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: Edit Box(multiline) and preset string

Postby willzz32 » Mon Aug 12, 2013 3:23 pm

It may be only me but i have had nothing but woes regarding the cpu issues on 3.03.

I'm running win7 64bit i5 750 and any exe file from FS gives 25% cpu ,even when its not doing anything.
I tried 3.02 and its better , I also tried installing 3.03 and 3.02 in different folders which cures the cpu issue but as i found the fs 3.03 then uses the ruby from 3.02 , pops up errors when trying to load the exe.
I have no experience of ruby but from what i can see this seems to be the problem for me in 3.03.

As i say it may only be my machine but bit of a shame as i would like to start test the dmx module but worries me with this cpu usage.

Ps . Thanks for the help nubeat7 much appreciated .
willzz32
 
Posts: 20
Joined: Thu Jul 29, 2010 7:59 pm

Re: Edit Box(multiline) and preset string

Postby Nubeat7 » Mon Aug 12, 2013 3:24 pm

Nubeat7 wrote:hmm thats interesting, when saving the program carrige returns are deleted from the textfile but not when saved in presetmanager, why it is like this? i don`t know, ...

ok after a short research, it looks like that when you open a textfile per default \r\n is converted to \n, so in the old version the \r was still in the textfile and after loading it was deleted , which did the troubles...

i changed the code a bit and now also the ruby version should work correct
Attachments
split_join_comma.fsm
(7.14 KiB) Downloaded 902 times
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: Edit Box(multiline) and preset string

Postby willzz32 » Mon Aug 12, 2013 3:52 pm

Nubeat7

Thanks Fantastic!!! Works like a treat. Thanks to you and tester!!!
willzz32
 
Posts: 20
Joined: Thu Jul 29, 2010 7:59 pm

Previous

Return to General

Who is online

Users browsing this forum: No registered users and 122 guests