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

mono4 bug or missing feature

For general discussion related FlowStone

mono4 bug or missing feature

Postby tester » Sun Feb 03, 2013 10:35 am

Example 1 uses simple formula to calculate 3 mono4 inputs into mono4 output.
Works fine.

Example 2a uses more complex formula and does the same as example 1.
Not working.

Example 2b is provided to show, that the formula itself - works.
The same formula is used, but 1 mono4 input is combined with 2 single inputs instead.
Works fine.

So what is going on here?
Looks like a problematic bug.
Support? Anyone?

//edit:
It looks that this is "stage(0)" related problem; when removed - it statrs to work.
So it looks that mono4 primitive for green inputs is missing, something that will sustain outputs...
Attachments
mono4 problem.fsm
(2.94 KiB) Downloaded 921 times
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: mono4 bug or missing feature

Postby stw » Sun Feb 03, 2013 2:13 pm

tester wrote:Example 1 uses simple formula to calculate 3 mono4 inputs into mono4 output.
Works fine.

Example 2a uses more complex formula and does the same as example 1.
Not working.

Example 2b is provided to show, that the formula itself - works.
The same formula is used, but 1 mono4 input is combined with 2 single inputs instead.
Works fine.

So what is going on here?
Looks like a problematic bug.
Support? Anyone?

//edit:
It looks that this is "stage(0)" related problem; when removed - it statrs to work.
So it looks that mono4 primitive for green inputs is missing, something that will sustain outputs...


You're right - it's a "stage" problem. The FS primitives do their calcs in stage 2. That means the whole packing happens after stage 0 when you need it in your code. In other words all input values are not present. And that's the difference to your working version with green inputs. In that case the "packing" happens inside your code.
A solution could be to do the packing in stage 0 as well. This can be done in asm.
I attached a fixed version

mono4 problem-fixed.fsm
(3.36 KiB) Downloaded 902 times


P.S: This is not a bug nor a missing feature, it's just how FS works
stw
 
Posts: 111
Joined: Tue Jul 13, 2010 11:09 am

Re: mono4 bug or missing feature

Postby tester » Sun Feb 03, 2013 3:15 pm

Thanks!
I fixed it on the other hand, just by moving stage(0) into greens, just before the code box.
Works :-)
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


Return to General

Who is online

Users browsing this forum: Google [Bot] and 19 guests