Page 1 of 2

New simple GUI, Help needed:RUBY

PostPosted: Tue Jul 11, 2017 2:56 am
by MANDANA
I have create a new Graphic User Interface with two buttons. One that raises a value and one that lowers a value. My problem is that I don't know how to correctly code the ruby code found in the module. Can someone please send a ruby code that will work or explain how to fix the issue.

Re: New simple GUI, Help needed

PostPosted: Tue Jul 11, 2017 4:16 am
by lalalandsynth
Do you prefer using ruby rather then greens ?
Its easy to do with greens.

Re: New simple GUI, Help needed:RUBY

PostPosted: Tue Jul 11, 2017 5:43 pm
by pshannon
MANDANA wrote:I have create a new Graphic User Interface with two buttons. One that raises a value and one that lowers a value. My problem is that I don't know how to correctly code the ruby code found in the module. Can someone please send a ruby code that will work or explain how to fix the issue.


Mandana,

I made a simple change, I hope this helps.

QuadBIT

Re: New simple GUI, Help needed:RUBY

PostPosted: Wed Jul 12, 2017 1:51 am
by MANDANA
The project you sent me, pshannon, unfortunately will not load on my PC. Instead, a pop up that says (Flowstone requires a cpu that supports sse instructions, but my computer's CPU already supports sse). Then, another pop up comes up that says (Schematic load: type not found). Next, another pop up comes up and says (Could not create link inside module Button. Please report to the software support team). But I don't fell like emailing them so that's that. Finally after two dozens of clicks, the one last pop up comes up saying (Attempted to access an unnamed file past its end).

Geez, I've never seen so many different pop ups in my entire life. I hope the Devs see this post.

Re: New simple GUI, Help needed:RUBY

PostPosted: Wed Jul 12, 2017 3:21 am
by RJHollins
I had similar issue ... couldn't load it.

Re: New simple GUI, Help needed:RUBY

PostPosted: Wed Jul 12, 2017 3:44 am
by lalalandsynth
It is probably made in 3.09 beta ?
Stay away from that version , got burned :)

Re: New simple GUI, Help needed:RUBY

PostPosted: Wed Jul 12, 2017 7:10 am
by Spogg
Yes you get that oh-so-useful message storm if you try to load a 3.09 version into 3.08.

It's just a generic error meaning the file isn't compatible, for any reason.

I've sent a request for these early betas to be removed from download but it hasn't happened yet.

AVOID!!

Cheers

Spogg

Re: New simple GUI, Help needed:RUBY

PostPosted: Wed Jul 12, 2017 3:57 pm
by pshannon
Spogg wrote:Yes you get that oh-so-useful message storm if you try to load a 3.09 version into 3.08.

It's just a generic error meaning the file isn't compatible, for any reason.

I've sent a request for these early betas to be removed from download but it hasn't happened yet.

AVOID!!

Cheers

Spogg



Yes, guilty of the beta version, I will downgrade and resubmit.

Re: New simple GUI, Help needed:RUBY

PostPosted: Wed Jul 12, 2017 5:18 pm
by pshannon
This sucks that I can't even open any of my projects with the step down version. I assumed that I could still open my projects if working with a minor version higher. So now, even my ruby code won't work! I guess I need to completely uninstall FS and reinstall. Not sure why I still work with FS sometimes. I know it is addicting, but the lack of company support is nonexistent from what I have seen for a very long time.

Re: New simple GUI, Help needed:RUBY

PostPosted: Wed Jul 12, 2017 5:24 pm
by Spogg
You can try to copy and paste code from the 3.09 via Notepad into the code boxes in 3.081. I do know this works with DSP code at least, but not sure about Ruby.

Cheers

Spogg