Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
using gVar as offset wrong scaling (x7 radio) #4582
Indeed, didn't see it...
Open companion, open file, click simulate (on document) - values are shown correctly (but output is bad). Close simu, click simulate again, they're all 0.
@mpaperno, help? haven't followed storage evolution close enough, but seems like it could be related?
Indeed, the Simulator Radio Outputs gvars not updating was a bug (fixed @ 0a5732b). Thanks for noticing :)
No clue on the problem of the actual gvars calculations in firmware... I can't keep track of the import/conversion routines either, if that's what you mean Andre. I guess first step is consistent repro case. Maybe @bsongis has some clues for us.
Ok, found a reproducable action triggering the issue. It doesn't make sense at all:
in the attached file, there are two models, both having input1 with SA as source, gVAR1 having a value of 50, and mixer line 1 having source Max, weight 0 and offset GVAR1. mixer line 2 having source Max, weight 0 and offset -GVAR1.
When no switch warnings are active, the second mixer line produces -5, where it should have produced -50.
Tell me whats happening ???