20-sim 4C 2.1.12

20-sim 4C 2.1.12 has been released. This build contains several bugfixes and a few improvements:

2.1.12 (24 April 2019, build 4748)

General Improvements:

  • Bachmann: add a new SVI status variable #mcf_write_status that shows the status of the parameter storage to the MCF during run-time parameter changes.
  • Register 20-sim 4C 2.1 as code generation target in the upcoming 20-sim 4.8 release
  • Changed: No need to store the MCF path as absolute path when it is stored in next to the TXP file (default). Fixes opening the project in newer 20-sim 4C versions.

Bug fixes:

  • Fixed: C-code implementation of the bitget function was wrong. It should return 1 when the requested bit is 1 and 0 otherwise.
  • Fixed: Initialization of a boolean vector or matrix could fail when spaces were used after a , or ; in 20-sim
  • Fixed: Bachmann: the run-time parameter change detection triggered an unnecessary MCF write at start-up
  • Fixed: Bachmann: run-time parameter change detection triggered sometimes a double MCF write

Download 20-sim 4C here.

20-sim 4C 2.1.11

20-sim 4C 2.1.11 has been released. This build contains several bugfixes and a few improvements:

2.1.11 (9 October 2018, build 4567)

General Improvements:

  • Add 20-sim 4C version tokens
  • Add 20-sim 4C version information to the model configuration file (MCF)
  • Stored connections in the TXP rely on correct ordering in the TCF. Extra validation using the port name and component name added. Mismatched connection are deleted.
  • Bachmann: add 20-sim 4C version information to the compiled module
  • Bachmann: Do not always write the MCF on exit
  • Bachmann: Add checksum to the MCF. No/corrupt/invalid MCF? Don't start the task
  • Bachmann: Check MCF checksum before applying changes
  • Bachmann: Add a GUID to the MCF and the compiled module to make sure that the MCF and module belong to the same model version
  • Bachmann: Add extra log messages around MCF writing and I/O open/close to facilitate debugging
  • Bachmann: Use FTP for file upload if possible (faster uploading for large models)
  • Bachmann: Update our template based on the Solution Center V2.25 C-module template (gcc 2.95)

Bug fixes:

  • Fixed: Bachmann: Using the DI232 in 20-sim 4C 2.1.10 gave a compile error.
  • Fixed: Bachmann: Misleading status message "submodelname received RcpStop" during PLC boot.
  • Fixed: changing ip or hostname for an existing target did not result in an online status without closing/reopening the project.
  • Fixed: Memory free errors Bachmann (double free under certain fault conditions).
  • Fixed: Code generation with modified output directory in 20-sim results in a project at the wrong location.
  • Fixed: Bachmann: Update minixml code to v2.11 (bugfixes, memory allocation/deallocation fixes).
  • Changed: Allow collecting all I/O intialisation errors before aborting the task initialisation.
  • Changed: Bachmann: Module does not abort SVI variable registration anymore after the first error.
  • Changed: 20-sim 4C CHM help was always on top. This hides the 20-sim 4C window on small screens.

Download 20-sim 4C here.

20-sim 4C 2.1.10

20-sim 4C 2.1.10 has been released. This build contains several bugfixes and a few improvements:

2.1.10 (17 January 2017, build 4051)

General Improvements:

  • 20-sim 4C: Allow logging on a model without finish time without demanding a finish time
  • Bachmann: replace sprinf by snprinf to prevent potential buffer overflows
  • Bachmann: add support for reading the Time_us values, the Temperature and the Usage* values from the RES module

Bug fixes:

  • 20-sim: Code generation compile error on XXExponent2 and XXExponent10 due to missing xx_logarithm constants.
  • 20-sim: C-Code: Fixed: EulerAngles_EulYXZsFromRotationMatrix accidentally did a relative transformation
  • 20-sim: C-Code template: initialize memory on zero to make sure that there a no non-initialized inputs when not connecting them in 4C.
  • 20-sim 4C: TCF cache: don't copy the cached TCF to the cache trying to overwrite itself
  • 20-sim 4C: Fixed: Connections lost when switching to the TCF from the cache folder
  • Bachmann: Taskname "aMODELNAME (1)" => "aMODELNAME_log" (prevent double task names)
  • Bachmann: Improve Bachmann task timing; only listen to the MIO_SYNC_IN signal to prevent jitter on the start times
  • Bachmann: Stop a running model does not work when the connect and compile phase are not yet green
  • Bachmann: Stopping a model stores the end values in the MCF. Restarting the model should not restore all values from the MCF. Only parameters and initialvalues should be read from the MCF. All other values are calculated by the model.
  • TS-7300: Fixed TS-ADC16 usage resulted in a compiler warning

Download 20-sim 4C here.

20-sim 4C 2.1.9

20-sim 4C 2.1.9 has been released. This build contains several bugfixes and a few improvements:

2.1.9 (19 February 2016, build 3795)

New:

  • Bachmann: include the information from the new 20-sim 4.6 model version fields in the Bachmann module info.

General Improvements:

  • 20-sim: Register 20-sim 4C 2.1 as code generation target in 20-sim 4.6.
  • 20-sim 4C: code generation of the connection code was very slow for larger models.
  • 20-sim 4C: the connection list is now also reachable when the model is running on the target.
  • 20-sim 4C: copy the selected TCF to 20-sim 4C project cache
  • 20-sim template: optimization of the Runge Kutta 4 algorithm (less divisions and increased accuracy).
  • Bachmann: prepare the templates for hosting dynamic HTML documentation on the M1.
  • Bachmann: reduce the module loading time on Bachmann for large models.
  • Bachmann: increase the time-out for starting models on the M1.
  • Bachmann: switch to a lower task priority when wrting the model configuration file (MCF).

Bug fixes:

  • 20-sim 4C: Checkbox to disable the "Finish time" was not stored in the 20-sim 4C project.
  • 20-sim template: generated code for matrix element-wise power was wrong
  • 20-sim template: fix compilation issue with XXMatrixPowElement
  • Bachmann: model upload fails with 'Module already exist and could not be removed'
  • Bachmann: fixed a memory leak in the MCF reader
  • Bachmann: module crash when an connected I/O was not found during startup
  • Bachmann: replacing a running model
  • Bachmann: don't enable the Discover button since it is not yet supported

Download 20-sim 4C here.

Breadcrumbs

You are here: Home News