Hi @Kavika F
Flexsim is the server, Python is the client
I have 72 parameters to enter
The input source is the information passed by python
But Flexsim can not receive all the information
how to adjust the code ?
Thanks!
Hi @Kavika F
Flexsim is the server, Python is the client
I have 72 parameters to enter
The input source is the information passed by python
But Flexsim can not receive all the information
how to adjust the code ?
Thanks!
Hi @Tuan, was Kavika F'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.
Hi @Tuan, was Kavika F'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.
Hey @Tuan, it seems that it's a problem with the "getInput()" custom code. When you make a call to "serverreceive", your buffersize is only 15, thus why you only get the first few numbers. If you increase that buffersize, it will receive all your input. Just to test it, I set it to 400 and I got your whole message.
7 People are following this question.
FlexSim Socket Communication Error (Example by Logan Gold)
Running experimenter too many times caused it to crash or not run
Binding Flexsim to multiple Python modules
How to connect two clients at the same time when using socket communication?
Step-by-step guide for installing Cplex and use it in Flexsim
© 1993- FlexSim Software Products, Inc. All Rights Reserved.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.