modelica-3rdparty / Modelica_DeviceDrivers

Free library for interfacing hardware drivers to Modelica models. There is support for joysticks, keyboards, UDP, TCP/IP, LCM, MQTT, shared memory, AD/DA converters, serial port and other devices.
BSD 3-Clause "New" or "Revised" License
77 stars 31 forks source link

Examples in M_DD make use of deprecated block SynchronizeRealtime #354

Closed dietmarw closed 2 years ago

dietmarw commented 2 years ago

I noticed that the majority of the examples in the library still uses SynchronizeRealtime when that class itself says: "Deprecated block. Use "RealtimeSynchronize" instead."

I can understand to keep SynchronizeRealtime around for backward in order to not break user-models but the examples within the library should really follow its own instruction and use the new RealtimeSynchronize (also in order to educate new users).

bernhard-thiele commented 2 years ago

Yes, you are of course right. Fixed it.