Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Any one Have sample code to send & reserved data from ISL

Status
Not open for further replies.

ExJoice

Technical User
Nov 6, 2017
13
ID
any one have sample code to Send Reserved data sending using ISL, in C# or C
 
The ISL manual comes with a sample SIM server. It's TCP communications with a very simple packet structure.
One doesn't usually send to SIM without first receiving a request from one of the terminals--unless the terminal is sitting in the "RxMessage" state, it won't actually do anything. If you are trying to get terminals to perform work, then you can use their "idle" message as a trigger to send them something to do.

It's relatively easy to set up the SIM server--just be sure to fork a new thread for every connection you get on the SIM server so that all communications are non-blocking for other terminals / each terminal can communicate without having to wait for any other terminals to have their messages processed before continuing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top