You might see this happening if you're running ExtendSim on a Windows OS version prior to 8.1.
To correct this:
This problem can occur when working on multiple monitors, then switching from multiple monitors to a single monitor. The "hidden but open" window has actually opened outside the boundaries of the current ExtendSim application. The model window is remembering its previous location when ExtendSim had broader boundaries on the additional monitor.
To find windows that have disappeared from view, either:
The error Run-time error 429: ActiveX component can't create object might occur if you try to launch ExtendSim (as a server) from an outside application (as the client) in an ActiveX/COM client/server process. In order to interface with Excel or other outside applications using ActiveX/COM, ExtendSim must be registered as an OLE/COM server. Many companies restrict an employee's application permissions to the most basic. To register ExtendSim as an OLE/COM server, you must launch ExtendSim one time with Administrator permissions. To do this, right click on the ExtendSim.exe file and select Run as: Administrator (you'll probably need a password from your IT department).
Because ExtendSim has its own compiler, it executes compiled code. Windows can interpret this code as data, rather than code, that is executing. The default setting for Data Execution Prevention (DEP) is Turn on DEP for essential Windows Programs only. Some Windows installations don't use the default; this causes a problem for ExtendSim. In certain cases, ExtendSim will crash upon launch and return the error message Unknown msg Unknown block. To correct this problem, see the FAQ Specific issues to be aware of • Data Execution Prevention (DEP) under the Issues when Installing, Launching, or Opening Files category.
If each time you click a Help button in a block dialog you get the same Help content regardless of which block you are in, you might be encountering an issue with cached information not getting updated properly. To resolve this:
There are two reasons why ExtendSim would be installed on a device, but the ExtendSim application does not appear in Settings > Apps > Apps and Features:
When ExtendSim is installed, two ExtendSim folders are created. By default one folder is placed in Program Files and the other is placed in Documents. There are two reasons why one or both of those folders are left after you uninstall ExtendSim:
For complete instructions on uninstalling ExtendSim from your device, please see Uninstalling an Individual license of ExtendSim.
This might happen if you are using ExtendSim 10.0.7. The application development framework used by ExtendSim had a bug in their software that could cause pictures/images on model worksheets to disappear. They have fixed the bug and the fix has been included in future releases of ExtendSim.
Please update to ExtendSim 10.0.9 to resolve this issue.
While running ExtendSim on a virtual machine such as on a Macintosh device using an emulator such as Parallels, you may not be able to view the ExtendSim Help system via the menu command nor view Block Help by clicking on Help from within certain blocks.
Viewing the ExtendSim Help system while using a Mac
The good news is the entire ExtendSim Help file is saved as a PDF file so is easily accessible and readable on a Mac. Simply browse to the ThisPC/Documents/ExtendSim10/Help folder. Double-click the ExtendSim Help file to open it.
Accessing ExtendSim Block Help on a Mac
Block Help might be a bit more cumbersome to access in some ExtendSim blocks. As with most Windows-based applications, some of the ExtendSim Block Help files use Microsoft Compiled HTML Help. It is a Microsoft proprietary online help format consisting of a collection of HTML pages, an index, and other navigation tools. The files are compressed and deployed in a binary format with the extension .CHM, for Compiled HTML. Unfortunately, for Mac users, CHM files cannot be directly opened.
If you click on a block's Help and see a blank window, use one of these options to access Block Help:
If you have any questions on this procedure, please Initiate an ExtendSim Support Ticket.
Memory fragmentation happens when a large portion of a computer's random access memory (RAM) is separated into many non-contiguous chunks. The fragmentation can leave a high percentage of RAM memory unused but also unusable resulting in memory issues. If RAM is low or unusable, an application will use the computer's hard drive as virtual memory (which slows operations) or report low or out of memory problems.
Memory fragmentation is common with data intensive applications such as ExtendSim, where the allocation, disposal, and reallocation of memory is ongoing during model runs. For example:
There are two ways to deal with reports of memory issues:
Memory leaks occur if some of the memory used in an operation doesn't get properly disposed of at the end of that operation. For example, this happens if a custom block's dynamic array is not properly disposed of in the code. A small memory leak won't cause a problem but memory leaks become significant if they accumulate. This could happen, for example, if the memory for that dynamic array is constantly being reallocated, but not disposed of, over multiple runs. While memory leaks can also occur from ExtendSim, most memory leaks are caused by the code in custom blocks.
There are two ways to deal with reports of memory leaks:
You might notice that the second and subsequent runs of a simulation take longer to run and use more memory than the first run. Most often that is because a large amount of data has been stored in the model during the first run. In subsequent runs, that data has to be disposed of before it can be replaced with new data, causing longer processing times.
The RealTimer block, discussed above, is helpful for determining how much memory and simulation time specific blocks are using during runs.
For more information about memory management in ExtendSim, please see Quick Tips • Memory Management in the ExtendSim Learning Center.
A zero-day arbitrary code execution vulnerability CVE-2021-44228 (also known as Log4Shell) was discovered December 9, 2021 and affects the Apache Log4j library versions from 2.0 to 2.14.1. Log4j is a logging tool used in many Java-based applications. Successful exploitation of the Log4Shell vulnerability allows for arbitrary code execution in the targeted application, granting the attacker full access and control of the affected application. This could extend to the device the application is running on as well as networks beyond individual compromised devices.
ExtendSim is not a Java-based application and does not rely on software written in Java. Furthermore, we have analyzed the ExtendSim products and services and have not identified any instances of Log4j.
From within ExtendSim, simply hover over the title bar of either a model worksheet or a library window to see the path to that file's location on your device.