Slow OR *SOLVED*

Discuss suspected defects before submitting a bug report

Moderator: electrogear

Slow OR *SOLVED*

Postby Mo on Thu Mar 31, 2011 6:32 am

Hi, it seems "OR" is not sending update trigger, using fast switch:
OR_bug.png
OR_bug.png (11.69 KiB) Viewed 1161 times
Bug_OR.osm
(309 Bytes) Downloaded 79 times
Edit: This is with SM v2.0.3. Seems fine in v1.1.7.
Last edited by Mo on Fri Apr 01, 2011 1:47 pm, edited 1 time in total.
User avatar
Mo
essemilian
 
Posts: 439
Joined: Thu Jan 24, 2008 2:00 pm
Location: Copenhagen

Re: Slow OR

Postby infuzion on Thu Mar 31, 2011 7:44 am

Confirmed; the OR gets the 1st trigger it seems using a trigger counter, but not the 2nd.
Need help? First search the forum & WiKi, then post in the help forum with a clear topic, request, & OSM. Then please WiKi the correct solution. If you want my personal assistance, I charge by the hour or for an exchange of services.
infuzion
smstar
smstar
 
Posts: 6163
Joined: Wed May 04, 2005 8:02 pm
Location: Earth, USA, CO, Denver

Re: Slow OR

Postby aliasant on Thu Mar 31, 2011 7:58 am

Confirmed here too.
Da%n

I was hoping triggers was working ok now...
It's never to late to be late.....
http://martinrodensjo.smugmug.com/
User avatar
aliasant
smunatic
 
Posts: 2386
Joined: Sat Dec 30, 2006 5:49 pm
Location: Sweden

Re: Slow OR

Postby Tzarls on Thu Mar 31, 2011 12:55 pm

Maybe it has to do with the trigger ID thing..... since the same trigger gets to the switch, it must be blocking the second just because it has the same ID the first one had.
Tzarls
smanatic
 
Posts: 770
Joined: Tue Nov 11, 2008 5:43 am
Location: Peru

Re: Slow OR

Postby aliasant on Thu Mar 31, 2011 1:56 pm

Tzarls wrote:Maybe it has to do with the trigger ID thing..... since the same trigger gets to the switch, it must be blocking the second just because it has the same ID the first one had.


Yes. Something like that.
I just had a similar thing here: viewtopic.php?f=3&t=9651&p=76922#p76922
It's never to late to be late.....
http://martinrodensjo.smugmug.com/
User avatar
aliasant
smunatic
 
Posts: 2386
Joined: Sat Dec 30, 2006 5:49 pm
Location: Sweden

Re: Slow OR

Postby trogluddite on Thu Mar 31, 2011 3:26 pm

Seems that the Switch is OK because the triggers arrive at different inputs, but the OR isn't because they arrive at the same input.
I still haven't put my main machine on SM2.03 yet, because I got worried when I saw that the trigger system had been changed - but it seems I have some similar problems with some control logic in a couple of schematics when tried on SM2.03 on my backup PC.
Trouble is that this I'm using xome BIG sequential logic, and I'm not even close to being able to pinpoint the source of the problems yet.

Why couldn't they have left it alone? It took a lot of hard work (and forum posts), from many people, to nail the workarounds for the previous trigger system's "quirks". Do we really have to go through all that again?
The green triggers are always going to require a few compromises, so why not stick with the compromises we know how to deal with, so that our hard earned knowledge remains useful. (I'd make an exception for the 'Holy Grail' of sample accurate triggers, of course!)
Feel free to use any schematics and algorithms I post on the forum in your own designs - a credit is appreciated (but not a requirement).
Don't stagnate, mutate to create. Without randomness and serendipity the earth would be just another barren rock.
User avatar
trogluddite
smychopath
 
Posts: 3028
Joined: Mon Oct 20, 2008 3:52 pm
Location: Yorkshire, UK

Re: Slow OR

Postby aliasant on Thu Mar 31, 2011 3:42 pm

trogluddite wrote:S

Why couldn't they have left it alone? It took a lot of hard work (and forum posts), from many people, to nail the workarounds for the previous trigger system's "quirks". Do we really have to go through all that again?
The green triggers are always going to require a few compromises, so why not stick with the compromises we know how to deal with, so that our hard earned knowledge remains useful. (I'd make an exception for the 'Holy Grail' of sample accurate triggers, of course!)


hehehe
I know how you feel but I truly think this is for the better... at lest once we / they got it working.
As it is now it takes a many many hours of scrathing heads and bal..... before you understand that it isnt your fault or your bug but triggers not behaving.. and then more scratching before you realise how to work around it... and then a few hours later it happens again and the circus starts all over again.

Wouldnt it be nicer if triggers behaved?. Ialready think its working better but I hate that I have to fix things I have already fixed just because they aint buggy anymore.

It'll be worth it.
One day
In a future far far away....
It's never to late to be late.....
http://martinrodensjo.smugmug.com/
User avatar
aliasant
smunatic
 
Posts: 2386
Joined: Sat Dec 30, 2006 5:49 pm
Location: Sweden

Re: Slow OR

Postby trogluddite on Thu Mar 31, 2011 4:03 pm

aliasant wrote:Wouldnt it be nicer if triggers behaved?

I agree with your sentiment - and I've had a tiring week at work, so maybe I'm extra pessimistic - but I'm not convinced that the trigger system will ever behave intuitively under all circumstances. But 'intuitively' is not the same thing as 'predictably' - for a while now, complaints about trigger problems have been quite rare, and most posted schematics with trigger issues have been solved quickly. Besides which, most trigger issues I see reported are trigger order problems (i.e. programming errors) rather than bugs.
I just don't think that the improvements (I haven't noticed any yet) are big enough to be worth sacrificing back-compatability for. Of course, right now I'm pissed that I have some big broken schematics - but I can't help also wondering how many schematics posted on the forum (for everyone to use and learn from) will also get broken. You yourself described your fix in the other post as 'ugly'.
Feel free to use any schematics and algorithms I post on the forum in your own designs - a credit is appreciated (but not a requirement).
Don't stagnate, mutate to create. Without randomness and serendipity the earth would be just another barren rock.
User avatar
trogluddite
smychopath
 
Posts: 3028
Joined: Mon Oct 20, 2008 3:52 pm
Location: Yorkshire, UK

Re: Slow OR

Postby aliasant on Thu Mar 31, 2011 4:14 pm

trogluddite wrote:
aliasant wrote:Wouldnt it be nicer if triggers behaved?

I agree with your sentiment - and I've had a tiring week at work, so maybe I'm extra pessimistic - but I'm not convinced that the trigger system will ever behave intuitively under all circumstances. But 'intuitively' is not the same thing as 'predictably' - for a while now, complaints about trigger problems have been quite rare, and most posted schematics with trigger issues have been solved quickly. Besides which, most trigger issues I see reported are trigger order problems (i.e. programming errors) rather than bugs.
I just don't think that the improvements (I haven't noticed any yet) are big enough to be worth sacrificing back-compatability for. Of course, right now I'm pissed that I have some big broken schematics - but I can't help also wondering how many schematics posted on the forum (for everyone to use and learn from) will also get broken. You yourself described your fix in the other post as 'ugly'.


My worst problems are complex green stuff that works 7/10 times. Definetly not predictable unless that is what you predict..
If the future triggers behave the same 10/10 times Im ok with occasional ugly fixes. It will at least be much much quicker to spot and fix.
Like this last one I fixed. That took about 1.5 minutes to find and fix because it behaved the same everytime.

About the amount of error reports, and posts in the forum..
I dont think everyone reports their problems.

They might not understand that this is something that can be fixed and that it isnt their programming error.
They might find the problems so erratic that they just skip it, moves on, finds another way to do the same, commits suicide or at least a big hammer in the LCD screen they now used to have.
It's never to late to be late.....
http://martinrodensjo.smugmug.com/
User avatar
aliasant
smunatic
 
Posts: 2386
Joined: Sat Dec 30, 2006 5:49 pm
Location: Sweden

Re: Slow OR

Postby Mo on Thu Mar 31, 2011 7:37 pm

Found a 1ms Trigger Delay as a workaround for now. BTW it would be nice to have old function back. Will send a mail to support soon, if it's not done already?
User avatar
Mo
essemilian
 
Posts: 439
Joined: Thu Jan 24, 2008 2:00 pm
Location: Copenhagen

Re: Slow OR

Postby DigitalWhiteByte on Thu Mar 31, 2011 10:51 pm

I do not seem that the bug is in the primitive Boolean Or,
why it works by adding a simple trig,
apparently does not update the Boolean primitive. :(
Attachments
Bug_OR_What.osm
(7.65 KiB) Downloaded 61 times
User avatar
DigitalWhiteByte
smanatic
 
Posts: 693
Joined: Thu Mar 12, 2009 1:07 am
Location: Milano - Italy

Re: Slow OR

Postby infuzion on Fri Apr 01, 2011 4:02 am

aliasant wrote:I don't think everyone reports their problems.
I only report 1/3 of the bugs I find anymore, sometimes directly to support@SM. I found the toolbox bug over a year ago, but I'd prefer for Malc to work on SSE3&4.
Need help? First search the forum & WiKi, then post in the help forum with a clear topic, request, & OSM. Then please WiKi the correct solution. If you want my personal assistance, I charge by the hour or for an exchange of services.
infuzion
smstar
smstar
 
Posts: 6163
Joined: Wed May 04, 2005 8:02 pm
Location: Earth, USA, CO, Denver

Re: Slow OR

Postby sunsynth on Fri Apr 01, 2011 9:29 am

DWB i noticed it 2 in my actual project:

The boolean isn't updated or has a missing redraw in it...

Please report this directly 2 malc!
User avatar
sunsynth
smaniac
 
Posts: 1494
Joined: Mon Sep 11, 2006 3:27 pm
Location: HH - Made in Germany

Re: Slow OR

Postby trogluddite on Fri Apr 01, 2011 12:13 pm

Malc has mailed me Re: the 2.03 trigger changes - see post HERE.
Note that the Int Switch HAS been changed in SM2.03.
Feel free to use any schematics and algorithms I post on the forum in your own designs - a credit is appreciated (but not a requirement).
Don't stagnate, mutate to create. Without randomness and serendipity the earth would be just another barren rock.
User avatar
trogluddite
smychopath
 
Posts: 3028
Joined: Mon Oct 20, 2008 3:52 pm
Location: Yorkshire, UK


Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest