|
|
#1 |
|
Fοrum King (AVS Reviewer)
Join Date: Aug 2002
Location: The Netherlands
Posts: 3,785
|
While creating synchnonized stuff, say 2 SSC's, I often need to close/open AVS because the scope I'm working on gets reset everytime I change something in it and the other SSC does not reset. You know what I'm talking about.
Now wouldn't it be an idea to have some sort of button that resets the preset? This prevents much irritation on my side because double clicking on the classic vis also toggles oscilloscope/spectrum/off. Downside: closing the AVS window saves the current preset (preset00.avs?) This has prevented quite some preset-losses due to WAcrashes, (although WA5 hardly crashes anymore on my PC) or perhaps this could be included in the function of the button... |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Feb 2003
Location: Somewhere in Canada
Posts: 776
|
I could use that too.
Darn, I can't think of anything to put here. |
|
|
|
|
|
#3 |
|
Whacked Moderator
Join Date: Jun 2001
Posts: 2,104
|
Just use global variables instead, and all your synchronization problems will be gone.
|
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Oct 2003
Posts: 272
|
or ctrl+shift+k but global variables are the best idea.
|
|
|
|
|
|
#5 |
|
Banned
|
I did write SS, but I had problem same as you.
If next release of AVS will have this button it's pretty cool. |
|
|
|
|
|
#6 |
|
Fοrum King (AVS Reviewer)
Join Date: Aug 2002
Location: The Netherlands
Posts: 3,785
|
There won't, Unconed is right. At first I thought there would be situations apart from DM's and SSC's that relied on it, but for as far as I can see there aren't, so just drop this. Globvars are the best solution.
|
|
|
|
|
|
#7 |
|
Junior Member
|
I have an addon to this. Open the AVS Debug window, then enable "Clear all local variables on all code recompiles". This also clears the global values too.
|
|
|
|
|
|
#8 |
|
Major Dude
Join Date: Feb 2004
Location: Germany
Posts: 578
|
neo: Activating this option is the cause of the problem, not the solution.
If you activate this option this happens: You change a code block, it is recompiled and the variables of that one component are reset. variables of other components and global vars are left untouched. Deactivating it could help keeping your scopes in sync when editing, except if you change your whatever-you-want-to-sync code. solution: as UnConeD said, use the registers to store those whatever-you-want-to-sync values
If you can't say something nice, say something surrealistic. |
|
|
|
|
|
#9 |
|
Junior Member
|
o_O.... sorry for that, my mistake...
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|