New simple GUI, Help needed:RUBY

Post any examples or modules that you want to share here
MANDANA
Posts: 18
Joined: Mon Dec 26, 2016 3:26 am

New simple GUI, Help needed:RUBY

Post 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.
Attachments
2 button GUI.fsm
(2.06 KiB) Downloaded 1148 times
User avatar
lalalandsynth
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: New simple GUI, Help needed

Post by lalalandsynth »

Do you prefer using ruby rather then greens ?
Its easy to do with greens.
User avatar
pshannon
Posts: 144
Joined: Fri Jan 02, 2015 3:08 am

Re: New simple GUI, Help needed:RUBY

Post 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
Attachments
2 button GUI quadbit fix 1.0.fsm
2 button gui up or down value fix.
(2.17 KiB) Downloaded 1218 times
MANDANA
Posts: 18
Joined: Mon Dec 26, 2016 3:26 am

Re: New simple GUI, Help needed:RUBY

Post 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.
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: New simple GUI, Help needed:RUBY

Post by RJHollins »

I had similar issue ... couldn't load it.
User avatar
lalalandsynth
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: New simple GUI, Help needed:RUBY

Post by lalalandsynth »

It is probably made in 3.09 beta ?
Stay away from that version , got burned :)
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: New simple GUI, Help needed:RUBY

Post 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
User avatar
pshannon
Posts: 144
Joined: Fri Jan 02, 2015 3:08 am

Re: New simple GUI, Help needed:RUBY

Post 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.
User avatar
pshannon
Posts: 144
Joined: Fri Jan 02, 2015 3:08 am

Re: New simple GUI, Help needed:RUBY

Post 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.
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: New simple GUI, Help needed:RUBY

Post 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
Post Reply