question

Mumo avatar image
0 Likes"
Mumo asked Jason Lightfoot commented

How to import data from a SQL server in real time ?

Hello,

I am trying to import in real time data from a SQL database.

I can import manually but I can't find anything on how to import in real time the data.

Any help would be appreciated.

Thank you in advance !

FlexSim 21.0.10
realtime data
· 13
5 |100000

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

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Mumo,

Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·
Tim avatar image Tim Jeanette F ♦♦ commented ·

Hello, I would like to know is there a solution to this problem?

0 Likes 0 ·
Logan Gold avatar image Logan Gold ♦♦ Tim commented ·

@Tim, here's how to set up a database connection. Normally, you would import data once before running the model and can use the "Import Automatically On Reset" option to automatically import every time the model is reset.

If you want to have the data imported as needed during the model run, you will need to use the FlexScript functions at the bottom of the page and call them when you want to import data during the model run. This can slow down the model run significantly, though, depending on how often calls are made to the database and how big the database is.

0 Likes 0 ·
Show more comments

0 Answers