question

Tee Hiett avatar image
0 Likes"
Tee Hiett asked Joerg Vogel edited

How do I convert a script to a DLL and then call that DLL?

I have an On Exit Trigger script for several patient beds. I am would like to create a DLL script which could be called from the On Exit Trigger from each bed.

Thanks,

Tee

FlexSim HC 5.1.0
healthcaredllscriptingbitbucketcreate dll
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

Matt Long avatar image
2 Likes"
Matt Long answered Matt Long commented

Download the DLL Maker repository from BitBucket: https://bitbucket.org/flexsim/flexsim-dll-maker

If you don't want to use a program like Source Tree or Tortoise HG you can download a zip of all the files in the project through the Downloads section. You'll also find previous versions of the dll maker if you're building against 7.5 or 16.0 etc.

https://bitbucket.org/flexsim/flexsim-dll-maker/downloads?tab=tags

There is a README file in the repository that explains how to create a function and call it from FlexSim.

· 4
5 |100000

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

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

@Matt Long, For FlexSim HC 5.1.0, should an older version of the DLL maker be used? For instance the commit for version 7.5.0 (since that is HC 5.1's engine version)?

Or can the latest 16.2 compatible DLL maker be used for older versions of the software?

0 Likes 0 ·
Matt Long avatar image Matt Long Ben Wilson ♦♦ commented ·

For HC you should use the 7.5 version until HC is updated.

0 Likes 0 ·
Ben Wilson avatar image Ben Wilson ♦♦ Matt Long commented ·

To get an older commit you would need to download a Mercurial interface (like Tortoise HG) and clone the repository locally, then update to an earlier commit. Is that correct?

Or is there a way to directly download the DLL Maker as a .zip for the older versions?

0 Likes 0 ·
Show more comments