question

Massimo C avatar image
0 Likes"
Massimo C asked Arun Kr answered

Can i use the output of a model as source of another model?

Choose One
model connection
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

Arun Kr avatar image
3 Likes"
Arun Kr answered

Hi @Massimo C,

Yes, you can make use of the socket communication to enable this requirement. In this case one model serves as the client and the other as a sever.

Basically, through socket communication, you will be sending strings from one model to another.

Send message to another model, when a flow item goes to it's end point in the model. On receive of the message you can create a flow item, which will act as a source.

you have to use socket commands commands like:

clienconnect(); clientcreate(); clientreceive(); clientsend(); serveraccept(); servercloseconnection(); serverclosemain(); servercreatemain(); serverreceive(); serversend(); socketend();

Here's a sample example provided in the forum.

Regards,

Arun KR

5 |100000

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