question

Johnson Hu avatar image
0 Likes"
Johnson Hu asked Steven Hamoen answered

Is there any function to disconnect Dlls?

FlexSim 18.0.7
functions
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Steven Hamoen avatar image
3 Likes"
Steven Hamoen answered
@Johnson Hu

You can use the application command. So we made an option in a menu that looks like this:

reset();
dbclose();
applicationcommand("disconnectmoduledlls");

If you want to disconnect always press reset first and in our case we also wanted to be sure that no database connection was open. Then we disconnect the moduledll. reconnecting with code is the same:

applicationcommand("loadmoduledlls")
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.