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

display error

For general discussion related FlowStone

display error

Postby rustyou » Sat Jul 05, 2014 10:32 am

Hello,

I've a calcul who display the error : 1.#INF

Because the calcul is : 0/0 . this is normal

But for the user, i would like display 0 .


How shall we do it?

Thanks
Attachments
calcul.fsm
(7.49 KiB) Downloaded 720 times
rustyou
 
Posts: 93
Joined: Sat Jan 04, 2014 10:55 am
Location: France

Re: display error

Postby Drnkhobo » Sat Jul 05, 2014 10:57 am

Drnkhobo
 
Posts: 312
Joined: Sun Aug 19, 2012 7:13 pm
Location: ZA

Re: display error

Postby TheOm » Sat Jul 05, 2014 10:59 am

Very simple. Just check if the result is infinity and use a selector to display 0 instead.
Attachments
calcul.fsm
(2.63 KiB) Downloaded 727 times
TheOm
 
Posts: 103
Joined: Tue Jan 28, 2014 7:35 pm
Location: Germany

Re: display error

Postby rustyou » Sat Jul 05, 2014 11:28 am

Oh yes perfect thank you.

And for the flaot.

I want to display just one 0 for the user and no 0.0. But i want to display the decimal too....?
rustyou
 
Posts: 93
Joined: Sat Jan 04, 2014 10:55 am
Location: France

Re: display error

Postby TheOm » Sat Jul 05, 2014 12:08 pm

Like this?
Attachments
calcul.fsm
(1.58 KiB) Downloaded 739 times
TheOm
 
Posts: 103
Joined: Tue Jan 28, 2014 7:35 pm
Location: Germany

Re: display error

Postby tester » Sat Jul 05, 2014 12:34 pm

@TheOm - can you check if you can open your last schematic by double clicking on it?
It's one of these cool examples, that crash Flowstone. ;-)

BTW, if it crashes on your machine as well - send it to support.
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: display error

Postby rustyou » Sat Jul 05, 2014 4:33 pm

Yes great :)

thank you for your help TheOm
rustyou
 
Posts: 93
Joined: Sat Jan 04, 2014 10:55 am
Location: France

Re: display error

Postby TheOm » Sat Jul 05, 2014 5:29 pm

tester wrote:@TheOm - can you check if you can open your last schematic by double clicking on it?
It's one of these cool examples, that crash Flowstone. ;-)

BTW, if it crashes on your machine as well - send it to support.

Sorry can't check. I'm using the FL-Studio plugin version, so I always have to use the Open-File dialog.
TheOm
 
Posts: 103
Joined: Tue Jan 28, 2014 7:35 pm
Location: Germany

Re: display error

Postby tester » Sat Jul 05, 2014 7:52 pm

Okay, I sent it to Malc.

This is one of these situations in which when you start the schematic by double click on it (i.e. not drag and drop to FS nor load via menu) - it crashes FS. I checked on two machines and is the same. Appearently it has to do with some sort of initialization order between FS guts and ruby.

@Nubeat7 - it's one of these spooky scenarios I talked about. Probably will be fixed with the next release.
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: display error

Postby Nubeat7 » Sat Jul 05, 2014 8:55 pm

tester wrote:@Nubeat7 - it's one of these spooky scenarios I talked about. Probably will be fixed with the next release.


no idea what you are talking about? everything works normal here...
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Next

Return to General

Who is online

Users browsing this forum: No registered users and 92 guests