question

Aida Chaikh avatar image
0 Likes"
Aida Chaikh asked Phil BoBo answered

Access a model with a DLL

Hello,
I have two models. In the first I use a DLL (when each item finshes the process) to take the item's properties. The items of the second model need this properties to start de second process. How can I pass the second model's reference to access the tree of second model?

Please, @anthony.johnson could you help me?

FlexSim 19.0.0
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

·
Phil BoBo avatar image
2 Likes"
Phil BoBo answered

If you have two models running in two different FlexSim processes, the easiest way to communicate between them would be to write and read flat files.

Other options would include using sockets or pipes.

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.