Jump to content
The simFlight Network Forums

buttons & switches cfg not sticking


Recommended Posts

Hello.

I am here to ask for help please with the switches on my overhead panel. I have had these working for some time but for a little while now after a rebuild and the usb positions got mixed up i cant seen to get the button assignments to stay put.

i will try to explain . when i now do the mouse macros for the switches on the overhead panel they all work perfectly until i restart the sim p3d, then all the switches are wrong ?

some don't work at all and some like say aft fuel pump 1 will now switch on the right side window heat . i have tried to do this three time in a row now and im getting no were fast do i have to do some thing that i am missing . i have looked in the user pdf's but to be honest its a bit beyond me i dont realy know what most of it means.

 

This is my way maybe its wrong, first i start p3d then go into fsuipc then the buttons tab i click on make macros in the bottom left then give the macro a name like A OVHD click ok then ok im back in the cockpit now. then i open the 2d panel of the overhead and then click on a switch & type on the green line eg aft fp 1 on that would be aft fuel pump 1 on.

I do this for all the switches on the over head .I dont come out of fsuipc for each switch & then back in again they are all done in one go one after the other. all the switches will work properly at this point however if i close p3d then restart the sim up again all the work just done to map all the switches is undone somhow & jumbled up i must be doing this wrong some how dose any one have an idea what is going on.

thanks

Tim

aka happy but thinking of changing it to sad man :cry:

Link to comment
Share on other sites

I have had these working for some time but for a little while now after a rebuild and the usb positions got mixed up

 

If you have several USB devices it is always best to use the Joy Letters facilities in FSUIPC, so the assignments can be re-matched should the Windows-assigned ID number get changed.

 

What changed in your system between the "some time" it all worked and the time now where it doesn't? That might be a clue.

 

 i cant seen to get the button assignments to stay put.

i will try to explain . when i now do the mouse macros for the switches on the overhead panel they all work perfectly until i restart the sim p3d, then all the switches are wrong ?

 

I don't know of any way the IDs can change unless devices are unplugged and reconnected, or something happens which makes that appear to happen in Windows.

 

Perhaps a good start would be to show me some files -- your FSUIPC4.INI file, which is is the one with your settings, and the FSUIPC4.LOG file, which is the run-time log of FSUIPC's actions. You'll find them in the Modules folder. They are both text files and can be pasted into a message here.

 

Pete

Link to comment
Share on other sites

Hello Sir

Thank you for helping me i think these are the files

Tim

 

cfg file

 

[General]
UpdatedByVersion=4949
History=UIEYVMHUNPQHGXGZZD5QX
InitDelayDevicesToo=No
NewInterceptTextMenu=No
UseSystemTime=No
UseMidMouseBtn=Yes
MouseWheelMove=No
MouseWheelTrim=No
MouseWheelTrimSpeed=1
JoystickTimeout=20
PollGFTQ6=Yes
BlankDisplays=No
FixControlAccel=No
FixMachSpeedBug=No
DeleteVehiclesForAES=Yes
AutoScanDevices=Yes
AssignJoystickIDs=Yes
VisibilityOptions=No
OneCloudLayer=No
CloudTurbulence=No
CloudIcing=No
GenerateCirrus=No
SuppressCloudTurbulence=No
MaxIce=-4
MinIce=-4
UpperWindGusts=No
SuppressWindTurbulence=No
SuppressWindVariance=No
WindTurbulence=No
TurbulenceRate=1.0,5.0
TurbulenceDivisor=20,20,40,40
SuppressAllGusts=No
MaxSurfaceWind=0
WindLimitLevel=200
WindDiscardLevel=400
WindAjustAltitude=No
WindAjustAltitudeBy=2000
SmoothBySimTime=No
WindSmoothing=No
WindSmoothness=2
WindSmoothAirborneOnly=Yes
PressureSmoothness=0
TemperatureSmoothness=0
DisconnTrimForAP=No
ZeroElevForAPAlt=No
ThrottleSyncAll=No
WhiteMessages=No
ShowPMcontrols=No
SpoilerIncrement=512
MagicBattery=No
RudderSpikeRemoval=No
ElevatorSpikeRemoval=No
AileronSpikeRemoval=No
ReversedElevatorTrim=No
ClockSync=No
ClockSyncMins=5
ClearWeatherDynamics=No
OwnWeatherChanges=No
TimeForSelect=4
LoadFlightMenu=No
LoadPlanMenu=No
PauseAfterCrash=No
BrakeReleaseThreshold=75
SaveDataWithFlights=No
ZapSound=firework
ShortAircraftNameOk=Substring
UseProfiles=Yes
EnableMouseLook=No
DelayedMouseLookZoom=No
AxesWrongRange=No
TCASid=Flight
TCASrange=40
AxisCalibration=No
DirectAxesToCalibs=No
ShowMultilineWindow=Yes
SuppressSingleline=No
SuppressMultilineFS=No
AxisIntercepts=No
DontResetAxes=No
InitDelay=0
GetNearestAirports=No
OOMcheck=Yes
OOMcheckInterval=10
WeatherReadFactor=2
WeatherRewriteSeconds=1
CustomWeatherModify=No
SimConnectStallTime=1
InitialStallTime=10
NormalStallTime=1
LuaRerunDelay=66
Console=No
FSVersionUsed="Lockheed Martin® Prepar3D® v3",3.1.3.1
SimConnectUsed=3.1.0.0

[JoyNames]
AutoAssignLetters=No
0=Pro Flight Cessna Rudder Pedals
0.GUID={EB824460-B7FD-11E5-8008-444553540000}
1=Pro Flight Cessna Yoke
1.GUID={EB826B70-B7FD-11E5-8009-444553540000}
2=BU0836A Interface
2.GUID={EB82B990-B7FD-11E5-800A-444553540000}
3=BU0836X Interface
3.GUID={D6D4CCB0-DE48-11E5-8001-444553540000}
4=Button Box Interface
4.GUID={D6D4F3C0-DE48-11E5-8002-444553540000}
5=Button Box Interface
5.GUID={D6D51AD0-DE48-11E5-8003-444553540000}
6=Button Box Interface
6.GUID={4A1EF780-1153-11E6-8001-444553540000}

[Axes]
PollInterval=10
RangeRepeatRate=10
0=0X,256,D,7,0,0,0
1=0Y,256,D,8,0,0,0
2=1X,256,D,1,0,0,0
3=1Y,256,D,2,0,0,0
4=2X,256,D,4,0,0,0
5=2R,256,D,22,0,0,0
6=2U,256,D,4,0,0,0

[buttons]
PollInterval=25
ButtonRepeat=20,10
1=P4,20,CM5:1,0
2=U4,20,CM5:86,0
3=P4,17,CM5:2,0
4=U4,17,CM5:87,0
5=P4,18,CM5:3,0
6=U4,18,CM5:88,0
7=P4,16,CM5:4,0
8=U4,16,CM5:89,0
9=P4,21,CM5:5,0
10=U4,21,CM5:90,0
11=P4,19,CM5:6,0
12=U4,19,CM5:91,0
13=P3,7,CM5:14,0
14=U3,7,CM5:92,0
15=P3,0,CM5:7,0
16=U3,0,CM5:93,0
17=P3,5,CM5:8,0
18=U3,5,CM5:94,0
19=P3,2,CM5:9,0
20=U3,2,CM5:95,0
21=P3,14,CM5:15,0
22=U3,14,CM5:17,0
23=P3,15,CM5:16,0
24=U3,15,CM5:96,0
25=P3,22,CM5:18,0
26=U3,22,CM5:19,0
27=P3,20,CM5:20,0
28=U3,20,CM5:21,0
29=P3,19,CM5:22,0
30=U3,19,CM5:23,0
31=P3,18,CM5:24,0
32=U3,18,CM5:25,0
33=R4,5,CM6:2,0
34=U4,5,CM6:2,0
35=P4,4,CM5:36,0
36=U4,4,CM5:37,0
37=P5,1,CM5:102,0
38=U5,1,CM5:110,0
39=P5,2,CM5:104,0
40=U5,2,CM5:105,0
41=P5,3,CM5:106,0
42=U5,3,CM5:107,0
43=P5,0,CM5:108,0
44=U5,0,CM5:109,0
45=P5,9,CM5:48,0
46=U5,9,CM5:49,0
47=P5,8,CM5:50,0
48=U5,8,CM5:51,0
49=P5,10,CM5:52,0
50=U5,10,CM5:53,0
51=P5,18,CM5:54,0
52=U5,18,CM5:55,0
53=P5,16,CM5:56,0
54=U5,16,CM5:57,0
55=P5,19,CM5:58,0
56=U5,19,C65733,0
57=P1,34,CM5:58,0
58=U1,34,CM5:59,0
59=P5,22,CM5:60,0
60=U5,22,CM5:61,0
61=P5,17,CM5:62,0
62=U5,17,CM5:63,0
63=P5,20,CM5:64,0
64=U5,20,CM5:65,0
65=P3,8,CM5:26,0
66=U3,8,CM5:27,0
67=P3,13,CM5:30,0
68=U3,13,CM5:31,0
69=P3,12,CM5:28,0
70=U3,12,CM5:29,0
71=P3,11,CM5:32,0
72=U3,11,CM5:33,0
73=P3,9,CM5:34,0
74=U3,9,CM5:35,0
75=P4,7,CM6:1,0
76=U4,7,K0,8
77=P4,31,CM5:68,0
78=U4,31,CM5:69,0
79=P4,6,CM5:73,0
80=U4,6,CM5:70,0
81=P4,12,CM5:71,0
82=U4,12,CM5:72,0
83=P4,15,CM5:77,0
84=U4,15,CM5:74,0
85=P4,13,CM5:75,0
86=U4,13,CM5:76,0
87=P4,8,CM5:78,0
88=U4,8,CM5:79,0
89=P4,14,CM5:80,0
90=U4,14,CM5:81,0
91=P4,10,CM5:82,0
92=U4,10,CM5:83,0
93=P4,28,CM5:10,0
94=U4,28,K0,8
95=P4,30,CM5:11,0
96=P4,23,CM5:97,0
97=P4,22,CM5:98,0
98=P4,29,CM5:12,0
99=P4,27,CM5:99,0
100=P4,26,CM5:100,0
101=P4,25,CM5:13,0


[AutoSave]
Next=1
Interval=60
Files=10
SaveOnGround=No
AutoSaveEnabled=No

[GPSout]
GPSoutEnabled=No
Port=COM1
Speed=4800
Interval=2000
PosTo6Decimal=No
SimModeIndicator=No
Sentences=

[GPSout2]
GPSoutEnabled=No
Port=<none set>
Speed=4800
Interval=2000
PosTo6Decimal=No
SimModeIndicator=No
Sentences=

[WideServer]
WideFSenabled=Yes

[sounds]
Path=D:\Sound\
Device1=Primary Sound Driver
Device2=Speakers (High Definition Audio Device)
Device3=LE-40GCL-A1-C (2- NVIDIA High Definition Audio)
Device4=Digital Audio (S/PDIF) (High Definition Audio Device)
Device5=Digital Audio (S/PDIF) (High Definition Audio Device)

[JoystickCalibration]
AllowSuppressForPFCquad=Yes
ExcludeThrottleSet=Yes
ExcludeMixtureSet=Yes
ExcludePropPitchSet=Yes
SepRevsJetsOnly=No
ApplyHeloTrim=No
UseAxisControlsForNRZ=No
FlapsSetControl=0
FlapDetents=No
ReverserControl=66292
Reverser1Control=66422
Reverser2Control=66425
Reverser3Control=66428
Reverser4Control=66431
MaxThrottleForReverser=256
AileronTrimControl=66731
RudderTrimControl=66732
CowlFlaps1Control=66162
CowlFlaps2Control=66163
CowlFlaps3Control=66164
CowlFlaps4Control=66165
SteeringTillerControl=0
MaxSteerSpeed=60
Throttle=-15174,-8432/8
Spoilers=-14864,-13192,-8776,-8776/24
Elevator=-16255,0,0,16288/8
Aileron=-16380,1600,1600,16380/8
LeftBrake=-16384,-16383/16
RightBrake=-16380,16380/16
SlopeThrottle=15

[MacroFiles]
1=XPDR
2=EFIS
3=TFC
4=ENGINE START
5=AOVHD
6=mip

 

log file

********* FSUIPC4, Version 4.949 by Pete Dowson *********
Prepar3D.exe version = 3.1.2.15831
Reading options from "D:\Modules\FSUIPC4.ini"
Running inside Prepar3D v3 on Windows 7
Module base=5F370000
User Name="TIMOTHY GREENER"
User Addr="tim.greener@scale-model-miniatures.co.uk"
FSUIPC4 Key is provided
WIDEFS7 not user registered, or expired
       16 System time = 08/05/2016 21:40:14
       16 FLT path = "C:\Users\TIM\Documents\Prepar3D v3 Files\"
       16 ------ Module Version Check ------
       16        acontain.dll: 3.1.2.15831
       16             api.dll: 3.1.2.15831
       16        controls.dll: 3.1.2.15831
       16      fs-traffic.dll: 3.1.2.15831
       16             G3D.dll: 3.1.2.15831
       16            sim1.dll: 3.1.2.15831
       16        visualfx.dll: 3.1.2.15831
       16         weather.dll: 3.1.2.15831
       16          window.dll: 3.1.2.15831
       16 ----------------------------------
       16 Trying D:\Modules\SimConnectP3D2.dll
       16 Found it: trying to connect
       31 FS path = "D:\"
      375 ---------------------- Joystick Device Scan -----------------------
      390 Product= Pro Flight Cessna Rudder Pedals
      390    Manufacturer= Mad Catz
      390    Vendor=06A3, Product=0765 (Version 1.9)
      390    Serial Number= Example#
      390 Product= Pro Flight Cessna Yoke
      390    Manufacturer= Saitek
      390    Vendor=06A3, Product=0BD3 (Version 1.22)
      390    Serial Number= RD007762
      390 Product= BU0836A Interface
      390    Manufacturer= Leo Bodnar
      390    Vendor=16C0, Product=05BA (Version 1.34)
      390    Serial Number= B39083
      390 Product= BU0836X Interface
      390    Manufacturer= Leo Bodnar
      390    Vendor=1DD2, Product=1001 (Version 1.36)
      390    Serial Number= B40865
      390 Product= Button Box Interface
      390    Manufacturer= Leo Bodnar
      390    Vendor=1DD2, Product=1140 (Version 1.4)
      390    Serial Number= B50214
      390 Product= Button Box Interface
      390    Manufacturer= Leo Bodnar
      390    Vendor=1DD2, Product=1140 (Version 1.4)
      390    Serial Number= B50911
      390 Product= Button Box Interface
      390    Manufacturer= Leo Bodnar
      390    Vendor=1DD2, Product=1140 (Version 1.4)
      390    Serial Number= B50855
      390 -------------------------------------------------------------------
      609 LogOptions=00000000 00000001
      609 -------------------------------------------------------------------
      609 ------ Setting the hooks and direct calls into the simulator ------
      609 --- CONTROLS timer memory location obtained ok
      609 --- SIM1 Frictions access gained
      609 --- FS Controls Table located ok
      609 --- Installed Mouse Macro hooks ok.
      609 --- Wind smoothing fix is installed
      609 --- All links okay (except older global weather setting method)
      609 -------------------------------------------------------------------
      609 SimConnect_Open succeeded: waiting to check version okay
      609 Trying to use SimConnect Prepar3D
    33837 ***** HID USB device reconnected: re-initialising FSUIPC connections
    33852 ---------------------- Joystick Device Scan -----------------------
    33852 Product= Pro Flight Cessna Rudder Pedals
    33868    Manufacturer= Mad Catz
    33868    Vendor=06A3, Product=0765 (Version 1.9)
    33868    Serial Number= Example#
    33868 Product= Pro Flight Cessna Yoke
    33868    Manufacturer= Saitek
    33868    Vendor=06A3, Product=0BD3 (Version 1.22)
    33868    Serial Number= RD007762
    33868 Product= BU0836A Interface
    33868    Manufacturer= Leo Bodnar
    33868    Vendor=16C0, Product=05BA (Version 1.34)
    33868    Serial Number= B39083
    33868 Product= BU0836X Interface
    33868    Manufacturer= Leo Bodnar
    33868    Vendor=1DD2, Product=1001 (Version 1.36)
    33868    Serial Number= B40865
    33868 Product= Button Box Interface
    33868    Manufacturer= Leo Bodnar
    33868    Vendor=1DD2, Product=1140 (Version 1.4)
    33868    Serial Number= B50214
    33868 Product= Button Box Interface
    33868    Manufacturer= Leo Bodnar
    33868    Vendor=1DD2, Product=1140 (Version 1.4)
    33868    Serial Number= B50911
    33868 Product= Button Box Interface
    33868    Manufacturer= Leo Bodnar
    33868    Vendor=1DD2, Product=1140 (Version 1.4)
    33868    Serial Number= B50855
    33868 -------------------------------------------------------------------
    36957 Running in "Lockheed Martin® Prepar3D® v3", Version: 3.1.3.1 (SimConnect: 3.1.0.0)
    36957 Initialising SimConnect data requests now
    36957 FSUIPC Menu entry added
    36972 C:\Users\TIM\AppData\Local\Lockheed Martin\Prepar3D v3\Prepar3D_Default.fxml
    36972 D:\SimObjects\Airplanes\IRIS Raptor Driver\Raptor.air
   129185 D:\SimObjects\Airplanes\PMDG 737-800NGX\B737-800.air
   144145 System time = 08/05/2016 21:42:38, Simulator time = 08:00:01 (13:00Z)
   144364 Aircraft="PMDG 737-800NGX PMDG House"
   149278 Starting everything now ...
   149293 ASN active function link set
   149293 Ready for ASN WX radar
   150463 Advanced Weather Interface Enabled
   163645 Sim stopped: average frame rate for last 20 secs = 31.1 fps
   212006 Mouse by function: RX21460*X8bcc (flags=20000000), Module="PMDG_737NGX.dll"
   236373 User Macro: master caution=RX21460*X8bcc (Module="PMDG_737NGX.dll")
   237730 Mouse by function: RX21460*X8bcc (flags=20000000), Module="PMDG_737NGX.dll"
   245218 User Macro: six pack=RX21460*X8bcc (Module="PMDG_737NGX.dll")
   247730 Sim stopped: average frame rate for last 41 secs = 32.7 fps
   411968 Sim stopped: average frame rate for last 24 secs = 33.5 fps
   503181 Sim stopped: average frame rate for last 74 secs = 35.9 fps
   516036 Mouse by function: RX21460*X8bcc (flags=20000000), Module="PMDG_737NGX.dll"
   542603 User Macro: mstr caution cpt=RX21460*X8bcc (Module="PMDG_737NGX.dll")
   545661 Mouse by function: RX21480*X8bcc (flags=20000000), Module="PMDG_737NGX.dll"
   551027 Mouse by function: RX21480*X8bcc (flags=20000000), Module="PMDG_737NGX.dll"
   552384 Mouse by function: RX21480*X8bcc (flags=20000000), Module="PMDG_737NGX.dll"
   568390 User Macro: six pack cpt=RX21480*X8bcc (Module="PMDG_737NGX.dll")
   571619 Sim stopped: average frame rate for last 57 secs = 33.6 fps
   617296 Sim stopped: average frame rate for last 33 secs = 36.7 fps
   638216 === NOTE: not calling SimConnect_Close ...
   639230 System time = 08/05/2016 21:50:53, Simulator time = 08:04:20 (13:04Z)
   639230 *** FSUIPC log file being closed
Minimum frame rate was 30.8 fps, Maximum was 39.3 fps
Minimum available memory recorded was 2257Mb
Average frame rate for running time of 258 secs = 34.3 fps
Memory managed: 195 Allocs, 195 Freed
********* FSUIPC Log file closed ***********
 

 

Link to comment
Share on other sites

Apart from the fact that you are using an older, unsupported version, of FSUIPC (current is 4.95), the only big problem I see with tat setup is that you have 7 joystick type devices attached which could, depending on powering, connections, Windows updates, r maybe just USB glitches, switch around in terms of their Windows IDs (0-7).

 

I strongly recommend that you use the Joy Letters facilities provided for just these sorts of configurations so that if the IDs do get swapped around, FSUIPC will be able to still match the devices to their recorded assignments.

 

Please refer to the FSUIPC User Guide,  Read the Chapter entitled "Keeping track of multiple control devices ("Joy Letters")" on page 25.

 

If you do get things apparently swapping around from the way they are as shown in your files above, compare ths section of your INI file with the way it has become:

[JoyNames]
AutoAssignLetters=No
0=Pro Flight Cessna Rudder Pedals
0.GUID={EB824460-B7FD-11E5-8008-444553540000}
1=Pro Flight Cessna Yoke
1.GUID={EB826B70-B7FD-11E5-8009-444553540000}
2=BU0836A Interface
2.GUID={EB82B990-B7FD-11E5-800A-444553540000}
3=BU0836X Interface
3.GUID={D6D4CCB0-DE48-11E5-8001-444553540000}
4=Button Box Interface
4.GUID={D6D4F3C0-DE48-11E5-8002-444553540000}
5=Button Box Interface
5.GUID={D6D51AD0-DE48-11E5-8003-444553540000}
6=Button Box Interface
6.GUID={4A1EF780-1153-11E6-8001-444553540000}

The numbers (0= etc) may get swapped about, but FSUIPC will then use the device names and unique GUIDs to adjust the assigned Letters to make sure each device does what you assigned it to do. It cannot do that whilst you are still using the Windows IDs, which are not fixed.

 

NOTE: If your devices are incorrectly assigned right now, with the assignments shown above, you should try to match them up first, BEFORE changing to letters. To do this use the little utility JoyIDs in order to change the Windows ID numbers around.

 

Pete

Link to comment
Share on other sites

Hello Pete

I installed the up to date fsuipc4 then went it too the cfg & changed [JoyNames] AutoAssignLetters=no to read yes

i noticed the cfg then showed theBodna boards and everything else with letters as well as numbers. as you said it should be .i then re assigned the overhead switches .& they all worked as they should But this time when i came out of the sim then restarted the sim & loaded the last flight all the switches on the overhead still worked properly.

Thank you Pete

best regards

Tim

Link to comment
Share on other sites

  • 1 month later...

Good morning Pete, I have added a BU0836X to my setup, using P3D V3, windows 10 and FSUIPC V4.955c. I setup my default Mooney Bravo with BCN, Landing LIghts, Taxi Lights, Nav, Strobe, etc., in the "on" position. When I close P3D and start it, the Mooney loads every time with those switches "off". I don't change the switch positions, load that same aircraft by going to Scenario and when it loads, the switches come up in the position I originally saved them as? This happens with any aircraft I use as a "default" aircraft. Is there something I'm doing wrong with the the BU0836X? I plug in a Desktop Aviator switch panel and I don't have this problem.

 

Thank you,

John

Link to comment
Share on other sites

Hi,

First you should have started a new topic with your problem instead of appended to this different one!

Controller inputs are seen and sent to FS when they changed their status ON/OFF. That means nothing will sent when the status in FS changes compared to the controller input, only in the opposite way.

You can set your controller input definition on Buttons + Switches page to Control to repeat while held then the ON position will repeated sent when the switch is in ON position.

Normally when you leave the aircraft you switch everything to OFF and so when you re-enter a aircraft all switches will be conform with the saved flight. If you load a different AC not with a saved flight then FS/ P3D will decide in which position switches are.

The only other way I can think of would be to write a Lua script that sets those switches to a defined position anytime you load an AC or reload a flight.

Later:

By looking at the manuals of Desktop Aviator switch panels you will for example find that exactly this problem is described !

Default Positions: 
Before starting your copy of MS2004 or FSX, you must position the following toggle and rocker switches to the default settings:
- Master Alternator Rocker Switch to ON
- Master Battery Rocker Switch to ON
- Master Avionics Rocker Switch to ON
- Ignition Switch set to Magnetos BOTH 

Thomas

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.