Results 1 to 8 of 8
Thread: SIOC server and clients
-
02-15-2011, 04:21 AM #1
SIOC server and clients
I need help to understand how I can run several instances of SIOC where only one instance have direct connection to the software sending&receiving offsets/values (PROSIM737).
There is a option having SIOC clients on other IPs, but how to configure this and where and how to place the different scripts?
Today I run one script for my CDU+f/o EFIS on PC2 and one script for my rev-sim TQ on PC1. I also need to run a script for my overhead some time soon (soon is relative) and if possible, I want to run this from PC3 or at least able to do so.
Any help appreciated.
-
Post Thanks / Like - 1 Thanks, 0 Likes, 0 DislikesPerik thanked for this post
-
02-15-2011, 05:33 AM #2
Re: SIOC server and clients
Hi there,
I have 2 SIOCs running on one PC where instance 1 is reading all hardware and fsuipc offsets at a speed of 50 times per second.
The second instance is reading only fsuipc offsets at a rate of ones every two seconds. The purpose is to have fsuipc offsets available
which change a lot but I do not need to see those changes that fast (ex : planes location).
You just need to enable in the server SIOC instance the client, change in the client SIOC the port number of the serverport and thats it.
If you need more detailed info I can give you tonight when I am home
Greetz PeterFS9+PM+AST+opencockpits
-
02-15-2011, 05:52 AM #3
Re: SIOC server and clients
My wanted solution is somewhat different spreading the different scripts to several computers, but I will remember what your method of spreading load.
I believe I want a solution to a system as on the sketch below. Maybe I have misunderstood how we can use the server option, but I hope it can be done.
-
02-15-2011, 05:59 AM #4
Re: SIOC server and clients
HI
do the sioc script at the TQ have to work together witht he script at the OV? If not then you could treat them bot seperate and connect them via FSUIPC and WIDEFS both to the PC1.
If they have to work together then you need to determine the SIOC with the least logic and the least vars (SIOC2) and connect that one to the SIOC server which connects then to PC1 (SIOC1).
Then you just create in the script of SIOC1 some vars which represent the state from SIOC2. SIOC 2 does some logic on its inputs and changes those
vars on which it has registered in SIOC1.
Greetz PeterFS9+PM+AST+opencockpits
-
02-15-2011, 09:16 AM #5
- Join Date
- Dec 2010
- Location
- Jerez
- Posts
- 58
Re: SIOC server and clients
Hi,
The redesigned driver architecture that the last release of Prosim737 has, allows creating multiple sioc connections as IOCP Server (Go to configuration -> “Drivers”).
I have already tested with the Simcards MMB Ethernet from Sismo Soluciones and using SC-Pascal as server which allows connections through FSUIPC and IOCP (it works similar to Sioc server).
Before this last release, I was obligated to include all the Hardware less MCP/EFIS in the same script server, I mean, Overhead + AFT Ovhd + ATC panel + Fire panel + MIP were included in the same script.
Now, I could separate in multiple SC-Pascal Servers in order to get higher efficiency and separate the different scripts in different computers each one (different IP addresses) offering me more adaptability.
I am testing with the following IOCP Servers (SC-Pascal):
IOCP Server 1. MCP/EFIS
IOCP Server 2. MIP+TQ
IOCP Server 3. FWD Overhead + AFT Overhead
IOCP Server 4. Pedestal + Fire Panel
Simply Great!
-
02-15-2011, 09:21 AM #6
Re: SIOC server and clients
AHA!
I have my pit in pieces due to yoke assembley, so I haven't tested the latest updates, but couldn't stop thinking about how to set things up again when the yokes are ready to be installed.
Thanks a bunch!
-
02-15-2011, 09:51 AM #7
Re: SIOC server and clients
Hi,
The redesigned driver architecture that the last release of Prosim737 has, allows creating multiple sioc connections as IOCP Server (Go to configuration -> “Drivers”).
I have already tested with the Simcards MMB Ethernet from Sismo Soluciones and using SC-Pascal as server which allows connections through FSUIPC and IOCP (it works similar to Sioc server).
Before this last release, I was obligated to include all the Hardware less MCP/EFIS in the same script server, I mean, Overhead + AFT Ovhd + ATC panel + Fire panel + MIP were included in the same script.
Now, I could separate in multiple SC-Pascal Servers in order to get higher efficiency and separate the different scripts in different computers each one (different IP addresses) offering me more adaptability.
I am testing with the following IOCP Servers (SC-Pascal):
IOCP Server 1. MCP/EFIS
IOCP Server 2. MIP+TQ
IOCP Server 3. FWD Overhead + AFT Overhead
IOCP Server 4. Pedestal + Fire Panel
Simply Great!Oscar Cancho - Guadalajara -(Spain)
www.xpandt.com
-
02-15-2011, 10:03 AM #8
Re: SIOC server and clients
Hi,
I am sorry but I dont know anything about SC-Pascal drivers. Let me just shed some light on what SIOC does as a server or as a client
maybe with that info you'll know wether or not it can serve youre purpose.
SIOC is a program containing a database with many variables. Each variable has a value, a script to execute when the value changes and
a list of clients registered to this variable. So when a variable changes value all clients are send this update via the IOCP protocol.
This is actually pure text protocol telling that var x has now value y. This informing a value changes goes two ways. The client has vars defined
as LINK_IOCP with a number. This number corresponds to the var number in the server. So when SIOC starts it reads in the config file the
server address and port. It will then send a register to the server for all vars specified as LINK_IOCP. When the var changes in the server, the client
will know and when the client var changes value it will send this to the server.
So actually you can describe this behavior as a number of vars in the server and in the client which keep synced. Dont forget that a change in var value will trigger the attached script to be executed as well in the server as in the client.
Greetz PeterFS9+PM+AST+opencockpits
Similar Threads
-
Change SIOC server address?
By nax228 in forum I/O Interfacing and HardwareReplies: 2Last Post: 01-03-2011, 05:54 AM -
Notebooks as PM clients ?
By Nick1150 in forum PM General Q & AReplies: 9Last Post: 12-04-2010, 06:14 AM -
Question about controlling clients through server computer via FSUIPC and WideFS
By Per Alm in forum General Builder Questions All Aircraft TypesReplies: 0Last Post: 06-24-2010, 03:04 AM -
Read sioc server offset
By verticallimit in forum I/O Interfacing and HardwareReplies: 5Last Post: 04-09-2010, 06:08 PM -
Re: Wideserver multi clients
By Peter Dowson in forum PM General Q & AReplies: 1Last Post: 01-03-2005, 07:52 AM
KIDS TEEN 9year GIRL DAUGHTER WEBSITE: OPEN IN AN ANONYMOUS BROWSER (the link does not work in...
Offsets for Trottle