¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Strange SiMPL+ behavior


 

Good day
Has anybody faced such SIMPL+ bug.
?
1. You make a module
2. Press compile
3. No errors, the symbol was updated ..
.. but actually it was not updated ...?
?
SIMPL uses the old version of the module. I could not catch what a trouble, until added PRINT ("time XXXX ") in the Main Function (I added current time or something new before new compilation to chck if it WAS).
In result in module in SIMPL+ which was successfully compiled few second ago I can see correct code, but the debuger shows me that the previous version is used.?
The only alteration can be seen is adding the output or input. In this case the module in SIMPL is updated with new input/output BUT !!! the code itself is still old ...?
?
I tried all solution I could
?
Rebuild, reload databases, files e.t.c. , move UserPlus library to other folder e.t.c.?
The only solution works is:
Before compile save as the module with new name, (f.e. module_ver2) than add new module in SIMPL and copy all signals to the new one.
This way it works ones ...
?
PS: All that happens in Parallels over MacOS. I used it for a long time and there were no any trouble for years.?
?
I'm really tiered with this "games" :-)
?
?
Thanks in advance for You advices
?


 

two things to try in SMW:
1. In the OPTIONs DropDown, click Reload Device and Symbol Libraries from Disc
2. When you compile, use ALT+F12 (check reference with MAC) or use the PROJECT DropDown, and click 'Recompile ALL'. This is the only Compile process that I use, so I never have to think about it...


 

"click 'Recompile ALL'."
?
Many thanks - that works!!
?
I'm still wondering what happens with regular compile. but I can work !
?
?


 

I think the regular compile just doesn't recompile the modules if the SPLwork folder has a previously compiled version in it.
That's one of the reasons why I always use Recompile All. I'm sure it adds a small bit to the compile time, but I'm drinking coffee anyway!...:)
?
One good T/S'ing method is to delete the SPLwork folder and then recompile. If you have your program open, it may not let you delete, so If you just open the folder you can delete all the files inside. there will be one file (Utilities.dll I think) that will be in use and won't let you delete it. but just leave it. it won't be a problem in my experience...


 

I've tried to delete SPLs e.t.c.
Until "ReCompile ALL" it didn't work.
More over, after the first pressing Recompile all, I got an info that I have lots of errors in SIMPL project.
F.e. It found some same Crosspoint equipment IDs (in unused modules), which were compiled as "perfect" with a regular compile button.
So, one more thanks for Your solution. I assigned a button on my keyboard for ALT+F12 and use it as basic compile since that moment. ??