Jump to content

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


ArturDCS

Recommended Posts

I noticed recently that BARO_ALT_VALUE for the Gazelle was not providing a very accurate altitude. I thought it used to be correct, but no longer (??). Anyway, I did the calculations to get an accurate reading from BARO_ALT_THOUSANDS. Here is the Formula you can use. Just paste this into one of the LCD Data fields for the Multi-Panel.

 

Ifless (BARO_ALT_THOUSANDS 23311 (Ifless (BARO_ALT_THOUSANDS 16626  (Ifless (BARO_ALT_THOUSANDS 13350    (Ifless (BARO_ALT_THOUSANDS 9942     (Ifless (BARO_ALT_THOUSANDS 3408     (round((BARO_ALT_THOUSANDS-((BARO_ALT_THOUSANDS*0.039860)-19))*0.152588))     (round((BARO_ALT_THOUSANDS-111)*0.152588))    ) )     (round((BARO_ALT_THOUSANDS-((BARO_ALT_THOUSANDS*0.04)-287))*0.152588) )   ) )   (round((BARO_ALT_THOUSANDS-242)*0.152588))  ) )  (round((BARO_ALT_THOUSANDS-((BARO_ALT_THOUSANDS*0.02)-92))*0.152588)) ) ) (round((BARO_ALT_THOUSANDS-((BARO_ALT_THOUSANDS*(-0.04))+1304))*0.152588)))

 

Here is the same formula but more readable in case you are curious what I did. Make sure you copy and paste the one above into DCSFlightPanels, not the one below!! FlightPanels needs the formula to be all one line.

 

Ifless (BARO_ALT_THOUSANDS 23311
(Ifless (BARO_ALT_THOUSANDS 16626
	(Ifless (BARO_ALT_THOUSANDS 13350 
		(Ifless (BARO_ALT_THOUSANDS 9942 
			(Ifless (BARO_ALT_THOUSANDS 3408
				(round((BARO_ALT_THOUSANDS-((BARO_ALT_THOUSANDS*0.039860)-19))*0.152588))
				(round((BARO_ALT_THOUSANDS-111)*0.152588))
			) )	
			(round((BARO_ALT_THOUSANDS-((BARO_ALT_THOUSANDS*0.04)-287))*0.152588) )
		) )
		(round((BARO_ALT_THOUSANDS-242)*0.152588))
	) )
	(round((BARO_ALT_THOUSANDS-((BARO_ALT_THOUSANDS*0.02)-92))*0.152588))
) )
(round((BARO_ALT_THOUSANDS-((BARO_ALT_THOUSANDS*(-0.04))+1304))*0.152588))
)

 

It is accurate to 4000 meters and close enough above that. Since the curve keeps changing (did you see all those Ifless commands!!), I stopped at 4000 meters because who is going to fly that high anyway, right? :)

 

Well, I did fly up to 8000 meters and it was only 100 or 150 meters off at that point. But I wouldn't trust that assessment. I mean at 8000 meters (26250 feet) the oxygen was so thin that everything was graying out on me (yes DCS does that). So I wouldn't trust that either I or my co-pilot had a clue what altitude we were at, much the less what an altimeter even looks like. :drunk: But it was an epic 8000 meter auto-rotation just for kicks with a socked in cloud layer at 3000 meter too.

 

BTW., RADAR_ALT_VALUE was mostly spot on - a little fluctuation at < 100 meters, but spot on all the way to max (about 850 meters).

 

ArturDCS, not sure if the above formula is useful for you to fix DCS-BIOS's BARO_ALT_VALUE, but if you want to fix it, let me know what you need. I have all the slopes and offsets in an excel spreadsheet if needed.

 

FYI, 0.152588 = 10000/65536 which converts the 0 to 65535 value for BARO_ALT_THOUSANDS to meters. All the other numbers in the formula are slopes and offsets which I had to calculate from the spreadsheet.

Link to comment
Share on other sites

  • 2 weeks later...

Was looking though the Profile list and didn't see the Su-25T listed. Is it not compatible with DCSFP?

 

I did see the DCS included trainer 51 listed, alongside the P-51 but no base Su-25T.

"These are NOT 1 to 1 replicas of the real aircraft, there are countless compromises made on each of them" - Senior ED Member

 

Modules - Damn near all of them (no Christian Eagle or Yak)

System - i7-12700K, 64Gig DDR4 3200 RAM, RTX-3080, 3 32" monitors at 5760 x 1080, default settings of High (minor tweaks)

Link to comment
Share on other sites

Was looking though the Profile list and didn't see the Su-25T listed. Is it not compatible with DCSFP?

 

I did see the DCS included trainer 51 listed, alongside the P-51 but no base Su-25T.

 

DCSFP can be used with the Su-25T, but in keyboard emulation mode only. The Su-25T does not have a clickable cockpit, so there won't be any DCS-BIOS commands available.

 

Hope this helps.

 

Paul

Link to comment
Share on other sites

  • 3 weeks later...

Hi, I need some:helpsmilie:

 

I have several problems to create F-5E-3 binding file on DCSFP Multi panel via DCS-BIOS.

One is about Airspeed Index knob on Airspeed/MachIndicator.

via dcs bios, Airspeed Index knob "controlID IAS_SET" on Airspeed/MachIndicator of F-5E-3 module is completely unreliable.

Variable Step: always moves forward about 15 degrees, regardless of the value. And only goes clockwise.

Set State: acts as variable steps, a value of 1000 means about one degree, which would be good, but only goes clockwise because it can't be configurate Negative number.

This problem seems to be the same issue that "mmorselli" had posted before. count#1143.

 

 

Another issue is Airspeed formula for LCD data.

I found input/output value line 330&331 in mainpanel_init.lua \SteamLibrary\steamapps\common\DCSWorld\Mods\aircraft\F-5E\Cockpit\Scripts\

I tried to calculate data using Capt Zeen's DCS Flightpanels formula creator, then pasted result data to DCS Flightpanels.

 

 

 

Ifless( AIRSPEED 63700 ( Ifless( AIRSPEED 61734 ( Ifless( AIRSPEED 59571 ( Ifless( AIRSPEED 57474 ( Ifless( AIRSPEED 52494 ( Ifless( AIRSPEED 49872 ( Ifless( AIRSPEED 43777 ( Ifless( AIRSPEED 43122 ( Ifless( AIRSPEED 40271 ( Ifless( AIRSPEED 36241 ( Ifless( AIRSPEED 35389 ( Ifless( AIRSPEED 31588 ( Ifless( AIRSPEED 29458 ( Ifless( AIRSPEED 26017 ( Ifless( AIRSPEED 24543 ( Ifless( AIRSPEED 20840 ( Ifless( AIRSPEED 6554 ( Ifless( AIRSPEED 2851 ( (AIRSPEED*0,02806)+0) ((0,0054*(AIRSPEED-2851))+80))) ((0,0049*(AIRSPEED-6554))+100))) ((0,0054*(AIRSPEED-20840))+170))) ((0,00678*(AIRSPEED-24543))+190))) ((0,00872*(AIRSPEED-26017))+200))) ((0,00939*(AIRSPEED-29458+230))) ((0,01052*(AIRSPEED-31588+250))) ((0,01174*(AIRSPEED-35389))+290))) ((0,01241*(AIRSPEED-36241))+300))) ((0,01403*(AIRSPEED-40271))+350))) ((0,01527*(AIRSPEED-43122))+390))) ((0,01641*(AIRSPEED-43777))+400))) ((0,01907*(AIRSPEED-49872))+500))) ((0,02008*(AIRSPEED-52494))+550))) ((0,02384*(AIRSPEED-57474))+650))) ((0,02312*(AIRSPEED-59571))+700))) ((0,02543*(AIRSPEED-61734))+750))) ((0,02725*(AIRSPEED-63700))+800))

 

However LCD data window only shows "99" in game and It does not change value.

DCSFP's error log says below

 

 

 

04.09.2019 05:13:45 version : 1.0.188.4110

1033494 Custom message = [Evaluate() function]

Jace.ParseException

Unexpected integer constant "40271" found.

場所 Jace.AstBuilder.VerifyResultStack()

場所 Jace.AstBuilder.Build(IList`1 tokens)

場所 Jace.CalculationEngine.BuildAbstractSyntaxTree(String formulaText)

場所 Jace.CalculationEngine.Calculate(String formulaText, IDictionary`2 variables)

場所 DCS_BIOS.DCSBIOSOutputFormula.Evaluate()

 

 

 

If anyone can figure out the solution about my problem,please reply.

Thanx for reading this to the end.:thumbup:

Link to comment
Share on other sites

@Mai

 

The IAS Set for the F-5 is now fixed. Problem was in BIOS file.

I Change it from Potentiometer to a rotary and problem is fixed.

This will included in the next Release of DCS BIOS

 

with the formular i cant help you. But there are some Good Profiles a the github. (See link in my sig). maybe ther is something that helps you

Link to comment
Share on other sites

Thank you, BlackLibrary.

I copied your fixed line in F-5E-3.lua to my lua file. The IAS Set knob is work fine both CW/CCW side.

 

About Airspeed formula, I replaced ".(Decimal point)"in stead of ",(comma)" for fomula.

That makes nomore error in log "Unexpected integer constant "40271" found.", but LCD shows still incorrect speed value, different a few hundred knot from instrument in cockpit.

I'll try to find better formula when I have enouth time to do.

 

Thank you for giving me a hand.thumbup.gif

 

Mai

Link to comment
Share on other sites

  • 1 month later...

Bug Report from DCSFP

DCS Installation : DCS World OpenBeta
DCS Module : FA-18C_hornet
Saitek Panel : PZ55 Switch Panel
Has it worked before? : Yes
DCS-BIOS Status? : Works fine
Is this DCS-BIOS related? : No

Related cockpit control/device/gauge? : No

 

 


 

 

Key bindings seem to be held down when activated using DCSFlightpanels_x64_3.6.51. Works fine with DCSFlightpanels_x64_3.6.17.

OS: Windows 10 64-bit | CPU: Intel i7-7700K @4.2GHz | GPU: EVGA GeForce GTX 1080 Ti Founders 11GB | RAM: G-Skill 16GB (2x8GB) DDR4/3600MHz | SSD: 480gb Corsair HyperX | MoBo: EVGA Z270 Stinger | Oculus Rift | HOTAS Warthog

Link to comment
Share on other sites

  • 2 weeks later...

I'm having issues installing DCS-BIOS and getting it to work. Attached is my error log. What did I do wrong?

 

FIXED......

DCSFlightpanels_error_log.txt


Edited by jcbak

[sIGPIC][/sIGPIC]WIN 10, i7 10700, 32GB DDR4, RTX 2080 Super, Crucial 1TB SSD, Samsung EVO 850 500GB SSD, TM Warthog with 10cm extension, TIR5, MFG Crosswind Pedals, Wheelstand Pro, LG 40" 4K TV, Razer Black Widow Ultimate KB[/size]

Link to comment
Share on other sites

  • 1 month later...

Even I can't get DCS-BIOS to work, DCSFP works well in key emulation mode but, although DCS-BIOS is installed in the correct directory and I don't get error messages, it doesn't work ...

With the app for chrome says that DCS fails to connect.

I do not know what to do

 

Thanks for the help

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

So, I tried other profiles and DCS-BIOS works (I downloaded another version, not the one directly linked on the first page of this post)

I think the problem is the MOD MB-339 because through the Control Reference Live Preview I see a signal when I click the cockpit while there is no response with the logitech switch panel.

I see in the user guide that needed a tester for MB-339 and Yak-52, I can see how the Yak behaves

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

  • 3 weeks later...

hey everyone, im new to all this and have just started with the f18 but need help with formulas. i can set them and understand that you need to use a slope but with the heading it is 6 degrees off, i know this is due to true N and mag N but how do i change it so it displays the same as the hud/hsi and if anyone has or knows where i can get some predone formulas for the f18 that would help alot. thanks

Link to comment
Share on other sites

  • 4 weeks later...

Are you able to use multiple radio panels or did I read the statement that your limited to a single radio panel because it is configured by dcsfp?

BlackeyCole 20years usaf

XP-11. Dcs 2.5OB

Acer predator laptop/ i7 7720, 2.4ghz, 32 gb ddr4 ram, 500gb ssd,1tb hdd,nvidia 1080 8gb vram

 

 

New FlightSim Blog at https://blackeysblog.wordpress.com. Go visit it and leave me feedback and or comments so I can make it better. A new post every Friday.

Link to comment
Share on other sites

Thanks bad I’m use to two one for comm one for nav. I’m using you video as a motivational tool for my vrpit using switches during startup and as needed in the hood my Speedmaster flightseat has a shelf off each hip I’m going to put the saitek pals on the right as the left has my collective, warthog throttle and cougar throttle on it.

BlackeyCole 20years usaf

XP-11. Dcs 2.5OB

Acer predator laptop/ i7 7720, 2.4ghz, 32 gb ddr4 ram, 500gb ssd,1tb hdd,nvidia 1080 8gb vram

 

 

New FlightSim Blog at https://blackeysblog.wordpress.com. Go visit it and leave me feedback and or comments so I can make it better. A new post every Friday.

Link to comment
Share on other sites

I just started using this and I'm having trouble in the JF-17. Using DCS-BIOS, I cannot get the switches to toggle. So far I've tried it with the AA/AG and Landing Gear switches and they do not seem to work. I did manage to get the lights to change with the landing gear state so it is not a connection problem, I don't think.

 

Also, I managed to get the landing gear to work in the F-18 so I'm not sure what I'm doing wrong. Any help would be greatly appreciated, thanks!

Link to comment
Share on other sites

Bug Report from DCSFP

DCS Installation : DCS World OpenBeta
DCS Module : MiG-15bis
Saitek Panel : PZ55 Switch Panel
Has it worked before? : No
DCS-BIOS Status? : Works fine
Is this DCS-BIOS related? : No

Related cockpit control/device/gauge? : Yes

 

 


 

 

The control panel is not sending the correct DCS_BIOS commands for the Mig 15bis.  For instance;

Setting L_CANOPY_LEVER actually sets EXT_LIGHTS.

Consequently, trying to set things like Gear Down and Up via DCS_BIOS within DCSFP for the PZ55 do not work.

I can see that with the Chrome DCS_BIOS App that the DCS_BIOS is correct as correct values are being sent when I manipulate switches in the cockpit.

Processor : Intel Core i7 7800X (3.8 - 4.2 GHz) . Motherboard : ASUS TUF X299 . Memory : 16Gb DDR4 1333 . Graphics : NVIDIA GeForce RTX 2080 Super (+100 CC +700 MC) . Install : DCS on 500Gb SSD . Screen : 3440 x 1440 display with GSYNC . Control : TM Warthog HOTAS, CH Pro Pedals, Naturalpoint Track-IR . Software : VoiceAttack with VAICOM Pro, DCS BIOS

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...