DCSFlightpanels (DCSFP) thread. Saitek Pro Flight Panels & DCS - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 01-17-2015, 06:22 AM   #1
ArturDCS
Member
 
ArturDCS's Avatar
 
Join Date: Dec 2013
Location: Kaarina, Finland
Posts: 537
Default DCSFlightpanels (DCSFP) thread. Saitek Pro Flight Panels & DCS

This application enables you to use the following Saitek / Logitech Pro Flight Panels with Digital Combat Simulator :
  • Switch Panel (PZ55) (DCS-BIOS & KeyEmulator**)
  • Multi Panel (PZ70) (DCS-BIOS & KeyEmulator**)
  • TPM (key emulator / DCS-BIOS)
  • Radio Panel (PZ69) (DCS-BIOS & KeyEmulator** & KeyEmulator_SRS*** )
  • Back Lit Information Panel (BIP)
DCSFlightpanels supports Simple Radio Standalone (PZ69 Radio Panel).


!! Comprehensive tutorial on key emulation using DCSFP
!! Comprehensive tutorial on DCS-BIOS & DCSFP
!! Comprehensive tutorial on using formulas + DCS-BIOS & DCSFP



Using DCSFlightpanels as a key emulator it can be used in almost any game like :
  • Elite Dangerous
  • War Thunder
  • Flaming Cliff Series
  • IL-2
You can use several panels of the same type and have different mappings on each except Radio Panel which is fully programmed by DCSFlighpanels

** LCD data from the game can not be shown in key emulator mode.
***Simple Radio Standalone can be controlled with PZ69 Radio Panel when using mode KeyEmulator_SRS.

Project homepage. Downloads.

--------------------------------------------------------------------------------------------------------------------------------------------------------
Installation
--------------------------------------------------------------------------------------------------------------------------------------------------------
  • Unzip the files into the folder where you want to keep the program.
  • You start the application by executing DCSFlightpanels.exe
  • Problems? Try running DCSFlightpanels as "Administrator".
  • You do not need any additional drivers

--------------------------------------------------------------------------------------------------------------------------------------------------------
Short v2.0 A-10C demo video, dito UH-1H video.
--------------------------------------------------------------------------------------------------------------------------------------------------------


--------------------------------------------------------------------------------------------------------------------------------------------------------
Updating the application
--------------------------------------------------------------------------------------------------------------------------------------------------------
Unzip new version over the old.
If for some reason the profile files are changed, i.e. the structure in which the data is stored, delete or rename the old ones and create new profile files. I won't make it backward compatible etc, it takes only a few min to make a profile. New profile format will not happen often if at all anymore. (Just in case it happens)


--------------------------------------------------------------------------------------------------------------------------------------------------------
Links

--------------------------------------------------------------------------------------------------------------------------------------------------------
Saitek Switch Panel Template for DCSFlightpanels
Custom Saitek B.I.P. Tiles for DCSFlightpanels

--------------------------------------------------------------------------------------------------------------------------------------------------------
Important notes
--------------------------------------------------------------------------------------------------------------------------------------------------------
When opening the external text editor by clicking the button for the first time you get the the dialog "Windows can't open this file" dialog. That is because Windows is not familiar with the file type "*.bindings". What you do is click "Select a program from a list of installed programs" and click "OK".
From the next dialog choose "Notepad" and click "OK". This way Windows knows what to use next time you want to open a profile file.


--------------------------------------------------------------------------------------------------------------------------------------------------------
IMPORTANT REGARDING DCS-BIOS!
--------------------------------------------------------------------------------------------------------------------------------------------------------
DCSFlightpanels communicates with DCS using DCS-BIOS, the brainchild of [FSF]Ian. [FSF]Ian has been very helpful in answering questions and helping out during the development process. His contribution to DCS will change the user experience from now on for a lot of us. If you get the chance then say "thanks" and give him some positive rep!

Learn to use the DCS-BIOS Control Reference Page (CTRL-REF Page)!
With this you will be able to see the actual output of DCS-BIOS for your airframe. You can easily browse the controls, examine the behavior and from there get new takes on how to configure DCSFlightpanels.

  1. Install Google Chrome
  2. Chrome -> "Settings" -> "More Tools" -> "Extensions", check "Developer mode"
  3. Click "Load unpacked extension..." and choose your "C:\Users\<username>\Saved Games\DCS\Scripts\DCS-BIOS\doc" folder
  4. A new extension "DCS-BIOS Control Reference Live Preview"
    will be visible under "Apps".
  5. Exit "Settings"
  6. Click "Apps". Your DCS-BIOS extension be there. From there you can see the controls change as you fly and manipulate the cockpit. Remember to refresh the page if you restart a mission so that Chrome gets a new connection to DCS-BIOS.

Last edited by ArturDCS; 08-09-2018 at 07:56 PM. Reason: Changing subject
ArturDCS is offline   Reply With Quote
Old 01-17-2015, 06:25 AM   #2
ArturDCS
Member
 
ArturDCS's Avatar
 
Join Date: Dec 2013
Location: Kaarina, Finland
Posts: 537
Default

Do you need help? DCSFlightpanels not working as it should?
There are several people around that can and will help. Please help them in turn by providing from start enough information so they can narrow the problem down as quickly as possibly.
  • Specify your operating system, Windows 7, 8, 8.1, 10?
  • Post your DCSFP error log (as attachment or in [CODE] tags)
  • Post your profile or those lines that are (if) relevant (as attachment or in [CODE] tags)
  • Be as specific as possible when asking for help
  • Did it use to work? What has changed?
  • Do you have DCS-BIOS installed? Can you use the DCS-BIOS Control Reference page (see first post)
  • If *asked* turn on DCSFP "Debug On" and "Debug to file" and post the debug file
  • Close down DCS, delete all logs under C:\Users\<user>\Saved Games\DCS\Logs => restart DCS and post dcs.log and dcs-bios.log
Attached Thumbnails
Click image for larger version

Name:	111.png
Views:	871
Size:	385.1 KB
ID:	181203  

Last edited by ArturDCS; 03-18-2018 at 12:43 PM.
ArturDCS is offline   Reply With Quote
Old 01-17-2015, 11:48 AM   #3
ArturDCS
Member
 
ArturDCS's Avatar
 
Join Date: Dec 2013
Location: Kaarina, Finland
Posts: 537
Default

I am posting information about the data going to and coming from the panels. It might help someone else doing something similar. I have used USBlyzer to sniff the USB traffic to and from the panels and I have also sniffed Saitek's own software.

Switch Panel PZ55 sends 3 bytes representing all the switches and knobs, levers.
0 = Off
1 = On
Code:
Byte #1
00000000
||||||||_ SWITCHKEY_MASTER_BAT
|||||||_ SWITCHKEY_MASTER_ALT
||||||_ SWITCHKEY_AVIONICS_MASTER
|||||_ SWITCHKEY_FUEL_PUMP
||||_ SWITCHKEY_DE_ICE
|||_ SWITCHKEY_PITOT_HEAT
||_ SWITCHKEY_CLOSE_COWL ** ~
|_ SWITCHKEY_LIGHTS_PANEL

Byte #2 
00000000
||||||||_ SWITCHKEY_LIGHTS_BEACON
|||||||_ SWITCHKEY_LIGHTS_NAV
||||||_ SWITCHKEY_LIGHTS_STROBE
|||||_ SWITCHKEY_LIGHTS_TAXI
||||_ SWITCHKEY_LIGHTS_LANDING
|||_ KNOB_ENGINE_OFF
||_ KNOB_ENGINE_RIGHT
|_ KNOB_ENGINE_LEFT

Byte #3
00000000
||||||||_ KNOB_ENGINE_BOTH
|||||||_ KNOB_ENGINE_START
||||||_ LEVER_GEAR_UP
|||||_ LEVER_GEAR_DOWN
||||_ 
|||_ 
||_ 
|_
Setting the LED lights on Switch Panel PZ55. One byte with one byte report header (0x0)
Code:
LED Byte:
* 00000000 0x0 ALL DARK
* 
* 00000001 0x1 UP GREEN
* 00001000 0x8 UP RED
* 00001001 0x9 UP YELLOW
* 
* 00000010 0x2 LEFT GREEN
* 00010000 0x10 LEFT RED
* 00010010 0x12 LEFT YELLOW
* 
* 00100000 0x20 RIGHT RED
* 00000100 0x4 RIGHT GREEN
* 00100100 0x24 RIGHT YELLOW
B.I.P. bits.

Code:
Header = 0xb8
Payload 6 bytes (48 bits)

Byte #1 (Upper row)
00000000
||||||||_ Leftmost GREEN, YELLOW when Byte #4 same bit is &
|||||||_ 
||||||_ 
|||||_ 
||||_ 
|||_ 
||_ 
|_ Rightmost GREEN, YELLOW when Byte #4 same bit is &

Byte #2 (Middle row)
00000000
||||||||_ Leftmost GREEN, YELLOW when Byte #5 same bit is &
|||||||_ 
||||||_ 
|||||_ 
||||_ 
|||_ 
||_ 
|_ Rightmost GREEN, YELLOW when Byte #5 same bit is &

Byte #3 (Lower row)
00000000
||||||||_ Leftmost GREEN, YELLOW when Byte #6 same bit is &
|||||||_ 
||||||_ 
|||||_ 
||||_ 
|||_ 
||_ 
|_ Rightmost GREEN, YELLOW when Byte #6 same bit is &

Byte #4 (Upper row)
00000000
||||||||_ Leftmost RED when not same bit in Byte #1 set
|||||||_ 
||||||_ 
|||||_ 
||||_ 
|||_ 
||_ 
|_ Rightmost RED when not same bit in Byte #1 set

Byte #5 (Middle row)
00000000
||||||||_ Leftmost RED when not same bit in Byte #2 set
|||||||_ 
||||||_ 
|||||_ 
||||_ 
|||_ 
||_ 
|_  Rightmost RED when not same bit in Byte #2 set

Byte #6 (Lower row)
00000000
||||||||_ Leftmost RED when not same bit in Byte #3 set
|||||||_ 
||||||_ 
|||||_ 
||||_ 
|||_ 
||_ 
|_  Rightmost RED when not same bit in Byte #3 set
Radio Panel PZ69

Information for writing on the LCD displays. (20 bytes with a header byte (0x0).)
Code:
1 byte (header byte 0x0)
5 bytes upper left LCD
5 bytes upper right LCD
5 bytes lower left LCD
5 bytes lower right LCD

0x01 - 0x09 displays the figure 1-9
0xD1 - 0xD9 displays the figure 1.-9. (figure followed by dot)
0xFF -> blank, nothing is shown in that spot.
Input Report (3 bytes)
Code:
Byte #1
00000000
||||||||_ COM1 (upper) 
|||||||_ COM2 (upper)
||||||_ NAV1 (upper)
|||||_ NAV2 (upper)
||||_ ADF (upper)
|||_ DME (upper)
||_ XPDR (upper)
|_ COM1 (lower) **!!!**!!!***!!!

Byte #2
00000000
||||||||_ COM2 (lower) 
|||||||_ NAV1 (lower)
||||||_ NAV2 (lower)
|||||_ ADF (lower)
||||_ DME (lower)
|||_ XPDR (lower)
||_ Switch (upper)
|_ Switch (lower)

Byte #3
00000000
||||||||_ Little (+freq) (upper)
|||||||_ Little (-freq) (upper)
||||||_ Big (+freq) (upper)
|||||_ Big (-freq) (upper)
||||_ Little (+freq) (lower)
|||_ Little (-freq) (lower)
||_ Big (+freq) (lower)
|_ Big (-freq) (lower)
Multi Panel PZ70
Sends 3 bytes when switching occurs.

Code:
Byte #1
00000000
||||||||_ KNOB_ALT
|||||||_ KNOB_VS
||||||_ KNOB_IAS
|||||_ KNOB_HDG
||||_ KNOB_CRS
|||_ LCD WHEEL INC 
||_ LCD WHEEL DEC
|_ AP_BUTTON

Byte #2
00000000
||||||||_ HDG_BUTTON
|||||||_ NAV_BUTTON
||||||_ IAS_BUTTON
|||||_ ALT_BUTTON
||||_ VS_BUTTON
|||_ APR_BUTTON
||_ REV_BUTTON
|_ AUTO THROTTLE

Byte #3
00000000
||||||||_ FLAPS UP 
|||||||_ FLAPS DOWN
||||||_ PITCH TRIM DOWN
|||||_ PITCH TRIM UP
||||_ 
|||_ 
||_ 
|_
Bytes sent to the PZ70:
1 Report ID byte(0x0) + 11 payload bytes
Code:
h p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11
|  |  |  |  |  |  |  |  |  |  |  |_ Lights LCD buttons on/off (LCD Button Byte)
|  |  |  |  |  |  |  |  |  |  |_ Rightmost number on lower LCD row (0x0-0x9, 0xA above will darken the digit position, except 0xEE which will show a dash)
|  |  |  |  |  |  |  |  |  |_ 
|  |  |  |  |  |  |  |  |_ 
|  |  |  |  |  |  |  |_ 
|  |  |  |  |  |  |_ Leftmost number on lower LCD row (0x0-0x9, 0xA above will darken the digit position, except 0xEE which will show a dash)
|  |  |  |  |  |_ Rightmost number on upper LCD row (0x0-0x9, 0xA above will darken the digit position)
|  |  |  |  |_ 
|  |  |  |_ 
|  |  |_ 
|  |_ Leftmost number on upper LCD row (0x0-0x9, 0xA above will darken the digit position)
|_ Report ID byte, always 0x0

The leftmost text in the display is set by the panel itself when it receives feature data.
"ALT / VS"
"IAS"
"HDG"
"CRS"

The panel limits which digit can be displayed depending on which mode is selected.

ALT / VS : p1 - p10
IAS : p4 - p6
HDG : p4 - p6
CRS : p4 - p6

LCD Button Byte
00000000
||||||||_ AP_BUTTON
|||||||_ HDG_BUTTON
||||||_ NAV_BUTTON
|||||_ IAS_BUTTON
||||_ ALT_BUTTON
|||_ VS_BUTTON
||_ APR_BUTTON
|_ REV_BUTTON
TPM (only toggle switches) first 3 bytes for TPM rods.
Code:
Byte 4:
00000000
||||||||_ 
|||||||_ 
||||||_
|||||_ G1
||||_ G2
|||_ G3
||_ G4
|_ G5


Byte 5:
00000000 
||||||||_ G6
|||||||_ G7
||||||_ G8
|||||_ G9
||||_
|||_
||_
|_
FIP (through Saitek's DirectOutput.dll)

Code:
Side buttons from top to bottom:
0x20
0x40
0x80
0x100
0x200
0x400

Left knob:
counterclockwise 0x10
clockwise 0x8

Right knob:
counterclockwise 0x4
clockwise 0x2

Last edited by ArturDCS; 12-27-2015 at 06:47 PM. Reason: Added PZ70 information
ArturDCS is offline   Reply With Quote
Old 01-21-2015, 07:56 AM   #4
Nirvi
ED Translator / Moderator
 
Nirvi's Avatar
 
Join Date: Dec 2011
Location: Switzerland
Posts: 1,549
Default

Saw this thread and ordered the Saitek Pro Flight Panel
Will report back as soon as I tested it, thanks for your work!
Nirvi is offline   Reply With Quote
Old 01-21-2015, 08:14 AM   #5
Highwayman-Ed
Senior Member
 
Highwayman-Ed's Avatar
 
Join Date: Nov 2005
Location: Melbourne, Australia
Posts: 1,333
Send a message via AIM to Highwayman-Ed
Default

Great Job Artur, how close are the radios, I'll order both if I can get those working!
__________________

Intel i7-7700k @4.8GHz
MSI Z270 Gaming Carbon Pro
32GB G.Skill Trident DDR3200 RAM
MSI 11GB GTX1080ti Founders Edition
40" Panasonic TH-40DX600U @ 4K
Oculus Rift CV1
Gametrix JetSeat with SimShaker
Windows 10 64 Bit Home Edition


Highwayman-Ed is offline   Reply With Quote
Old 01-21-2015, 10:13 AM   #6
ArturDCS
Member
 
ArturDCS's Avatar
 
Join Date: Dec 2013
Location: Kaarina, Finland
Posts: 537
Default

Quote:
Originally Posted by Highwayman-Ed View Post
Great Job Artur, how close are the radios, I'll order both if I can get those working!
Both what? I think I will have a stable version within a month. BIP, radio and multi panel included with multi panel support. I am coding every evening and all weekends, lucky having an understanding wife.
The code is very much different. Still question marks which I have to sort out with [FSF]Ian. But progressing.
ArturDCS is offline   Reply With Quote
Old 01-21-2015, 10:03 PM   #7
Highwayman-Ed
Senior Member
 
Highwayman-Ed's Avatar
 
Join Date: Nov 2005
Location: Melbourne, Australia
Posts: 1,333
Send a message via AIM to Highwayman-Ed
Default

Sorry, I meant both panels from saitek, and I'll be sure to throw a donation at you
__________________

Intel i7-7700k @4.8GHz
MSI Z270 Gaming Carbon Pro
32GB G.Skill Trident DDR3200 RAM
MSI 11GB GTX1080ti Founders Edition
40" Panasonic TH-40DX600U @ 4K
Oculus Rift CV1
Gametrix JetSeat with SimShaker
Windows 10 64 Bit Home Edition


Highwayman-Ed is offline   Reply With Quote
Old 01-26-2015, 10:20 AM   #8
f15scorpion
Junior Member
 
f15scorpion's Avatar
 
Join Date: Apr 2013
Posts: 7
Default

I would like to thanks you for all this hard work that you are putting into the Saitek SAGA

I have been running your V1 since it came out and it is a Gem .

Was unable to update to V5 even after replacing all the files into the same folder than original.

I am not sure why but , V1 is all Good , put v7 is giving a no go.

Thanks if you have some tips...

Best Regards

Scorpion
f15scorpion is offline   Reply With Quote
Old 01-26-2015, 10:52 AM   #9
ArturDCS
Member
 
ArturDCS's Avatar
 
Join Date: Dec 2013
Location: Kaarina, Finland
Posts: 537
Default

Quote:
Originally Posted by f15scorpion View Post
I would like to thanks you for all this hard work that you are putting into the Saitek SAGA

I have been running your V1 since it came out and it is a Gem .

Was unable to update to V5 even after replacing all the files into the same folder than original.

I am not sure why but , V1 is all Good , put v7 is giving a no go.

Thanks if you have some tips...

Best Regards

Scorpion
Did you delete the LibUSB driver that the first version used? No extra driver is needed now. It uses the vanilla Windows HID driver.
So if your panel is under the older driver then delete it.

Check this post.

Last edited by ArturDCS; 01-26-2015 at 12:43 PM.
ArturDCS is offline   Reply With Quote
Old 01-30-2015, 09:58 AM   #10
Darkwolf
Senior Member
 
Darkwolf's Avatar
 
Join Date: Jul 2012
Location: Belgium
Posts: 1,514
Default

Oh great job, i was about to destroy my saitek panels to put regular USB wiring instead of saitek wiring.
Darkwolf is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 05:53 PM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.