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

'last (sw)' bug

For general discussion related FlowStone

'last (sw)' bug

Postby tester » Sun Jan 05, 2014 12:37 am

Why is this happening?

And why this helps?
Attachments
last-bug-fix.fsm
(439 Bytes) Downloaded 760 times
last-bug.fsm
(387 Bytes) Downloaded 777 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: 'last (sw)' bug

Postby Nubeat7 » Sun Jan 05, 2014 1:10 am

things like this only can be found by you tester :lol:

this only happens with arrays, btw, why you want to trigger the other in of the last switch when updating the value?

if you want to update it manually or from other triggersource its better to use a s&h
if i understand your schematic right you wanna do this
Attachments
last-bug.fsm
(324 Bytes) Downloaded 788 times
Last edited by Nubeat7 on Sun Jan 05, 2014 2:04 am, edited 1 time in total.
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: 'last (sw)' bug

Postby Nubeat7 » Sun Jan 05, 2014 1:19 am

what i could think is that the trigger from the node arrives while the array values on the other in of the last switch gets updated so that both gates are opened which ends up in adding the values?
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: 'last (sw)' bug

Postby tester » Sun Jan 05, 2014 1:29 am

:mrgreen: :mrgreen: :mrgreen:

Like Trog - some time ago I started to like clean, compact, elegant solutions.

As for the schematic part - there is complex order of things happening:

1) block synchronized changing on slider
2) change "synced" list
3) change "crosscopy" value
4) trigger new crosscopy value - another little thing with few block/unblock nodes and trigger order things
5) change back "synced" list
6) change back "crosscopy" value
7) unblock synchronized changing

There are two items interacting with each other, and while both have independent "synced" lists - changes on one item affect elements on second item (single values inside array).
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: 'last (sw)' bug

Postby KimSteff » Mon Jan 06, 2014 11:11 pm

I must bee a bit slow!! What are the problem. Please explain ?
KimSteff
 
Posts: 31
Joined: Tue Dec 20, 2011 9:50 pm

Re: 'last (sw)' bug

Postby tester » Tue Jan 07, 2014 1:05 am

What problem? :D

Ah, you mean what is the topic about. Two not related things. I found an error in FS regarding arrays, their triggers and "last" switch; just check the schematics. Then - Nubeat7 was wondering about general design I work on in context of using such trigger from array to set the switch. So I explained. As I said - two not related things.
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: No registered users and 48 guests