|
|
#3467485 - 12/03/11 06:43 PM
How do I network 2 PCs, use client for gauges?
|
F22 Air Dominance Project
Member
Registered: 01/01/01
Posts: 1083
|
I've looked at both the Shared Memory Export and EECH CommServer pages on EECH Central, as well as Dick Dastardly's UDPSpeed Installation guide, and I can't get EECH to operate networked. Here are the steps I took: Client PC - Install UDPSpeed for each cockpit available
- Set UDPSpeed.ini to host IP (left port at 10000)
Host PC - Set MEMEXPORT=1 in EECH.ini (and save file)
- Run EECH
- At menu, alt-tab out and run "eechcommudpserver 10000" from command line
Client PC - Run UDPSpeed (cockpit of choice)
I realize I skipped modifying the MFD Extract lines and using MaxiVista; I wanted to get the gauges working first before worrying about the MFDs. Problem is that when I run things in this order I get the UDPSpeed dialog box '"INVALID VERSION" is not a valid floating point value.' If I run UDPSpeed first before loading EECH, the gauges load fine, but never update when in-game. Also, is there any "one-stop shop" that can walk me through how to set this up with the latest builds (I'm assuming we no longer need to use different EXEs, since eechcommudpserver is now included in 1.14)? Thanks in advance,
_________________________
-Home Fries XBL: The Mad Gonzo
The average Naval Aviator, despite the sometimes swaggering exterior, is very much capable of such feelings as love, affection, intimacy, and caring. These feelings just don't involve anyone else.
|
|
Top
|
|
|
|
#3467576 - 12/04/11 12:04 AM
Re: How do I network 2 PCs, use client for gauges?
[Re: HomeFries]
|
Member
Registered: 06/10/05
Posts: 483
|
EECHCommUDPServer.exe is a part of EECH mod installation. It's specific for every version (otherwise Invalid version message will appear). Older tools don't work with newer EECH exes.
|
|
Top
|
|
|
|
#3467704 - 12/04/11 08:02 AM
Re: How do I network 2 PCs, use client for gauges?
[Re: HomeFries]
|
F22 Air Dominance Project
Member
Registered: 01/01/01
Posts: 1083
|
Thanks, FireBird.
I should clarify that I am using the EECHCommUDPServer.exe that was bundled with 1.14.0. The only "old" software I am using is UDPSpeed.
_________________________
-Home Fries XBL: The Mad Gonzo
The average Naval Aviator, despite the sometimes swaggering exterior, is very much capable of such feelings as love, affection, intimacy, and caring. These feelings just don't involve anyone else.
|
|
Top
|
|
|
|
#3467730 - 12/04/11 08:54 AM
Re: How do I network 2 PCs, use client for gauges?
[Re: HomeFries]
|
Member
Registered: 12/13/09
Posts: 288
Loc: Ayrshire, Scotland
|
Hi HomeFries,
I think you've missread Dick Dasdardly's instructions:
According to what I read there you should launch the UDPSpeed set on the client BEFORE you you start EECH on the host. You then alt+tab and run EECHCommserver which should then connect to UDPSpeed.
Finally, alt+tab back to EECH and enjoy !
I use EECHCommserver over a 2 machine network to send the data to SIOC which controls my interface cards. If SIOC is not running when I launch EECHCommserver it doesn't start.
Hope this helps,
Andy
I'm assuming that you have the machines connected with a crossover cable or via a network switch and that they are both on the same subnet.
Edited by AndyB (12/04/11 08:56 AM)
|
|
Top
|
|
|
|
#3467748 - 12/04/11 09:42 AM
Re: How do I network 2 PCs, use client for gauges?
[Re: HomeFries]
|
Member
Registered: 06/10/05
Posts: 483
|
SIOC and UDP are different. SIOC really needs to connect the external server to run, UDP is different.
I don't have UDPSpeed to test, could you please give me your exe and the configuration? I'll check it.
|
|
Top
|
|
|
|
#3468009 - 12/04/11 06:31 PM
Re: How do I network 2 PCs, use client for gauges?
[Re: HomeFries]
|
F22 Air Dominance Project
Member
Registered: 01/01/01
Posts: 1083
|
Gents, Thanks again for the help. AndyB, I did try to run UDPSpeed on the client before running EECH and then EECHCommServer on the host. I was unable to get any gauge updates. I did not include SIOC in my write up because it was not referenced as necessary in DD's instructions, though I did play with it earlier. No matter what I tried, I always got the following message Failed to connect at port 10000 (or whatever I chose) 10061
no handler active to catch thrown object! FireBird, here is a link to the Comanche pit (which includes UDPSpeed). Also, what exactly does SIOC do, and is it something I would find useful given my current ambitions?
_________________________
-Home Fries XBL: The Mad Gonzo
The average Naval Aviator, despite the sometimes swaggering exterior, is very much capable of such feelings as love, affection, intimacy, and caring. These feelings just don't involve anyone else.
|
|
Top
|
|
|
|
#3468143 - 12/05/11 01:42 AM
Re: How do I network 2 PCs, use client for gauges?
[Re: HomeFries]
|
Member
Registered: 12/13/09
Posts: 288
Loc: Ayrshire, Scotland
|
Hi,
Didn't mean to imply that you should have SIOC installed, that's just what I use in my pit.
SIOC is a control language. It allows you to switch outputs in response to IF...THEN type statements. It works best with Opencockpits interface boards (they wrote it), but I believe it also works with others.
IN EECH if I overtorque the engines the light would come on. This data is also exported via EECHCommclient to SIOC.
In SIOC I have a bit of code that says "If variable xx goes to 1 then switch output yy on. As the program is event driven ( nothing happens until a variable changes) it doesn't sit continually polling the inputs and slowing your machine down.
There's obviously more that you can do with it, but that's the basic function.
It's pretty simple once you get the hang of the syntax.
Cheers,
Andy
|
|
Top
|
|
|
|
#3468144 - 12/05/11 01:50 AM
Re: How do I network 2 PCs, use client for gauges?
[Re: HomeFries]
|
Member
Registered: 11/22/05
Posts: 528
Loc: Sterling Heights, Michigan
|
Also, what exactly does SIOC do, and is it something I would find useful given my current ambitions? HomeFries - While both UDP Speed and SIOC utilize the data coming from EECH's shared memory, they serve different masters. - UDP Speed takes the data and uses it to control virtual guages/panels, on a networked PC's monitor. - SIOC takes the data and uses it to control "real" guages, indicators, warning lights, etc, via boards from Opencockpits, on a networked PC. (And of course MaxiVista is used to port the MFDs, to a networked PC.) So, if you want your MFDs on another monitor and the various lamps and indicators to surround them, on a virtual dash....then it's UDP Speed and Maxivista. If you want your MFDs on another monitor and you want to invest in additional controllers and have actual working indicators and such....then it's SIOC and Maxivista. I don't know of anyone that has a setup using all 3. (Although, I don't really see why you couldn't?) My setup uses the latter, so I won't be much help. Sorry!
|
|
Top
|
|
|
|
#3468450 - 12/05/11 01:01 PM
Re: How do I network 2 PCs, use client for gauges?
[Re: HomeFries]
|
F22 Air Dominance Project
Member
Registered: 01/01/01
Posts: 1083
|
Thanks again, guys.
Since I have a networked PC with two auxiliary monitors on each side of my pit, UDP Speed looks like the way to go for me.
Is there a central location that explains how to set everything up with the most recent releases? EECH Central links to SimHQ threads that now come up 404.
_________________________
-Home Fries XBL: The Mad Gonzo
The average Naval Aviator, despite the sometimes swaggering exterior, is very much capable of such feelings as love, affection, intimacy, and caring. These feelings just don't involve anyone else.
|
|
Top
|
|
|
|
#3468471 - 12/05/11 01:35 PM
Re: How do I network 2 PCs, use client for gauges?
[Re: HomeFries]
|
Member
Registered: 06/10/05
Posts: 483
|
I made some tests. EECH and EECHCommUDPServer work exactly as requested. UDPSpeed with the supplied configuration incorrectly requests variable "1" for MFDs - and gets answer "INVALID COMMAND": [R/20/508/509/532/534/535/30/1/1/1/1/1/536/537/516/517/518/519/520/521/519/514/515/501/505/506/507/522/523/527/524/525/526/510/511/512/42/30/32/40/451/453/52/50/20/528/529/531/534] [A/20\11.887537/508\0/509\0/532\0/534\0/535\0/30\56.769932/1\INVALID COMMAND/1\INVALID COMMAND/1\INVALID COMMAND/1\INVALID COMMAND/1\INVALID COMMAND/536\0/537\0/516\0/517\1/518\0/519\0/520\0/521\0/519\0/514\0/515\0/501\0/505\0/506\0/507\0/522\0/523\0/527\1/524\0/525\0/526\1/510\0/511\0/512\0/42\360/30\56.769932/32\7.125157/40\431.589752/451\430.678436/453\80.129745/52\1.009350/50\814.888245/20\11.887537/528\1/529\0/531\0/534\0]
Changing it to "20" get rids of such replies [R/20/508/509/532/534/535/30/20/20/20/20/20/536/537/516/517/518/519/520/521/519/514/515/501/505/506/507/522/523/527/524/525/526/510/511/512/42/30/32/40/451/453/52/50/20/528/529/531/534] [A/20\11.947863/508\0/509\0/532\0/534\0/535\0/30\54.988895/20\11.947863/20\11.947863/20\11.947863/20\11.947863/20\11.947863/536\0/537\0/516\0/517\1/518\0/519\0/520\0/521\0/519\0/514\0/515\0/501\0/505\0/506\0/507\0/522\0/523\0/527\1/524\0/525\0/526\1/510\0/511\0/512\0/42\354/30\54.988895/32\1.097099/40\1236.430298/451\1235.518921/453\80.129745/52\1.028307/50\793.037903/20\11.947863/528\1/529\0/531\0/534\0]
But UDPSpeed becomes to show message box something like ". invalid float". Its log shows "06.12.2011 XX:21:04 Error in data". Very informative. I removed all of "XX XXXX" folders except IAS, VS, BALT, RALT, TIME and run UDPSpeed again. The values appeared and changed according to Comanche movements. Thus, there is a problem in UDPSpeed or in the configuration. Happy bug hunting! If you find that EECHCommUDPServer sends something unexpected - feel free to inform me about this.
|
|
Top
|
|
|
|
#3468736 - 12/06/11 01:45 AM
Re: How do I network 2 PCs, use client for gauges?
[Re: HomeFries]
|
Member
Registered: 11/22/05
Posts: 528
Loc: Sterling Heights, Michigan
|
Is there a central location that explains how to set everything up with the most recent releases? I doubt it. The initial shared memory setup and UPD port was done quite awhile ago. Over several releases it became broken and neglected. Firebird gratiously repaired and expanded it and helped Andy and I get SIOC talking to it, too. But I don't know of anyone recently that's tried UDP Speed with it?.... You may well be the new guinea pig?  If, as Firebird says, the issue is with the UDP Speed configuration, you may want to PM DickDastardly (if he's even still around?) and see if he has any insight. That was his baby, afterall.
|
|
Top
|
|
|
|
#3469174 - 12/06/11 02:17 PM
Re: How do I network 2 PCs, use client for gauges?
[Re: HomeFries]
|
F22 Air Dominance Project
Member
Registered: 01/01/01
Posts: 1083
|
Roger all. I don't know how much time I have to dedicate to the project, but knowing that the problem is on the UDPSpeed end of things should help some. Since FireBird was able to get proper data from some of the gauges, it looks to be fixable at the data level.
Thanks again, guys.
_________________________
-Home Fries XBL: The Mad Gonzo
The average Naval Aviator, despite the sometimes swaggering exterior, is very much capable of such feelings as love, affection, intimacy, and caring. These feelings just don't involve anyone else.
|
|
Top
|
|
|
|
|
|
|
| |