Free Condor Instruments
     
 
Free Condor Instruments.
User Manual.
 
     
 

Free Condor Instruments suite is the set of programs which displays Condor instruments panel on the same or remote computer using UDP output of Condor. Main application of the suite is FreeCondorInstruments.exe, which is standalone DirectX-based program and doesn't require installation in the system - just unpack provided archive to any folder and launch this program.

The target architecture is the following:

  • Condor and UDPSender (optional) sends UDP data to the host/port specified in the UDP.ini file located in the Condor installation folder.
  • FreeCondorInstruments located at the specified host intercepts UDP stream and draws Condor instruments panel on the computer screen.
  • If UDP data forwarding is enabled then FreeCondorInstruments together with drawing instruments panel forwards received data to another host/port.
  • Next instance of FreeCondorInstruments can forward UDP data further, etc.
This architecture allows to draw practically unlimited number of instruments panels on some number of computers connected via LAN. For example it can draw two (different) panels in the twin cockpit and some number of panels for spectators on the external computer(s).

To run two instances of FreeCondorInstruments on the same computer it is needed to duplicate this software to another folder and perform configuration of each instance in it's own ini-file.

Forwarding as well as host/port are specified in the [Connection] section of FreeCondorInstruments.ini file located in the same folder as FreeCondorInstruments.exe. Appearance of each instruments panel is also configured in the FreeCondorInstruments.ini file and so in general all panels may have different devices of different scale on different places.

Program intercepts UDP output of Condor and so UPD output should be enabled. To do this locate UDP.ini file in the Condor folder and set the following values there:


[General]
Enabled=1

[Connection]
;If FreeCondorInstruments.exe running on the same
;computer then Host must be 127.0.0.1
Host=<IP>
Port=55278

[Misc]
;Value 25 is good enough. Nevertheless it can be changed
;according to user preferences of hardware configuration
SendIntervalMs=25
;ExtendedData and LogToFile can be any.
ExtendedData=0;
LogToFile=0

FreeCondorInstruments.exe has the following keyboard shortcuts:

  • Alt+F4 or Ctrl+Q - exit program
  • Ctrl+S - write snapshot of the last received UDP data to the log file.
  • Shift+D - FPS toggle
  • Ctrl+T - instruments test.

Parameters of the program window, displayed devices and their places on the instruments panel are configured in the FreeCondorInstruments.ini file.

UDP output of the current Condor version doesn't include the following data:

  • current MC setting
  • E-vario mode (lift or cruise)
  • Atmosphere pressure displayed on altimeter.
If needed this functionality can be added using specially designed program UDPSender.exe (provided in the suite) and any key hook software compatible with Condor. Both these programs should be placed on the same computer as Condor.

Recommended key hook software is AutoHotKey. This is a free, open-source utility for Windows which is tested with Condor.

Here is the example of the AutoHotkey script for the standard control assignments of Condor:


#MaxThreadsPerHotkey 2

;Should be changed according to the actual path
;of the UDPSender.exe on your computer.
SENDER="C:\Program files\Condor\UDPSender.exe"

#IfWinActive Condor
End::
	Send {End down}
	Sleep 50
	Send {End up}
	Run %SENDER% MC_DOWN
	CondorCloseWait()
	return

#IfWinActive Condor
Home::
	Send {Home down}
	Sleep 50
	Send {Home up}
	Run %SENDER% MC_UP
	CondorCloseWait()
	return

#IfWinActive Condor
RCtrl::
	Send {RCtrl down}
	Sleep 50
	Send {RCtrl up}
	Run %SENDER% LIFT_CRUISE
	CondorCloseWait()
	return

CondorCloseWait()
{
	global CondorCloseWaiting
	if ( CondorCloseWaiting <> "" )
		return
	CondorCloseWaiting = waiting
	WinWaitClose Condor
	Run %SENDER% TERMINATED
}

If you are using non-standard keys for MC Up, MC Down and Lift/Cruise toggle then corresponding sections of the script (End::, Home::, and RCtrl::) should be changed according to your controls settings. For the details how to do this see AutoHotkey help file.

 
     
    FAQ