FlexSim Socket Communication Error (Example by Logan Gold)

FlexSim Socket Communication Error (Example by Logan Gold)

robin_brunner
Not applicable
25 Views
3 Replies
Message 1 of 4

FlexSim Socket Communication Error (Example by Logan Gold)

robin_brunner
Not applicable

[ FlexSim 17.1.4 ]

Hello Community,


I tried and tested a lot to get @Logan Gold 's old Socket Example working. I know it's build up with Version 7.4 and I'm using Version 17.1.4, but I thought that would be no big deal.

So I can get the connection between the two FlexSim Instances running (Server and Client). Otherwise the FlexSim Server Instance would be countinuing freezing. But the problem now is that I can't send/receive information between the instances. I tried to debug a lot with Console Printouts and after reading the error messages I found out that the "serverreceive(...)" command is not returning a string. It's a double with "0" in it. In the Command Help is defined that it must be a string executed by FlexScript (and the Script Command Console is only working with FlexScript). So why do I don't get a string with the "Hello World!" message? Maybe someone can test it on his system.

The error message is as in the picture:

7853-flexsimcompilererrorsockets.jpg


Regards Robin

Accepted solutions (1)
26 Views
3 Replies
Replies (3)
Message 2 of 4

Jacob_Gillespie
Autodesk
Autodesk
Message 3 of 4

Jacob_Gillespie
Autodesk
Autodesk
Accepted solution

It looks like this function doesn't return a string anymore since 17.0 when we switched to compiled flexscript.

This is a bug. I'll add it to the dev list.

Message 4 of 4

Jacob_Gillespie
Autodesk
Autodesk

I just fixed this. It will be fixed in FlexSim 17.0.8, 17.1.5, and 17.2.0