Jump to content

Saitek X52Pro Mfd and Fip how to home


algerad3

Recommended Posts

Directoutput wrapper

 

Arturo,

Here the wrapper we were talking about is attached.

 

Now, I also want to report that I am getting close to releasing another round of scripts. ( I was hoping to have it done last week but, That thing called life.

 

Just a bit more time and I will have functions and gauges for both devices and most modules ready to show.

 

I will also try to develop a simple guide to creating your own gauges and exporting so anyone can create their own set up ( I can not keep up).

 

I hope to see it out soon.

do-vb6.zip

[sIGPIC][/sIGPIC] CPIAS FOR Saitek:

Saitek Flight instrument panels and X-52 pro mfd scripts for Dcs

 

http://forums.eagle.ru/showthread.php?t=94174

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 513
  • Created
  • Last Reply

Top Posters In This Topic

Gauges for FIP not working, help please.

 

I am not able to get any gauges for the FIP working, please help. I have followed the instructions at http://wiki.super-hornet.com/dcs-world-saitek to the letter, installing lua for windows, deleting all files below the 7zip.dll, copying the 64 bit dlls where the deleted files were, copying saitek.dll (64 bit) into the clibs folder, installing lua for windows 32 bit, copying saitek.dll (64 bit) into the DCS bin folder (and all mods/aircraft/.../bin folders to be sure), copying the Export.lua, saiteka10c; ka50; p51; uh1h lua files into users/me/saved games/dcs/scripts. When I double click on any of the Directoutput A10; Huey; KA50; p51.lua files, a black "cmd.exe" type window appears for a split second then disappears. When I start a mission with any aircraft, I am not getting any gauges appearing on the FIP; only the saitek products cycling display; pressing the up / down switches that usually cycle between different gauges does nothing. If I have not installed / setup or missed something, please inform me of what I need to do to get gauges on the FIP to work. The first time I double clicked on Directoutput Huey.lua, it opened it with Lua Console Standalone Interpreter (.exe) and defaulted to opening with this application; is this correct?

 

Any help in this would be greatly appreciated, great work on getting the FIP to work with DCS.

 

Could you please also link / point me to the newest scripts, gauges, tutorials and anything else I need to get this to work please.

Link to comment
Share on other sites

Megatherion,

That is old, I need to correct that one(the dcs wiki)

try this.

http://forums.eagle.ru/showpost.php?p=2044230&postcount=267

I would start by removing all the lua for windows installs. then follow the guide in the link.

 

Let me know if that works for you.

[sIGPIC][/sIGPIC] CPIAS FOR Saitek:

Saitek Flight instrument panels and X-52 pro mfd scripts for Dcs

 

http://forums.eagle.ru/showthread.php?t=94174

Link to comment
Share on other sites

Got it working

 

I got it working by putting the saitek.dll (32 bit) in the lua32 clib folder and putting the gauges in the saitek direct output folder (which you do not say to do anywhere); I looked at the lua and saw it looking for the gauges in that folder. The huey gauges are not all working- 1: the fuel pressure gauge is just a blank black screen 2: adi is not accurate to the cockpit adi 3: altimeter (pilot) is not working - needles not moving 4: HSI radio compass is not working - not turning, needles not moving 5: gas producer rpm has no needles. Thanks again for all of your hard work on this great project, just looking at all of the code you have done makes me dizzy. If possible, could you make a list of all the gauges for all of the aircraft that are supposedly working 100%, and ones that are still a work in progress; that would help us a lot in reporting bugs to you.

Link to comment
Share on other sites

Just tying up loose ends and wrapping things up. I know it has been a long time since anything new has been released. I think the next release will please many. Hopefully we can clean up this thread and go from "group play/create" to "full functioning scripts and wishlist.

 

Moderators: This thread has gone on for quite awhile and the recent(relevant) information has been obscured. Is there a way ( when I am ready) to remove the old posting and start fresh?

[sIGPIC][/sIGPIC] CPIAS FOR Saitek:

Saitek Flight instrument panels and X-52 pro mfd scripts for Dcs

 

http://forums.eagle.ru/showthread.php?t=94174

Link to comment
Share on other sites

fip with a10c

 

Yesterday i reformatted my drive .... too much junk. I reinstalled lua 5.1, saitek.dll, gauges ecc ecc ... todo bien. My fip works fine except with a10c. This is the output of scite .

"">lua -e "io.stdout:setvbuf 'no'" "Directoutput A-10.lua"

lua: Directoutput A-10.lua:119: bad argument #1 to 'find' (string expected, got nil)

stack traceback:

[C]: in function 'find'

Directoutput A-10.lua:119: in function 'StrSplit'

Directoutput A-10.lua:615: in main chunk

[C]: ?

>Exit code: 1""

 

 

Can someone enlighten me ?? Many thanks to everyone ...

Link to comment
Share on other sites

That's a strange one. t cannot find one of the values from the script.

I currently do not have an old script, hang on for a bit and I will have the new ones out. Right now I am wiring the gauges for the new modules and should be done soon.

[sIGPIC][/sIGPIC] CPIAS FOR Saitek:

Saitek Flight instrument panels and X-52 pro mfd scripts for Dcs

 

http://forums.eagle.ru/showthread.php?t=94174

Link to comment
Share on other sites

I just thought of something.

What I can do is send out what I have created as modules.

Basically, I was trying to get everything done and send as a package but I realized that i could just send things out as an add on unit and describe the features here(on this thread).

This will allow me to focus more on each individual modules and still be able to improve on things without the users having to go through too much grief.

Give me a minute (I have an idea I want to add) and I will start putting up what I have done.

[sIGPIC][/sIGPIC] CPIAS FOR Saitek:

Saitek Flight instrument panels and X-52 pro mfd scripts for Dcs

 

http://forums.eagle.ru/showthread.php?t=94174

Link to comment
Share on other sites

Testers wanted

 

Here it is the first of many.

This is the new format I have been working on.

First up, ignore all of the previous instructions. Here is the new set up routine:

1: Make sure you have "lua for windows" installed. It is free and can be found here :http://sourceforge.net/projects/luaforwindows.mirror/files/latest/download

2: After lua for windows is installed, find the saitek.dll (in the zip files)

and place it in the following folder: C:\Program Files(x86)\Lua32\5.1\clibs.

 

3: To use these scripts, you have to install the Fip drivers. If you only have an X-52Pro, you still need the Fip drivers. If you have both, I am sure you have installed the X-52Pro then the Fip. Drivers are here :http://www.saitek.com/# . I am currently using X52pro :7_0_34_109_64, Fip :7_0_34_109_64

 

4: Now if, go to C:\Program Files\Saitek\DirectOutput. and put the folders A-10 Gauges and TITLE PAGES in the DirectOutput folder. (do not seperate the contents. This is where all the gauges .png files will be located.

 

 

5: Now we move on to User\Saved Games\DCS\Scripts. ( you may have to create that folder.) Insert Export.Lua and saiteka10c.lua into this folder.

 

6: Create a folder on your desktop(name it whatever you want) and insert Saitekstart.luac and DirectoutputA-10.lua. this folder will hold the scripts for other aircraft.

 

 

 

 

 

To start the scripting,double click on CPIAS.luac.

 

 

New : start screen. WHen you start the script you will see a start screen on the fips or "initializing" on the X-52pro. As the script connects to DCS you will see a progress message. When you start the sim you will be alerted to select page/gauge.

After exiting a mission, the script will reopen the socket and allow you to start a new mission without having to restart the script manually.

 

 

Fip pages functions:

 

1 none

2 Test button - press to operate the fuel gauge test. Right knob changes tanks to be read by the gauge.

 

3 none

4 none

5 Flaps - S1 raises flaps, S2 lowers flaps.

6 none

7 none

8 none

9 Altimeter - Right side knob switches from elec/pnue reading, left knob adjust Qnh.

10 none

11 none

12 Gmeter - S1 Gmeter reset

 

 

X52 pro pages functions:

1-4 none

5 Altimeter - scrollwheel changes value.

6 vhf1 - scroll wheel changes values according to line 3 label. press to change selection

7 Vhf2 - same as above.

8 uhf - same as above.

9 Tacan - same as above.

10 Ils - same as above.

 

 

 

:smartass:

CPIAS 1.zip


Edited by algerad3
CHanged name of saitek.lua to CPIAS.lua

[sIGPIC][/sIGPIC] CPIAS FOR Saitek:

Saitek Flight instrument panels and X-52 pro mfd scripts for Dcs

 

http://forums.eagle.ru/showthread.php?t=94174

Link to comment
Share on other sites

Setting things up is a bit easier this time around( I hope).

Fip owners:

Do not forget to adjust the timing of the saiteka10c script.

at line 273 you will find this : "tNext = tNext + .525" This is the timing I am using for four "test " fips, i have eight and last time I plugged them all in I believe I had to set timing to .685.

 

As you start the script and sim, measure the lag time from the sim and the gauges, also pause the sim and watch the gauges for continued movement.

There is an active print command in the DirectoutputA10c script, if you have more than one monitor;move the lua command screen to a screen as you test and note the readout.

Adjust the timings as low as you can without bogging down the script(hit pause and numbers keep coming). Ideally when you hit pause everything should halt immediately.

With one to two Fips I was able to go as low as .16 (or close to that) up to four I went up about double. Then almost double that with 8. Your rig may differ.

If the scripts crash adjust the timings.

Other scripts are almost ready...Just need to add x52pro stuff.

[sIGPIC][/sIGPIC] CPIAS FOR Saitek:

Saitek Flight instrument panels and X-52 pro mfd scripts for Dcs

 

http://forums.eagle.ru/showthread.php?t=94174

Link to comment
Share on other sites

  • 4 weeks later...

has anyone actually had the MFD built in the Saitek X52 Working correctly without going through bunch of b.s.? Thanx.. I have used Saitek for 15 years, and the last time I tried it only gave me problems... :joystick:

ASUS Strix Z790-H, i9-13900, WartHog HOTAS and MFG Crosswind

G.Skill 64 GB Ram, 2TB SSD

EVGA Nvidia RTX 2080-TI

55" Sony OLED TV, Oculus VR

 

Link to comment
Share on other sites

Once a sending and receiving program is set up , it is not so bad.

The X-52 pro can send and receive directly from the export .lua files using the dll. You just have to set up the data you want to display.

[sIGPIC][/sIGPIC] CPIAS FOR Saitek:

Saitek Flight instrument panels and X-52 pro mfd scripts for Dcs

 

http://forums.eagle.ru/showthread.php?t=94174

Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...

Well back to the land of the living for a short time.

Working on A-10,Bf109,F86F,Fw109,Ka50,MIg15,P51,Mig21.

 

The Huey gauge set and MIl28 needs a lot of love. (Making pilot/copilot set) in anticipation of dual cockpit setups.

 

Also have a few new modules to work on , but only after I get those listed above out.

Hope you have not thrown out your Saitek gear.

[sIGPIC][/sIGPIC] CPIAS FOR Saitek:

Saitek Flight instrument panels and X-52 pro mfd scripts for Dcs

 

http://forums.eagle.ru/showthread.php?t=94174

Link to comment
Share on other sites

  • 2 weeks later...

INCOMING!!!!!!!!!!!

 

For refreshers, here is the install instructions; http://forums.eagle.ru/showpost.php?p=2385283&postcount=336,http://forums.eagle.ru/showpost.php?p=2385297&postcount=337.

 

Now that is out of the way:

There is a new export.lua script had to fix some things.

A new CPIAS.luac. (FORMERLY saitek.lua) Double click to start script.

And Ka 50 gauge set.

The gauges and x52 functions and such are the same as before.

 

Fip pages functions:

1 fuel gauge, S1 to test gauges.

2 Apu operations. S6 to select item to start(selected item lights up) S2,S3,S4 starts labeled item. S5 stops apu.

3 Turbine egt. S1 operating test. S2 stopped test.

4 info only

5 info only

6 Abris functions. functions as labeled

7 info only

8 info only

9 hsi (needs work on the dta digital readout. Knobs for labeled functions. S6 to test. lit buttons indicate mode. press unlit to change mode.

10 radar alt. Right knob to adjust safe alt, s6 to test. a little behind after 150 meters.

11 baro alt left knob adjust pressure setting.

12 info only

13 info only

14 wip. (still, my artistic abilities still looking for me.)

 

 

X-52 pro functions:

1 info only

2 info only

3 info only

4 info only

5 info only

6 radio (r-800 only functions) PRESS right scroll wheel down to change dial control, SCROLL UP or DOWN to change freq values (will figure out and add other radio later)

 

Lights at base of joystick = landing gear status.

 

Export.lua and saitek.lua goes into "User\Saved Games\DCS\Scripts"folder.

Directoutput ka50.lua and CPIAS goes into folder with Directoutputa10c.

Insert KA 50 gauges into " C:\Program Files\Saitek\DirectOutput" folde

CPIAS KA50.zip


Edited by algerad3
clarification

[sIGPIC][/sIGPIC] CPIAS FOR Saitek:

Saitek Flight instrument panels and X-52 pro mfd scripts for Dcs

 

http://forums.eagle.ru/showthread.php?t=94174

Link to comment
Share on other sites

more !!!!!!!

 

Huey gauges inbound....

 

saitekuh1h.lua goes into "User\Saved Games\DCS\Scripts"folder.

Directoutput huey.lua goes into folder with Directoutput.lua's and CPIAS .

Insert Huey gauges into " C:\Program Files\Saitek\DirectOutput" folder.

 

1 turbine info cluster. S6 test fuel gauge.

2 info only

3 info only

4 knob function is as labeled (see below)

5 info only

6 left knob pressure set

7 knobs as labeled, s1,s2,s5,s6 function select. Active function lit.

8 info

9 info

10 knob as labeled

11 info

12 info

 

X-52 functions

All pages radios.

Press right wheel to change control options. Active options appear on line three.

 

I have not had a lot of stick time therefore I do not know all of the systems.

The rmi is one that I did no test fully,I guessed on the Gs and loc lights. Let me know if not correct.

CPIAS HUEY.zip

[sIGPIC][/sIGPIC] CPIAS FOR Saitek:

Saitek Flight instrument panels and X-52 pro mfd scripts for Dcs

 

http://forums.eagle.ru/showthread.php?t=94174

Link to comment
Share on other sites

Again ?????????

 

Double whammy here. P51 and T51.(yea, I know)

Fip functions

pages 1 thru 10 info only

11- reset button marked , functional (press for about 11/2 seconds)

12,13 info only

14 left knob pressure set.

15 course knob marked and working

16 info

17 button start and stop, left knob adjust.

 

X-52 info only ( scrolls)

 

install as above. only one gauge set as they are the same gauges.

CPIAS P51 And T51.zip

[sIGPIC][/sIGPIC] CPIAS FOR Saitek:

Saitek Flight instrument panels and X-52 pro mfd scripts for Dcs

 

http://forums.eagle.ru/showthread.php?t=94174

Link to comment
Share on other sites

Some More??????

 

BF109.

 

X-52 inoperable. Dash is easier to read than the mfd. No real useful functions.

 

FIP:1-4 info only.

5 S1 and S2 on/off select. (another module I have not had stick time with so I was unable to test due to not knowing how to operate)

6 Info

7 Right dial O2 open/close

8 info

9 info

10 Left dial set pressure.

11 Right dial set course.

12 info

13 Clock , knobs and dials marked works as in sim.

 

 

Install as above.

CPIAS BF109.zip

[sIGPIC][/sIGPIC] CPIAS FOR Saitek:

Saitek Flight instrument panels and X-52 pro mfd scripts for Dcs

 

http://forums.eagle.ru/showthread.php?t=94174

Link to comment
Share on other sites

IS it Christmas Time??????

 

FW109.

 

X 52 pro : As above ( sorry)

 

Fip:

1 info

2 S1-S2 indicates chosen fuel source, right dial selects fuel source. S5,S6 low fuel lights.

3 info

4 Right dial O2 on /off

5 Left dial pressure set

6 info

7 right dial course set.

8 clock functions

9 info

10 info

11 info

12 info

13 info

 

Install as above.

CPIAS Fw190.zip

[sIGPIC][/sIGPIC] CPIAS FOR Saitek:

Saitek Flight instrument panels and X-52 pro mfd scripts for Dcs

 

http://forums.eagle.ru/showthread.php?t=94174

Link to comment
Share on other sites

I thought I had the F86f and Mig 21 ready to go. After double checking I found some errors/issues so soon.

 

The other module; MI8 is work in progress.

While the X52 has been a bit neglected(in some planes not really useful) I am looking at what can be incorporated . ( I need to get stick time and learn some of this stuff in the aircraft).

 

That having been said, The last offering for now: the Mig 15. (no x52 functions, again)

 

The radar altimeter is acting funky when you turn it off. When it is on, it works as advertised.

 

Happy flights, I will be devoting time to other endeavors for a bit. :pilotfly:

CPIAS MIG15.zip

[sIGPIC][/sIGPIC] CPIAS FOR Saitek:

Saitek Flight instrument panels and X-52 pro mfd scripts for Dcs

 

http://forums.eagle.ru/showthread.php?t=94174

Link to comment
Share on other sites

Hey algerad

 

Thanks for your amazing work. I recently bought a Flight Instrument Panel but unfortunately I cannot use it in the way you describe it.

I did everything as has written in the installation manual but nothing happens.

 

Also when I add those 3 lines in the file Saitekstart.luac I get no device from the middle function...

 

I have a Saitek X-55 instead of a X-52 Pro and I'm running on Windows 10 64-bit.

 

saitek.Initialize();
print(saitek.GetNumDevices());
saitek.Release();

 

Thanks for your help!

My Mods: DCS User Files

Modules owned: EVERY Module :pilotfly:

Link to comment
Share on other sites

  • Recently Browsing   0 members

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