question

kauan pedroso avatar image
0 Likes"
kauan pedroso asked kauan pedroso edited

Consume the time of a list

Eu tenho um modelo onde gostaria de obter a diferença de horário do globaltable1 e usá-lo no robô e globaltable2 usá-lo no processador1. Quando acabo de obter os dados do globaltable1, ele funciona no robô, mas os dois não funcionam juntos. como faço para consumir as duas tabelas juntas.

1680798630043.png

1680798672251.png

1680798709785.png


FlexSim 21.2.4
global tablesql querysql serverbase dados
1680798630043.png (16.5 KiB)
1680798672251.png (8.3 KiB)
1680798709785.png (8.5 KiB)
· 1
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 @kauan pedroso, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered

Why can't you just change the scripts to refer to GlobalTable2 instead of GlobalTable1? Or have it contain the code for both tables?

· 2
5 |100000

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

kauan pedroso avatar image kauan pedroso commented ·

Hello @Jason Lightfoot

That's what I did, I changed the scripts to globaltable 2 and the values changed everything to 1 second every cycle.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ kauan pedroso commented ·

If you did, you should get this for GlobalTable2:

1680813228447.png

0 Likes 0 ·
1680813228447.png (30.4 KiB)