Hello,
when you compile the Win32 application with defined macro EW_OPEN_CONSOLE, an additional console window is opened. This window reveals then following errors when switching the graphs:
The errors 187 and 188 are reported when the Issue-Buffer is too small to store all vector graphic coordinates for the larger graph. For the small graph the buffer was sufficient. See also Error 187, 188.
The default configuration for the Issue-buffer under Win32 is actually 100. This is too little for your application case. I would suggest to increase the value to at least 1000. The RAM Usage window also provides hints for the minimum configuration. When I start your application and switch the graphs, the window reveals following parameter for the Issue-Buffer size see the row at the bottom of the window):
The following steps explain how you change the configuration:
Step 1: Navigate to the folder Platforms\Tara\Win32\RTE just below the installation directory of Embedded Wizard. There you will find the file main.c:
Step 2: Copy the file to your own Win32 project directory.
Step 3: Add to the file following row to configure the Issue-Buffer with value e.g. 1000:
Step 4: In your VC++ project remove the original main.c file and add the copied version.
I hope it solves the problem.
Generally, when you observe some suspect behaviour in the target system (this includes Win32), it is helpful to check the console outputs for eventual error messages or warnings.
Best regards
Paul Banach