amnz Posted June 12, 2014 Report Posted June 12, 2014 Hi Pete, I am using FSUIPC 4.934a w/ PFCHID 1.35 Unfortunately the macros I am creating don't seem to be working with the console again. For example, I have a macro created for use with the A2A Cub. The file is called CUB.mcro. The contents of CUB.mcro are shown below //( note that they are assigned 'Do nothing commands') However, when I switch the avionics master switch to on using the console, it turns it on in the A2A cub, which is obviously not what it should do if it is assigned the 'do nothing command' [Macros] 1=AntiIce=C1126 2=Battery=C1126 3=Alternator=C1126 4=LandingLight=C1126 5=TaxiLight=C1126 6=Strobe=C1126 7=PitotHeat=C1126 8=FuelBoost=C1126 9=TankSelect=C1126 10=CowlFlaps=C1126 11=Flaps=C1126 12=LandingGear=C1126 13=ParkingBrake=C1126 14=Avionics=C1126 Also, you may want the PFChid.ini file: [Options] FlashAPcapts=Yes FlashMarkers=Yes FlashTransponder=Yes FlashADFindicator=Yes DMEuseRMIselect=Yes [Debug] Console=No LogComms=No LogData=No LogDecode=No LogDevices=Yes LogDeviceChanges=Yes LogToDebugger=No LogIPCwrites=No LogMacroNames=No LogTxData=No LogReadCounts=No [Config] TrimRange=256 ApBeepWave=sound\Caapdis AlertWave=sound\AltAlert MacroFilename=PFC [Config.A2A Piper Cub] MacroFilename=CUB TrimRange=256 ApBeepWave=sound\Caapdis AlertWave=sound\AltAlert [Config.Piper Pa-28-180 Cherokee] MacroFilename=CHRKY TrimRange=256 ApBeepWave=sound\Caapdis AlertWave=sound\AltAlert And here is the FSUIPC4.ini file: [General] UpdatedByVersion=4934 History=APMPJQU1E2ARTH4LUA3OL InitDelayDevicesToo=No UseSystemTime=Yes UseMidMouseBtn=Yes MouseWheelMove=No MouseWheelTrim=No MouseWheelTrimSpeed=1 JoystickTimeout=20 PollGFTQ6=Yes BlankDisplays=No FixControlAccel=Yes FixMachSpeedBug=No DeleteVehiclesForAES=Yes AutoScanDevices=Yes VisibilityOptions=No OneCloudLayer=No CloudTurbulence=Yes CloudIcing=Yes GenerateCirrus=Yes SuppressCloudTurbulence=No MaxIce=3 MinIce=-1 UpperWindGusts=Yes SuppressWindTurbulence=No SuppressWindVariance=No WindTurbulence=Yes 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=Yes WindSmoothness=2 WindSmoothAirborneOnly=No PressureSmoothness=0 TemperatureSmoothness=0 DisconnTrimForAP=Yes ZeroElevForAPAlt=Yes ThrottleSyncAll=No WhiteMessages=No ShowPMcontrols=No SpoilerIncrement=512 MagicBattery=No RudderSpikeRemoval=No ElevatorSpikeRemoval=No AileronSpikeRemoval=No ReversedElevatorTrim=No ClockSync=Yes ClockSyncMins=0 ClearWeatherDynamics=No OwnWeatherChanges=No TimeForSelect=4 LoadFlightMenu=No LoadPlanMenu=No PauseAfterCrash=Yes BrakeReleaseThreshold=0 SaveDataWithFlights=No ZapSound=firework ShortAircraftNameOk=Substring UseProfiles=Yes EnableMouseLook=No AxesWrongRange=No TCASid=Flight TCASrange=40 AxisCalibration=No DirectAxesToCalibs=No ShowMultilineWindow=Yes SuppressSingleline=Yes SuppressMultilineFS=No AxisIntercepts=No DontResetAxes=No InitDelay=0 GetNearestAirports=Yes OOMcheck=Yes WeatherReadFactor=2 WeatherRewriteSeconds=1 CustomWeatherModify=No SimConnectStallTime=1 LuaRerunDelay=66 Console=No NewInterceptTextMenu=No DelayedMouseLookZoom=No FSVersionUsed="Microsoft Flight Simulator X",10.0.61637.0 SimConnectUsed=10.0.61259.0 [JoyNames] AutoAssignLetters=No 2=PFC MFD Rudder Pedals 2.GUID={89D458B0-6972-11E3-8001-444553540000} 0=PFC Cirrus II Pro 0.GUID={83E83D20-1109-11E3-8001-444553540000} [Buttons] ButtonRepeat=20,10 [AutoSave] Next=1 Interval=60 Files=1 SaveOnGround=No AutoSaveEnabled=No [GPSout] GPSoutEnabled=No Port=COM0 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:\FSX\Sound\ Device1=Primary Sound Driver Device2=Speakers (SB X-Fi Xtreme Audio) Device3=Digital Audio Interface (SB X-Fi Xtreme Audio) [Axes] RangeRepeatRate=10 0=1X,64,D,3,0,0,0 1=1U,1,D,7,0,0,0 2=1V,1,D,8,0,0,0 3=2X,1,D,3,0,0,0 4=2U,1,D,7,0,0,0 5=2V,1,D,8,0,0,0 6=16R,258,D,3,0,0,0 7=16U,1,D,7,0,0,0,R1 8=16V,1,D,8,0,0,0,R1 9=17X,256,D,26,0,0,0 10=17Y,256,D,10,0,0,0 11=17Z,1,D,4,0,0,0 12=17R,256,D,18,0,0,0 13=17U,1,D,6,0,0,0 14=17V,256,D,14,0,0,0 [Profile.Piper_Cub] 1=A2A Piper Cub [Keys.Piper_Cub] 2=38,8,65607,0 4=40,8,65615,0 [JoystickCalibration.Piper_Cub] 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 Aileron=-16384,-822,-616,15822 Elevator=-16384,0,0,16342 Rudder=-15907,-1143,-667,15843 Throttle=-16384,16383 LeftBrake=-16384,15165 RightBrake=-16384,16383 SlopeLeftBrake=-2 SlopeRightBrake=-2 [MacroFiles] 1=CHRKY 2=CUB [Keys] 2=187,8,65655,0 3=189,8,65656,0 4=87,8,66202,0 9=40,8,x32000BC0,x3FFF0100 10=38,8,x42000BC0,xC0010100 [Profile.chrk 180] 1=Piper Pa-28-180 Cherokee [JoystickCalibration.chrk 180] 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 Aileron=-16183,-601,127,16383 Elevator=-16384,-448,0,16383 Rudder=-15812,-1905,-1334,15753 Throttle=-16384,16383 Mixture=-14836,16383 LeftBrake=-16384,15436 RightBrake=-16384,16383 Regards
Pete Dowson Posted June 12, 2014 Report Posted June 12, 2014 I am using FSUIPC 4.934a w/ PFCHID 1.35 You realise 1.36 is the current version? Unfortunately the macros I am creating don't seem to be working with the console again. What do you mean "again". Were they not working, then working, then not working? Please explain. It is no use saying such things with no explanation! For example, I have a macro created for use with the A2A Cub. The file is called CUB.mcro. The contents of CUB.mcro are shown below //( note that they are assigned 'Do nothing commands') However, when I switch the avionics master switch to on using the console, it turns it on in the A2A cub, which is obviously not what it should do if it is assigned the 'do nothing command' So, is the problem you are reporting that the "do nothing" command doesn't "do nothing", or that the CUB.MCRO file is not being selected? For example, what happens if you select the CUB file as the default in the PFC.INI file, or rename (temporarily of course) the CUB file as PFC.MCRO? What if, instead, you assign "Avionics" to something which does something else, other than "do nothing". Does that work? I need to ask these questions because I no longer own any PFC equipment on which i can test these things. You have to do the testing I'm afraid. And PFC themselves seems to have moved a long way away from all this stuff. Pete
amnz Posted June 12, 2014 Author Report Posted June 12, 2014 You realise 1.36 is the current version? Just updated now to 1.36 so we are on the same page. What do you mean "again". Were they not working, then working, then not working? Please explain. It is no use saying such things with no explanation! Sorry for the ambiguity--> I will refer you to my previous thread I started: http://forum.simflight.com/topic/74990-macro-interfering-with-ric-knobs-on-pfc-c2-pro/ If you read the last page of that thread you will find out I had really annoying problems with my system. In its current state it is semi functional (i.e. some switches don't work, the trim doesn't work etc.. but this should be fixed with a new controller chip coming to me soon from PFC...) So, is the problem you are reporting that the "do nothing" command doesn't "do nothing", or that the CUB.MCRO file is not being selected? After the tests you have asked me to do, the plane behaved like there was no macro (i.e. the changes that you suggested I make did not have any affect on what I previously reported), so I am guessing that the macro file is somehow not being selected.
Pete Dowson Posted June 12, 2014 Report Posted June 12, 2014 After the tests you have asked me to do, the plane behaved like there was no macro (i.e. the changes that you suggested I make did not have any affect on what I previously reported), so I am guessing that the macro file is somehow not being selected. Okay. I will look to see if there are logging facilities incorporated which will help me see what is happening. It is getting late here now, so it won't be till later tomorrow at the earliest. Meanwhile, one more test, please. Try with your CUB mcro file as PFC.mcro, and with a default INI file -- i.e. no special aircraft sections. If there aren't logging features which are likely to tell me what is happening, I will add some and give you a test version so we can find out. I don't really understand what could be going on because this was all working, so i am puzzled. Pete
amnz Posted June 13, 2014 Author Report Posted June 13, 2014 Hi Pete, Before going on further, I would just like to remind you that the control chip for the console is suspected of being somehow damaged as the C2 pro console is not fully functional as I said. (some particular switches don't work, the entire avionics stack doesn't work properly and the trim system is also not working) Even in the previous post when I used PFCHID 1.35 (the updated version that, according to your own testing on your own PFC hardware, fixed this macro problem) I still continued to have the same issue that the macros weren't working at all. Anyways, I will still do that test you gave me and i'll se what happens. If it doesn't work, maybe its best to wait for me to get my hands on the new controller chip, and get the system fully functional. In any case, I will still do the test you just gave me and will report back soon. Regards,
amnz Posted June 13, 2014 Author Report Posted June 13, 2014 Try with your CUB mcro file as PFC.mcro, and with a default INI file -- i.e. no special aircraft sections. Tried, and still no change just like as before. It seems as if the software can't do its job properly if the hardware isn't up for it.
Pete Dowson Posted June 13, 2014 Report Posted June 13, 2014 Before going on further, I would just like to remind you that the control chip for the console is suspected of being somehow damaged as the C2 pro console is not fully functional as I said. (some particular switches don't work, the entire avionics stack doesn't work properly and the trim system is also not working) But the switches, like the avionics one, still does what it is supposed to do by default? Obviously if the codes reaching the driver are wrong, it can't select from the MCRO file in any case. Even in the previous post when I used PFCHID 1.35 (the updated version that, according to your own testing on your own PFC hardware, fixed this macro problem) I still continued to have the same issue that the macros weren't working at all. The "Macro problem" which i fixed was to do with occasional incorrect selection of the macro file for specific aircraft -- the actual execution of the macros was correct, but it sometimes was not reading the aircraft name and switching files. That's why I've been asking you to try these other macro file namings. Anyways, I will still do that test you gave me and i'll se what happens. If it doesn't work, maybe its best to wait for me to get my hands on the new controller chip, and get the system fully functional. Maybe that would be best, but I'd like to be sure the driver is doing the right thing. I'll get back later when I've looked at the logging available. Tried, and still no change just like as before. It seems as if the software can't do its job properly if the hardware isn't up for it. Is it only the "do nothing" control not working? Surely if you assign to an operative control it works? That's the whole point of the macro files, and has always been used to program the switches for other things. There would be very many more support requests here if that all suddenly stopped working, so maybe the correct codes aren't being seen. That should be easy to check with logging. Pete
amnz Posted June 13, 2014 Author Report Posted June 13, 2014 But the switches, like the avionics one, still does what it is supposed to do by default? Yes. Is it only the "do nothing" control not working? Surely if you assign to an operative control it works? Nope, I tried, for example, to assign the avionics switch to heading decrease( just for the purpose of testing obviously!) and again the macro did not work. There would be very many more support requests here if that all suddenly stopped working, so maybe the correct codes aren't being seen. That should be easy to check with logging. And how exactly can I log to see what is happening? Regards,
Pete Dowson Posted June 13, 2014 Report Posted June 13, 2014 And how exactly can I log to see what is happening? Well, as I said, I'll take a look when I get a chance. First I'll look at the documentation, which I think you'll find does list a number of logging options, some of which I'm sure would be useful. The INI file probably even lists them with their default "off" or "no" settings, I don't recall at present. But if the logging isn't currently sufficient I will look at adding more. Meanwhile I shall also ask a friend who have the Cirrus 2 Pro to check things out on his for me. I'll get back to you within a day or two. Pete
Pete Dowson Posted June 13, 2014 Report Posted June 13, 2014 I'll get back to you within a day or two. Before I go storming off to alter code for more logging, there's some obvious checks we could do as it stands: Looking at the documentation, I can see immediately that "LogDecode=Yes" and "LogMacroNames=Yes" would be useful as it stands. The first should already be set, so you will already have logs showing whether the decoding action is correct. Perhaps you can enable the macro names one too for me, and show me the result of, for example, operating your Avionics switch. Also, without even adding any options, there will be a "PFCmacroindex.csv" file produced -- please show me that. this shows which commands have macros assigned. [LATER] Okay. Checking back on the recent history of PFCHID, and subject to receiving confirmation from him, that friend of mine was happily using macro files, fully working, with PFCHID version 1.36. He's now on 1.37, which is the same as 1.36 but with multiway switch support (i.e. the capability of invoking different macros for different positions on the one switch). I've taken 1.37 (which wasn't released generally) and added some extra logging in places where a choice of macro file is being made, and when it is being read (macro files are re-read if they are edited even without the aircraft selection being changed). It is now version 1.39, and is available in the Download Links subforum. Please use that and show me the logs. [LATER STILL] My friend says it selects the correct macro file and uses to to start with, but if you change aircraft it doesn't appear to change to the correct file. very odd. I thought this was the very bug fixed back in Version 1.34! I shall look at this in detail tomorrow. I hope to see your logs by then? Pete
Pete Dowson Posted June 13, 2014 Report Posted June 13, 2014 One other thing. I just realised that the format of your macros may be incorrect: [Macros]1=AntiIce=C11262=Battery=C11263=Alternator=C11264=LandingLight=C11265=TaxiLight=C11266=Strobe=C11267=PitotHeat=C11268=FuelBoost=C11269=TankSelect=C112610=CowlFlaps=C112611=Flaps=C112612=LandingGear=C112613=ParkingBrake=C112614=Avionics=C1126 The format documented for macros normally includes a parameter, so all your lines should have ,0 or whatever at the end, like: 14=Avionics=C1126,0 Maybe I should or do assume 0 if omitted, but I'm not sure without checking. The format laid down (it is in the FSUIPC Advanced User's manual) certainly doesn't say you can omit the parameter, even if in this particular case it doesn't matter. FSUIPC always has to send a parameter in any case and it is better being explicitly 0 than some random number. Pete
amnz Posted June 15, 2014 Author Report Posted June 15, 2014 Okay, I updated PFC HID to 1.40 and simplified my macro file so that it only contains: [Macros] 1=Avionics=C1126,0 Unfortunately, I still had the same problem--> the switch was still operating the avionics master switch in the VC Here is PFChid.log (I loaded up the A2A cub, first flight when opening the simulator) ********* PFChid, Version 1.40 by Pete Dowson ********* 0: Listing macros from "D:\FSX\Modules\PFC.mcro" 0: INI section "Config" selected 0: Macro file to be used: "PFC" 0: Error 6 [00000006] returned on HidD_GetAttributes: (\\?\hid#vid_046d&pid_c52e&mi_00#7&b26e42b&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}) 0: Error 6 [00000006] returned on HidD_GetAttributes: (\\?\hid#vid_046d&pid_c52e&mi_01&col01#7&2efe21ed&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}) Manufacturer= Precision Flight Controls, Inc. Product= PFC Cirrus II Pro Vendor=0689, Product=C200 Serial Number= 31: ... Ok, added as device #1 Manufacturer= Precision Flight Controls, Inc. Product= PFC MFD Rudder Pedals Vendor=0689, Product=D010 Serial Number= 47: ... Ok, added as device #2 78: Device #2 received: META FormatVersion = 2 78: Device #2 Raw[41] = 02 FE 00 02 00 00 00 00 00 00 00 00 00 00 00 00 78: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 78: 00 00 00 00 00 00 00 00 00 78: Device #2: Unhandled Calibration (select 0, type 2) 78: Device #1 received: META FormatVersion = 2 78: Device #1 received: META ReportSupported = Class 08, Cmd 0001, Indx 0 78: Device #1 received: META ReportSupported = Class 08, Cmd 0003, Indx 0 78: Device #1 received: META ReportSupported = Class 08, Cmd 0002, Indx 0 94: Device #2 received: META FormatVersion = 2 94: Device #2 received: META FirmwareDate = ID 53264, 2011-12-19 94: Device #1 received: META ReportSupported = Class 08, Cmd 0004, Indx 0 94: Device #1 received: META ReportSupported = Class 07, Cmd 0001, Indx 0 109: Device #2 received: META FirmwareVersion = ID 53264, 1.3) 109: Device #2 received: META ReqFullReport 109: Device #1 received: META ElevTrimLimits = 0 to 239 109: Device #1 received: META ReportSupported = Class FF, Cmd 0011, Indx 0 109: Device #1 received: META ReportSupported = Class FF, Cmd 0012, Indx 0 125: Device #1 received: META ReportSupported = Class 09, Cmd 0001, Indx 0 125: Device #1 received: META ReportSupported = Class 09, Cmd 0002, Indx 0 140: Device #1 received: META FirmwareDate = ID 4098, 2010-7-19 140: Device #1 received: META FirmwareVersion = ID 4098, 4.1) 156: Device #1 received: META FormatVersion = 2 156: Device #1 received: META ReportSupported = Class 08, Cmd 0001, Indx 0 172: Device #1 received: META ReportSupported = Class 08, Cmd 0003, Indx 0 172: Device #1 received: META ReportSupported = Class 08, Cmd 0002, Indx 0 187: Device #1 received: META ReportSupported = Class 08, Cmd 0004, Indx 0 187: Device #1 received: META ReportSupported = Class 07, Cmd 0001, Indx 0 203: Device #1 received: META ElevTrimLimits = 0 to 239 203: Device #1 received: META ReportSupported = Class FF, Cmd 0011, Indx 0 203: Device #1 received: META ReportSupported = Class FF, Cmd 0012, Indx 0 234: Device #1 received: META ReportSupported = Class 09, Cmd 0001, Indx 0 234: Device #1 received: META ReportSupported = Class 09, Cmd 0002, Indx 0 250: Device #1 received: META FirmwareDate = ID 4098, 2010-7-19 250: Device #1 received: META FirmwareVersion = ID 4098, 4.1) 265: Device #1 Raw[41] = 02 FF 0E 00 00 00 00 00 00 00 00 00 00 00 00 00 265: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 265: 00 00 00 00 00 00 00 00 00 265: Device #1 received: META Unhandled metadata 14 (EquipAddedRemoved) 281: Device #1 received: ThrottleQuad[0] = 1023 (-16384 normalised) 312: Device #1 received: ThrottleQuad[2] = 0 (16383 normalised) 328: Device #1 received: ThrottleQuad[3] = 1023 (-16384 normalised) 328: Device #1 received: ThrottleQuad[4] = 48 (14847 normalised) 343: Device #1 received: ThrottleQuad[5] = 1023 (-16384 normalised) 359: Device #1 received: ApDisconnect[0] = 0 359: Device #1 received: PitchTrim[0] = 0 359: Full macroname for decoded switch = "PFC:PitchTrim" 374: Device #1 received: Cws[0] = 0 374: Full macroname for decoded switch = "PFC:Cws" 390: Device #1 received: Ailerons[0] = 597 (0 normalised) 421: Device #1 received: Elevator[0] = 516 (-81 normalised) 437: Device #1 received: RudderTrim[0] = 512 (0 normalised) 452: Device #1 received: AileronTrim[0] = 514 (64 normalised) 452: Device #1 received: ElevatorTrim[0] = 128 (1165 normalised) 468: Device #1 received: CowlFlaps[0] = 2 468: Device #1 received: CowlFlaps[1] = 2 499: Device #1 received: FuelSelect[0] = 0 499: Full macroname for decoded switch = "PFC:FuelSelect" 499: Device #1 received: GoAround[0] = 0 499: Full macroname for decoded switch = "PFC:GoAround" 530: Device #1 received: Flaps[0] = 2 546: Device #1 received: Alternator[0] = 0 546: Full macroname for decoded switch = "PFC:Alternator" 562: Device #1 received: Alternator[1] = 0 562: Full macroname for decoded switch = "PFC:Alternator2" 593: Device #1 received: FuelBoost[0] = 0 593: Full macroname for decoded switch = "PFC:FuelBoost" 593: Device #1 received: FuelBoost[1] = 0 593: Full macroname for decoded switch = "PFC:FuelBoost2" 608: Device #1 received: LandingGear[0] = 1 608: Full macroname for decoded switch = "PFC:LandingGear" 608: Device #1 received: Magneto[0] = 0 608: Full macroname for decoded switch = "PFC:Magneto" 640: Device #1 received: Magneto[1] = 0 640: Full macroname for decoded switch = "PFC:Magneto2" 640: Device #1 received: CarbHeater[0] = 0 640: Full macroname for decoded switch = "PFC:CarbHeater" 671: Device #1 received: Battery[0] = 0 671: Full macroname for decoded switch = "PFC:Battery" 764: Device #1 received: Avionics[0] = 0 764: Full macroname for decoded switch = "PFC:Avionics" 874: Device #1 received: AltAir[0] = 0 874: Full macroname for decoded switch = "PFC:AltAir" 874: Device #1 received: PitotHeat[0] = 0 874: Full macroname for decoded switch = "PFC:PitotHeat" 874: Device #1 received: ParkingBrake[0] = 1 874: Full macroname for decoded switch = "PFC:ParkingBrake" 874: Device #1 received: CarbHeater[1] = 0 874: Full macroname for decoded switch = "PFC:CarbHeater2" 920: Device #1 received: META ReqFullReport 2512: Full macroname for decoded switch = "PFC:FuelSelect" 3260: Device #1 received: Avionics[0] = 1 3260: Full macroname for decoded switch = "PFC:Avionics" 3526: Full macroname for decoded switch = "PFC:FuelSelect" 4555: Full macroname for decoded switch = "PFC:FuelSelect" 4820: Device #1 received: Avionics[0] = 0 4820: Full macroname for decoded switch = "PFC:Avionics" 5569: Full macroname for decoded switch = "PFC:FuelSelect" 6162: Device #1 received: Avionics[0] = 1 6162: Full macroname for decoded switch = "PFC:Avionics" 6583: Full macroname for decoded switch = "PFC:FuelSelect" 6880: Full macroname for decoded switch = "PFC:AltAir" 7597: Full macroname for decoded switch = "PFC:FuelSelect" 7738: Device #1 received: Avionics[0] = 0 7738: Full macroname for decoded switch = "PFC:Avionics" 8611: Full macroname for decoded switch = "PFC:FuelSelect" 9142: Device #1 received: Avionics[0] = 1 9142: Full macroname for decoded switch = "PFC:Avionics" 9625: Full macroname for decoded switch = "PFC:FuelSelect" 10639: Device #1 received: Avionics[0] = 0 10639: Full macroname for decoded switch = "PFC:Avionics" 10748: Full macroname for decoded switch = "PFC:FuelSelect" 11762: Full macroname for decoded switch = "PFC:FuelSelect" 11887: Full macroname for decoded switch = "PFC:AltAir" 12792: Full macroname for decoded switch = "PFC:FuelSelect" 16973: Device #1 received: META FormatVersion = 2 16973: Device #1 received: META ReportSupported = Class 08, Cmd 0001, Indx 0 16973: Device #1 received: META ReportSupported = Class 08, Cmd 0003, Indx 0 16973: Device #1 received: META ReportSupported = Class 08, Cmd 0002, Indx 0 16973: Device #1 received: META ReportSupported = Class 08, Cmd 0004, Indx 0 16973: Device #1 received: META ReportSupported = Class 07, Cmd 0001, Indx 0 16973: Device #1 received: META ElevTrimLimits = 0 to 239 16973: Device #1 received: META ReportSupported = Class FF, Cmd 0011, Indx 0 16973: Device #1 received: META ReportSupported = Class FF, Cmd 0012, Indx 0 16973: Device #1 received: META ReportSupported = Class 09, Cmd 0001, Indx 0 16973: Device #1 received: META ReportSupported = Class 09, Cmd 0002, Indx 0 16973: Device #1 received: META FirmwareDate = ID 4098, 2010-7-19 16973: Device #1 received: META FirmwareVersion = ID 4098, 4.1) 16973: Device #1 Raw[41] = 02 FF 0E 00 00 00 00 00 00 00 00 00 00 00 00 00 16973: 00 00 00 00 00 02 01 00 09 00 FF 03 00 00 00 46 16973: 00 00 FF 03 00 00 00 00 00 16973: Device #1 received: META Unhandled metadata 14 (EquipAddedRemoved) 16973: Device #1 received: ThrottleQuad[2] = 0 (16383 normalised) 16973: Device #1 received: ThrottleQuad[3] = 1023 (-16384 normalised) 16973: Device #1 received: ThrottleQuad[4] = 48 (14847 normalised) 16973: Device #1 received: ThrottleQuad[5] = 1023 (-16384 normalised) 16973: Device #1 received: ApDisconnect[0] = 0 16973: Full macroname for decoded switch = "PFC:AltAir" 17223: Device #1 received: PitchTrim[0] = 0 17223: Device #1 received: Cws[0] = 0 17223: Device #1 received: CowlFlaps[0] = 2 17223: Device #1 received: CowlFlaps[1] = 2 17223: Device #1 received: FuelSelect[0] = 0 17223: Full macroname for decoded switch = "PFC:FuelSelect" 17223: Device #1 received: GoAround[0] = 0 17223: Full macroname for decoded switch = "PFC:GoAround" 17223: Device #1 received: Flaps[0] = 2 17223: Device #1 received: Alternator[0] = 0 17223: Full macroname for decoded switch = "PFC:Alternator" 17223: Device #1 received: Alternator[1] = 0 17223: Full macroname for decoded switch = "PFC:Alternator2" 17223: Device #1 received: FuelBoost[0] = 0 17223: Full macroname for decoded switch = "PFC:FuelBoost" 17223: Device #1 received: FuelBoost[1] = 0 17223: Full macroname for decoded switch = "PFC:FuelBoost2" 17223: Device #1 received: LandingGear[0] = 1 17223: Full macroname for decoded switch = "PFC:LandingGear" 17472: Device #1 received: Magneto[0] = 0 17472: Full macroname for decoded switch = "PFC:Magneto" 17472: Device #1 received: Magneto[1] = 0 17472: Full macroname for decoded switch = "PFC:Magneto2" 17472: Device #1 received: CarbHeater[0] = 0 17472: Full macroname for decoded switch = "PFC:CarbHeater" 17472: Device #1 received: Battery[0] = 0 17472: Full macroname for decoded switch = "PFC:Battery" 17472: Device #1 received: Avionics[0] = 0 17472: Full macroname for decoded switch = "PFC:Avionics" 17472: Device #1 received: AltAir[0] = 0 17472: Full macroname for decoded switch = "PFC:AltAir" 17472: Device #1 received: PitotHeat[0] = 0 17472: Full macroname for decoded switch = "PFC:PitotHeat" 17472: Device #1 received: ParkingBrake[0] = 1 17472: Full macroname for decoded switch = "PFC:ParkingBrake" 17472: Device #1 received: CarbHeater[1] = 0 17472: Full macroname for decoded switch = "PFC:CarbHeater2" 17472: Device #1 received: META ReqFullReport 22714: Full macroname for decoded switch = "PFC:AltAir" 27955: Full macroname for decoded switch = "PFC:AltAir" 33197: Full macroname for decoded switch = "PFC:AltAir" 38439: Full macroname for decoded switch = "PFC:AltAir" 43680: Full macroname for decoded switch = "PFC:AltAir" 48922: Full macroname for decoded switch = "PFC:AltAir" 54164: Full macroname for decoded switch = "PFC:AltAir" 59405: Full macroname for decoded switch = "PFC:AltAir" 64647: Full macroname for decoded switch = "PFC:AltAir"
amnz Posted June 15, 2014 Author Report Posted June 15, 2014 Forgot about the .csv file! Class,Type,Macro Basename,Supported?,In file "PFC.mcro"?,Variations 02,41,Alternator,Y,N 02,13,AltAir,Y,N 02,15,AntiIce,Y,N 02,72,EngineAntiIce,Y,N 02,44,EngineDeice,Y,N 02,73,WingAntiIce,Y,N 02,23,WingDeice,Y,N 02,16,PropDeice,Y,N 02,26,ApDisconnect,Y,N 02,2,Avionics,Y,Y 02,40,Battery,Y,N 02,35,CowlFlaps,Y,N 02,34,FuelBoost,Y,N 02,11,Flaps,Y,N 02,36,FuelSelect,Y,N 02,175,TankSelect,Y,N 02,4,LandingGear,Y,N 02,18,LandingLight,Y,N 02,43,Magneto,Y,N 02,5,Nav,Y,N 02,12,ParkingBrake,Y,N 02,1,PropSync,Y,N 02,6,Strobe,Y,N 02,19,TaxiLight,Y,N 02,7,Beacon,Y,N 02,14,PitotHeat,Y,N 02,77,Com1On,Y,N 02,78,Com1Swap,Y,N 02,80,Com2On,Y,N 02,81,Com2Swap,Y,N 02,83,Nav1Radial,Y,N 02,84,Nav1Swap,Y,N 02,85,Nav1Ident,Y,N 02,86,Nav2Radial,Y,N 02,87,Nav2Swap,Y,N 02,88,Nav2Ident,Y,N 02,89,DmeMode1,Y,N 02,90,DmeMode2,Y,N 02,92,DmeRmi,Y,N 02,93,AdfAdf,Y,N 02,97,AdfBfo,Y,N 02,95,AdfIdent,Y,N 02,94,AdfSwap,Y,N 02,98,AdfFlt,Y,N 02,99,AdfSet,Y,N 02,101,TxpndrIdent,Y,N 02,100,TxpndrMode,Y,N 02,57,ApEngage,Y,N 02,63,ApFd,Y,N 02,48,ApAltitude,Y,N 02,53,ApHdg,Y,N 02,56,ApNav,Y,N 02,50,ApApr,Y,N 02,52,ApBc,Y,N 02,64,ApTestBtn,Y,N 02,27,Cws,Y,N 02,25,PitchTrim,Y,N 02,3,PitchTrimMust,Y,N 02,59,ApTrim,Y,N 02,114,AltPreArm,Y,N 02,113,AltPreEng,Y,N 02,115,AltPreAltVs,Y,N 02,185,AudCom1Mic,Y,N 02,186,AudCom2Mic,Y,N 02,177,AudCom1,Y,N 02,178,AudCom2,Y,N 02,179,AudNav1,Y,N 02,180,AudNav2,Y,N 02,176,AudMkrMute,Y,N 02,181,AudDme,Y,N 02,182,AudAdf,Y,N 02,183,AudTest,Y,N 02,173,SimCon,N,N 02,171,SimFreeze,Y,N 02,9,SimPause,Y,N 02,174,SimInstr,N,N 02,172,SimMap,N,N 02,169,SimReset,N,N 02,170,SimStart,Y,N 02,126,AnnTest,Y,N 02,128,LowerDU,Y,N 02,127,MainDU,Y,N 02,121,ApPRST,Y,N 02,122,AtPRST,Y,N 02,123,FmcPRST,Y,N 02,138,FuelFlow,Y,N 02,124,N1set,Y,N 02,125,SpeedRef,Y,N 02,67,AutoBrake,Y,N 02,68,AutoBrakeEng,Y,N 02,69,AutoBrakeSys,Y,N 02,203,RMI1,Y,N 02,204,RMI2,Y,N 02,139,GpwsSystemtest,Y,N 02,120,BelowGSInh,Y,N 02,140,FlapInhibit,Y,N 02,141,GearInhibit,Y,N 02,130,BusStabTrim,N,N 02,191,AudTestAll,N,N 02,190,AudCopilot,N,N 02,187,AudCom12Mic,N,N 02,189,AudPilot,N,N 02,184,AudSens,N,N 02,188,AudSpkr,N,N 02,96,AdfAntennaMode,N,N 02,47,ApOn,N,N 02,146,AcPack,N,N 02,117,AcSelector,N,N 02,153,AltFlaps,N,N 02,152,AltFlapsMaster,N,N 02,149,ApuBleedAir,N,N 02,143,ApuGenerator,N,N 02,49,ApAltSelect,N,N 02,65,ApAutothrottle,N,N 02,51,ApBankLimit,N,N 02,54,ApIAS,N,N 02,55,ApMaster,N,N 02,58,ApSoftRide,N,N 02,60,ApVorApr,N,N 02,61,ApVS,N,N 02,62,ApYawDamper,N,N 02,37,AuxFuelBoost,N,N 02,29,AutoFeather,N,N 02,45,AutoIgnition,N,N 02,144,BusTransfer,N,N 02,165,CabinOutflow,N,N 02,196,CabinPressDump,N,N 02,76,CarbHeater,N,N 02,79,Com1Speaker,N,N 02,82,Com2Speaker,N,N 02,158,ControlPanel,N,N 02,116,DcSelector,N,N 02,166,DigPressMode,N,N 02,157,DisplaySource,N,N 02,70,Eicas,N,N 02,194,ElevTrimDisco,N,N 02,192,ElevTrimOnOff,N,N 02,164,EmergencyExit,N,N 02,148,EngineBleedAir,N,N 02,200,EngineFireWarn,N,N 02,199,EngineIgnition,N,N 02,130,EngineOverheat,N,N 02,163,EquipCoolExh,N,N 02,162,EquipCoolSup,N,N 02,198,ExternalPower,N,N 02,133,ExtinguishTest,N,N 02,132,FaultTest,N,N 02,201,FirewallShut,N,N 02,197,Flaps3WayKAir,N,N 02,150,FlightControlA,N,N 02,156,FMC,N,N 02,17,FuelCross,N,N 02,129,FuelCutoff,N,N 02,142,Generator,N,N 02,71,GoAround,N,N 02,112,GpsAptVor,N,N 02,108,GpsAux,N,N 02,107,GpsCalc,N,N 02,109,GpsDirTo,N,N 02,111,GpsEnt,N,N 02,106,GpsFpl,N,N 02,110,GpsMsg,N,N 02,104,GpsNav,N,N 02,103,GpsNavGps,N,N 02,102,GpsOn,N,N 02,105,GpsWpt,N,N 02,46,IceVane,N,N 02,28,Inverter,N,N 02,155,IRS,N,N 02,147,IsolationValve,N,N 02,137,GearHornCutout,N,N 02,30,LandLtsInbd,N,N 02,31,LandLtsOutbd,N,N 02,205,MomentaryFuelQ,N,N 02,38,No1FuelPump,N,N 02,39,No2FuelPump,N,N 02,75,Radio,N,N 02,145,RecircFan,N,N 02,195,RudderBoost,N,N 02,33,RunwayTurnLt,N,N 02,151,Spoiler,N,N 02,135,StabTrimAP,N,N 02,134,StabTrimMain,N,N 02,136,StabTrimOvride,N,N 02,167,StallWarnTest,N,N 02,168,PropGovTest,N,N 02,154,VhfNav,N,N 02,202,VoltMtrBusSel,N,N 02,160,WindowHeatFwd,N,N 02,159,WindowHeatSide,N,N 02,161,WindowHeatTest,N,N 02,74,WingAntIceTest,N,N 02,206,PushSquelch,N,N 02,207,PushIdent,N,N 02,208,PushCV,N,N 02,209,PushCursor,N,N 02,210,Comflip,N,N 02,211,NavFlip,N,N 02,212,RangeUp,N,N 02,213,RangeDn,N,N 02,214,DirectTo,N,N 02,215,Menu,N,N 02,216,Clear,N,N 02,217,Enter,N,N 02,218,Cdi,N,N 02,219,Obs,N,N 02,220,Message,N,N 02,221,FlightPlan,N,N 02,222,Procedures,N,N 02,223,VerticalNav,N,N 02,224,ElecTrimAvail,N,N 02,225,AltPreslAvail,N,N 02,226,ECUtest,N,N 02,227,ECUswap,N,N 02,228,GearHornTest,N,N 02,10,EngineMaster,N,N 02,42,EngineStart,N,N 02,8,EvntMotrStop,N,N 02,20,BattMBusTie,N,N 02,21,StrtrDiseng,N,N 02,22,Ignition,N,N 02,24,WindowDeice,N,N 02,32,EmgGearExt,N,N 02,118,AntiColl,N,N 02,119,SbyBatt,N,N 02,131,ArtexELT,N,N 02,229,G1kApEng,N,N 02,230,G1kYD,N,N 02,231,G1kFD,N,N 02,232,G1kHdg,N,N 02,233,G1kNav,N,N 02,234,G1kApr,N,N 02,235,G1kVS,N,N 02,236,G1kFLC,N,N 02,237,G1kTrim,N,N 02,238,G1kAlt,N,N 02,239,G1kVnav,N,N 02,240,G1kBC,N,N 02,241,G1kDTO,N,N 02,242,G1kMenu,N,N 02,243,G1kFPL,N,N 02,244,G1kProc,N,N 02,245,G1kClr,N,N 02,246,G1kEnt,N,N 02,247,G1kSK1,N,N 02,248,G1kSK2,N,N 02,249,G1kSK3,N,N 02,250,G1kSK4,N,N 02,251,G1kSK5,N,N 02,252,G1kSK6,N,N 02,253,G1kSK7,N,N 02,254,G1kSK8,N,N 02,255,G1kSK9,N,N 02,256,G1kSK10,N,N 02,257,G1kSK11,N,N 02,258,G1kSK12,N,N 02,259,G1kPushID,N,N 02,260,G1kNav12,N,N 02,261,G1kNavFlip,N,N 02,262,G1kHdgSync,N,N 02,263,G1kAltPB,N,N 02,264,G1kComFlip,N,N 02,265,G1kSquelch,N,N 02,266,G1kCOM12,N,N 02,267,G1kJoyUp,N,N 02,268,G1kJoyDn,N,N 02,269,G1kJoyL,N,N 02,270,G1kJoyR,N,N 02,271,G1kJoyUpL,N,N 02,272,G1kJoyUpR,N,N 02,273,G1kJoyDnL,N,N 02,274,G1kJoyDnR,N,N 02,275,G1kJoyBtn,N,N 02,276,G1kCrsCtrCDI,N,N 02,277,G1kCrsr,N,N 02,278,G1kDisBack,N,N 02,279,G1kTrimUp,N,N 02,280,G1kTrimDn,N,N 02,281,G1kDisBack2,N,N 02,285,HdgSync,N,N 02,286,AudPlay,N,N 02,287,AudAux,N,N 02,288,AudManSq,N,N 02,289,AudVolSq,N,N 02,290,AudCom3Mic,N,N 02,291,AudCom3,N,N 02,292,AudTel,N,N 02,293,AudPA,N,N 03,27,AltPreSetVs,Y,N 03,28,AltPreSetAlt,Y,N 03,36,AltPreSetVsC,Y,N 03,37,AltPreSetAltC,Y,N 03,2,AdfRa,Y,N 03,3,CrsDg,Y,N 03,38,ADFencode,Y,N 03,39,CRSencode,Y,N 03,40,RAencode,N,N 03,41,DGencode,Y,N 03,4,Hdg,Y,N 03,5,Alt,Y,N 03,6,Obs1,Y,N 03,7,Obs2,Y,N 03,42,Airspeed,Y,N 03,43,AttitudeRef,Y,N 03,9,Com1CrseFreq,Y,N 03,10,Com1FineFreq,Y,N 03,11,Com2CrseFreq,Y,N 03,12,Com2FineFreq,Y,N 03,13,Nav1CrseFreq,Y,N 03,14,Nav1FineFreq,Y,N 03,15,Nav2CrseFreq,Y,N 03,16,Nav2FineFreq,Y,N 03,17,DmeCrseFreq,Y,N 03,18,DmeFineFreq,Y,N 03,19,AdfCrseFreq,Y,N 03,20,AdfFineFreq,Y,N 03,21,TxpndrDig1,Y,N 03,22,TxpndrDig2,Y,N 03,23,TxpndrDig3,Y,N 03,24,TxpndrDig4,Y,N 03,29,CabinClimbRate,N,N 03,25,GpsCoarse,N,N 03,26,GpsFine,N,N 03,30,CoarseFreq,N,N 03,31,FineFreq,N,N 03,32,CoarseSel,N,N 03,33,FineSel,N,N 03,34,ComVolume,N,N 03,35,VlocVolume,N,N 03,1,N1IncDec,Y,N 03,8,SpdRefIncDec,Y,N
Pete Dowson Posted June 15, 2014 Report Posted June 15, 2014 Okay, I updated PFC HID to 1.40 and simplified my macro file so that it only contains: Unfortunately, I still had the same problem--> the switch was still operating the avionics master switch in the VC Here is PFChid.log (I loaded up the A2A cub, first flight when opening the simulator) Strange, because my friend, the one with the Cirrus, seems to find it working now. Unfortunately you appear to have the Logging options all wrong now so I can't see why it is wrong. Please set them like this: [Debug] Console=No LogComms=no LogData=No LogDecode=Yes LogDevices=yes LogDeviceChanges=no LogToDebugger=No LogIPCwrites=Yes LogTxData=No LogReadCounts=No LogMacroNames=Yes Pete
amnz Posted June 15, 2014 Author Report Posted June 15, 2014 Okay, new log ********* PFChid, Version 1.40 by Pete Dowson ********* 0: Listing macros from "D:\FSX\Modules\PFC.mcro" 0: INI section "Config" selected 0: Macro file to be used: "PFC" 0: Error 6 [00000006] returned on HidD_GetAttributes: (\\?\hid#vid_046d&pid_c52e&mi_00#7&b26e42b&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}) 0: Error 6 [00000006] returned on HidD_GetAttributes: (\\?\hid#vid_046d&pid_c52e&mi_01&col01#7&2efe21ed&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}) Manufacturer= Precision Flight Controls, Inc. Product= PFC Cirrus II Pro Vendor=0689, Product=C200 Serial Number= 15: ... Ok, added as device #1 Manufacturer= Precision Flight Controls, Inc. Product= PFC MFD Rudder Pedals Vendor=0689, Product=D010 Serial Number= 47: ... Ok, added as device #2 62: ... IPCwrite 0000[8] = 0.000000 62: Device #2 received: META FormatVersion = 2 62: Device #1 received: META FormatVersion = 2 62: Device #1 received: META ReportSupported = Class 08, Cmd 0001, Indx 0 62: Device #1 received: META ReportSupported = Class 08, Cmd 0003, Indx 0 62: Device #1 received: META ReportSupported = Class 08, Cmd 0002, Indx 0 78: Device #2 Raw[41] = 02 FE 00 02 00 00 00 00 00 00 00 00 00 00 00 00 78: 00 00 00 00 00 02 FF 01 02 00 00 00 00 00 00 00 78: 00 00 00 00 00 00 00 00 00 78: Device #2: Unhandled Calibration (select 0, type 2) 78: Device #2 received: META FormatVersion = 2 78: Device #2 received: META FirmwareDate = ID 53264, 2011-12-19 78: Device #1 received: META ReportSupported = Class 08, Cmd 0004, Indx 0 78: Device #1 received: META ReportSupported = Class 07, Cmd 0001, Indx 0 93: Device #2 received: META FirmwareVersion = ID 53264, 1.3) 93: Device #2 received: META ReqFullReport 93: Device #1 received: META ElevTrimLimits = 0 to 239 93: Device #1 received: META ReportSupported = Class FF, Cmd 0011, Indx 0 109: Device #1 received: META ReportSupported = Class FF, Cmd 0012, Indx 0 109: Device #1 received: META ReportSupported = Class 09, Cmd 0001, Indx 0 109: Device #1 received: META ReportSupported = Class 09, Cmd 0002, Indx 0 140: Device #1 received: META FirmwareDate = ID 4098, 2010-7-19 140: Device #1 received: META FirmwareVersion = ID 4098, 4.1) 156: Device #1 received: META FormatVersion = 2 156: Device #1 received: META ReportSupported = Class 08, Cmd 0001, Indx 0 171: Device #1 received: META ReportSupported = Class 08, Cmd 0003, Indx 0 171: Device #1 received: META ReportSupported = Class 08, Cmd 0002, Indx 0 187: Device #1 received: META ReportSupported = Class 08, Cmd 0004, Indx 0 187: Device #1 received: META ReportSupported = Class 07, Cmd 0001, Indx 0 203: Device #1 received: META ElevTrimLimits = 0 to 239 203: Device #1 received: META ReportSupported = Class FF, Cmd 0011, Indx 0 218: Device #1 received: META ReportSupported = Class FF, Cmd 0012, Indx 0 218: Device #1 received: META ReportSupported = Class 09, Cmd 0001, Indx 0 234: Device #1 received: META ReportSupported = Class 09, Cmd 0002, Indx 0 234: Device #1 received: META FirmwareDate = ID 4098, 2010-7-19 234: Device #1 received: META FirmwareVersion = ID 4098, 4.1) 249: Device #1 Raw[41] = 02 FF 0E 00 00 00 00 00 00 00 00 00 00 00 00 00 249: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 249: 00 00 00 00 00 00 00 00 00 249: Device #1 received: META Unhandled metadata 14 (EquipAddedRemoved) 265: Device #1 received: ThrottleQuad[0] = 1023 (-16384 normalised) 312: Device #1 received: ThrottleQuad[2] = 0 (16383 normalised) 327: Device #1 received: ThrottleQuad[3] = 1023 (-16384 normalised) 327: Device #1 received: ThrottleQuad[4] = 48 (14847 normalised) 359: Device #1 received: ThrottleQuad[5] = 1023 (-16384 normalised) 359: Device #1 received: ApDisconnect[0] = 0 374: Device #1 received: PitchTrim[0] = 0 374: Full macroname for decoded switch = "PFC:PitchTrim" 374: Device #1 received: Cws[0] = 0 374: Full macroname for decoded switch = "PFC:Cws" 390: Device #1 received: Ailerons[0] = 597 (0 normalised) 405: Device #1 received: Elevator[0] = 516 (-81 normalised) 421: Device #1 received: RudderTrim[0] = 512 (0 normalised) 437: Device #1 received: AileronTrim[0] = 514 (64 normalised) 437: Device #1 received: ElevatorTrim[0] = 128 (1165 normalised) 468: Device #1 received: CowlFlaps[0] = 2 499: Device #1 received: CowlFlaps[1] = 2 515: Device #1 received: FuelSelect[0] = 0 515: Full macroname for decoded switch = "PFC:FuelSelect" 515: ... IPCwrite 3880[4] = 0, 0x0 515: ... IPCwrite 37C0[4] = 0, 0x0 515: ... IPCwrite 3700[4] = 0, 0x0 515: ... IPCwrite 3640[4] = 0, 0x0 515: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 515: Device #1 received: GoAround[0] = 0 515: Full macroname for decoded switch = "PFC:GoAround" 515: Device #1 received: Flaps[0] = 2 530: Device #1 received: Alternator[0] = 0 530: Full macroname for decoded switch = "PFC:Alternator" 530: ... IPCwrite 3B78[4] = 0, 0x0 530: ... IPCwrite 3AB8[4] = 0, 0x0 530: ... IPCwrite 39F8[4] = 0, 0x0 530: ... IPCwrite 3938[4] = 0, 0x0 530: ScanList[1] = "Alternator", unit 0, data 00000000 (len 4) 546: Device #1 received: Alternator[1] = 0 546: Full macroname for decoded switch = "PFC:Alternator2" 546: ... IPCwrite 3AB8[4] = 0, 0x0 546: ScanList[2] = "Alternator", unit 1, data 00000000 (len 4) 561: Device #1 received: FuelBoost[0] = 0 561: Full macroname for decoded switch = "PFC:FuelBoost" 561: ScanList[3] = "FuelBoost", unit 0, data 00000000 (len 1) 577: Device #1 received: FuelBoost[1] = 0 577: Full macroname for decoded switch = "PFC:FuelBoost2" 577: ScanList[4] = "FuelBoost", unit 1, data 00000000 (len 1) 608: Device #1 received: LandingGear[0] = 1 608: Full macroname for decoded switch = "PFC:LandingGear" 608: ... SendEvent 66080, Param=0 608: ScanList[5] = "LandingGear", unit 0, data 00000001 (len 4) 608: Device #1 received: Magneto[0] = 0 608: Full macroname for decoded switch = "PFC:Magneto" 608: ... IPCwrite 0892[2] = 0, 0x0 608: ... IPCwrite 092A[2] = 0, 0x0 608: ... IPCwrite 09C2[2] = 0, 0x0 608: ... IPCwrite 0A5A[2] = 0, 0x0 608: ScanList[6] = "Magneto", unit 0, data 00000000 (len 2) 624: Device #1 received: Magneto[1] = 0 624: Full macroname for decoded switch = "PFC:Magneto2" 624: ... IPCwrite 092A[2] = 0, 0x0 624: ScanList[7] = "Magneto", unit 1, data 00000000 (len 2) 624: Device #1 received: CarbHeater[0] = 0 624: Full macroname for decoded switch = "PFC:CarbHeater" 639: Device #1 received: Battery[0] = 0 639: Full macroname for decoded switch = "PFC:Battery" 639: ... IPCwrite 281C[4] = 0, 0x0 639: ScanList[8] = "Battery", unit 0, data 00000000 (len 4) 749: Device #1 received: Avionics[0] = 0 749: Full macroname for decoded switch = "PFC:Avionics" 749: ... IPCwrite 2E80[4] = 0, 0x0 749: ScanList[9] = "Avionics", unit 0, data 00000000 (len 4) 842: Device #1 received: AltAir[0] = 0 842: Full macroname for decoded switch = "PFC:AltAir" 842: ... IPCwrite 3800[8] = 0.000000 842: ... IPCwrite 3740[8] = 0.000000 842: ... IPCwrite 3680[8] = 0.000000 842: ... IPCwrite 35C0[8] = 0.000000 842: ScanList[10] = "AltAir", unit 0, data 00000000 (len 8) 842: Device #1 received: PitotHeat[0] = 0 842: Full macroname for decoded switch = "PFC:PitotHeat" 842: ... SendEvent 66073, Param=0 842: ScanList[11] = "PitotHeat", unit 0, data 00000000 (len 1) 842: Device #1 received: ParkingBrake[0] = 1 842: Full macroname for decoded switch = "PFC:ParkingBrake" 842: ... IPCwrite 0BC8[2] = 32767, 0x7FFF 842: ScanList[12] = "ParkingBrake", unit 0, data 00007FFF (len 2) 842: Device #1 received: CarbHeater[1] = 0 842: Full macroname for decoded switch = "PFC:CarbHeater2" 842: Device #1 received: META ReqFullReport 2527: Full macroname for decoded switch = "PFC:FuelSelect" 2527: ... IPCwrite 3880[4] = 0, 0x0 2527: ... IPCwrite 37C0[4] = 0, 0x0 2527: ... IPCwrite 3700[4] = 0, 0x0 2527: ... IPCwrite 3640[4] = 0, 0x0 2527: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 2855: Full macroname for decoded switch = "PFC:ParkingBrake" 2855: ... IPCwrite 0BC8[2] = 32767, 0x7FFF 2855: ScanList[12] = "ParkingBrake", unit 0, data 00007FFF (len 2) 3541: Full macroname for decoded switch = "PFC:FuelSelect" 3541: ... IPCwrite 3880[4] = 0, 0x0 3541: ... IPCwrite 37C0[4] = 0, 0x0 3541: ... IPCwrite 3700[4] = 0, 0x0 3541: ... IPCwrite 3640[4] = 0, 0x0 3541: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 4555: Full macroname for decoded switch = "PFC:FuelSelect" 4555: ... IPCwrite 3880[4] = 0, 0x0 4555: ... IPCwrite 37C0[4] = 0, 0x0 4555: ... IPCwrite 3700[4] = 0, 0x0 4555: ... IPCwrite 3640[4] = 0, 0x0 4555: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 5569: Full macroname for decoded switch = "PFC:FuelSelect" 5569: ... IPCwrite 3880[4] = 0, 0x0 5569: ... IPCwrite 37C0[4] = 0, 0x0 5569: ... IPCwrite 3700[4] = 0, 0x0 5569: ... IPCwrite 3640[4] = 0, 0x0 5569: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 6583: Full macroname for decoded switch = "PFC:FuelSelect" 6583: ... IPCwrite 3880[4] = 0, 0x0 6583: ... IPCwrite 37C0[4] = 0, 0x0 6583: ... IPCwrite 3700[4] = 0, 0x0 6583: ... IPCwrite 3640[4] = 0, 0x0 6583: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 6848: Full macroname for decoded switch = "PFC:AltAir" 6848: ... IPCwrite 3800[8] = 0.000000 6848: ... IPCwrite 3740[8] = 0.000000 6848: ... IPCwrite 3680[8] = 0.000000 6848: ... IPCwrite 35C0[8] = 0.000000 6848: ScanList[10] = "AltAir", unit 0, data 00000000 (len 8) 6911: Device #1 received: Avionics[0] = 1 6911: Full macroname for decoded switch = "PFC:Avionics" 6911: ... IPCwrite 2E80[4] = 1, 0x1 6911: ScanList[9] = "Avionics", unit 0, data 00000001 (len 4) 7597: Full macroname for decoded switch = "PFC:FuelSelect" 7597: ... IPCwrite 3880[4] = 0, 0x0 7597: ... IPCwrite 37C0[4] = 0, 0x0 7597: ... IPCwrite 3700[4] = 0, 0x0 7597: ... IPCwrite 3640[4] = 0, 0x0 7597: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 8611: Full macroname for decoded switch = "PFC:FuelSelect" 8611: ... IPCwrite 3880[4] = 0, 0x0 8611: ... IPCwrite 37C0[4] = 0, 0x0 8611: ... IPCwrite 3700[4] = 0, 0x0 8611: ... IPCwrite 3640[4] = 0, 0x0 8611: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 8798: Device #1 received: Avionics[0] = 0 8798: Full macroname for decoded switch = "PFC:Avionics" 8798: ... IPCwrite 2E80[4] = 0, 0x0 8798: ScanList[9] = "Avionics", unit 0, data 00000000 (len 4) 9625: Full macroname for decoded switch = "PFC:FuelSelect" 9625: ... IPCwrite 3880[4] = 0, 0x0 9625: ... IPCwrite 37C0[4] = 0, 0x0 9625: ... IPCwrite 3700[4] = 0, 0x0 9625: ... IPCwrite 3640[4] = 0, 0x0 9625: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 10468: Device #1 received: Avionics[0] = 1 10468: Full macroname for decoded switch = "PFC:Avionics" 10468: ... IPCwrite 2E80[4] = 1, 0x1 10468: ScanList[9] = "Avionics", unit 0, data 00000001 (len 4) 10639: Full macroname for decoded switch = "PFC:FuelSelect" 10639: ... IPCwrite 3880[4] = 0, 0x0 10639: ... IPCwrite 37C0[4] = 0, 0x0 10639: ... IPCwrite 3700[4] = 0, 0x0 10639: ... IPCwrite 3640[4] = 0, 0x0 10639: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 11653: Full macroname for decoded switch = "PFC:FuelSelect" 11653: ... IPCwrite 3880[4] = 0, 0x0 11653: ... IPCwrite 37C0[4] = 0, 0x0 11653: ... IPCwrite 3700[4] = 0, 0x0 11653: ... IPCwrite 3640[4] = 0, 0x0 11653: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 11856: Full macroname for decoded switch = "PFC:AltAir" 11856: ... IPCwrite 3800[8] = 0.000000 11856: ... IPCwrite 3740[8] = 0.000000 11856: ... IPCwrite 3680[8] = 0.000000 11856: ... IPCwrite 35C0[8] = 0.000000 11856: ScanList[10] = "AltAir", unit 0, data 00000000 (len 8) 12043: Device #1 received: Avionics[0] = 0 12043: Full macroname for decoded switch = "PFC:Avionics" 12043: ... IPCwrite 2E80[4] = 0, 0x0 12043: ScanList[9] = "Avionics", unit 0, data 00000000 (len 4) 12667: Full macroname for decoded switch = "PFC:FuelSelect" 12667: ... IPCwrite 3880[4] = 0, 0x0 12667: ... IPCwrite 37C0[4] = 0, 0x0 12667: ... IPCwrite 3700[4] = 0, 0x0 12667: ... IPCwrite 3640[4] = 0, 0x0 12667: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 13244: Device #1 received: Avionics[0] = 1 13244: Full macroname for decoded switch = "PFC:Avionics" 13244: ... IPCwrite 2E80[4] = 1, 0x1 13244: ScanList[9] = "Avionics", unit 0, data 00000001 (len 4) 13681: Full macroname for decoded switch = "PFC:FuelSelect" 13681: ... IPCwrite 3880[4] = 0, 0x0 13681: ... IPCwrite 37C0[4] = 0, 0x0 13681: ... IPCwrite 3700[4] = 0, 0x0 13681: ... IPCwrite 3640[4] = 0, 0x0 13681: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 14633: Device #1 received: Avionics[0] = 0 14633: Full macroname for decoded switch = "PFC:Avionics" 14633: ... IPCwrite 2E80[4] = 0, 0x0 14633: ScanList[9] = "Avionics", unit 0, data 00000000 (len 4) 14758: Full macroname for decoded switch = "PFC:FuelSelect" 14758: ... IPCwrite 3880[4] = 0, 0x0 14758: ... IPCwrite 37C0[4] = 0, 0x0 14758: ... IPCwrite 3700[4] = 0, 0x0 14758: ... IPCwrite 3640[4] = 0, 0x0 14758: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 15772: Full macroname for decoded switch = "PFC:FuelSelect" 15772: ... IPCwrite 3880[4] = 0, 0x0 15772: ... IPCwrite 37C0[4] = 0, 0x0 15772: ... IPCwrite 3700[4] = 0, 0x0 15772: ... IPCwrite 3640[4] = 0, 0x0 15772: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 17004: Full macroname for decoded switch = "PFC:FuelSelect" 17004: ... IPCwrite 3880[4] = 0, 0x0 17004: ... IPCwrite 37C0[4] = 0, 0x0 17004: ... IPCwrite 3700[4] = 0, 0x0 17004: ... IPCwrite 3640[4] = 0, 0x0 17004: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 17004: Full macroname for decoded switch = "PFC:AltAir" 17004: ... IPCwrite 3800[8] = 0.000000 17004: ... IPCwrite 3740[8] = 0.000000 17004: ... IPCwrite 3680[8] = 0.000000 17004: ... IPCwrite 35C0[8] = 0.000000 17004: ScanList[10] = "AltAir", unit 0, data 00000000 (len 8) 20311: Device #1 received: META FormatVersion = 2 20311: Device #1 received: META ReportSupported = Class 08, Cmd 0001, Indx 0 20311: Device #1 received: META ReportSupported = Class 08, Cmd 0003, Indx 0 20311: Device #1 received: META ReportSupported = Class 08, Cmd 0002, Indx 0 20311: Device #1 received: META ReportSupported = Class 08, Cmd 0004, Indx 0 20311: Device #1 received: META ReportSupported = Class 07, Cmd 0001, Indx 0 20311: Device #1 received: META ElevTrimLimits = 0 to 239 20311: Device #1 received: META ReportSupported = Class FF, Cmd 0011, Indx 0 20311: Device #1 received: META ReportSupported = Class FF, Cmd 0012, Indx 0 20311: Device #1 received: META ReportSupported = Class 09, Cmd 0001, Indx 0 20311: Device #1 received: META ReportSupported = Class 09, Cmd 0002, Indx 0 20311: Device #1 received: META FirmwareDate = ID 4098, 2010-7-19 20311: Device #1 received: META FirmwareVersion = ID 4098, 4.1) 20311: Device #1 Raw[41] = 02 FF 0E 00 00 00 00 00 00 00 00 00 00 00 00 00 20311: 00 00 00 00 00 02 01 00 09 00 FF 03 00 00 00 46 20311: 00 00 FF 03 00 00 00 00 00 20311: Device #1 received: META Unhandled metadata 14 (EquipAddedRemoved) 20311: Device #1 received: ThrottleQuad[2] = 0 (16383 normalised) 20561: Device #1 received: ThrottleQuad[3] = 1023 (-16384 normalised) 20561: Device #1 received: ThrottleQuad[4] = 48 (14847 normalised) 20561: Device #1 received: ThrottleQuad[5] = 1023 (-16384 normalised) 20561: Device #1 received: ApDisconnect[0] = 0 20561: Device #1 received: PitchTrim[0] = 0 20561: Device #1 received: Cws[0] = 0 20561: Device #1 received: CowlFlaps[0] = 2 20561: Device #1 received: CowlFlaps[1] = 2 20561: Device #1 received: FuelSelect[0] = 0 20561: Full macroname for decoded switch = "PFC:FuelSelect" 20561: ... IPCwrite 3880[4] = 0, 0x0 20561: ... IPCwrite 37C0[4] = 0, 0x0 20561: ... IPCwrite 3700[4] = 0, 0x0 20561: ... IPCwrite 3640[4] = 0, 0x0 20561: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 20561: Device #1 received: GoAround[0] = 0 20561: Full macroname for decoded switch = "PFC:GoAround" 20561: Device #1 received: Flaps[0] = 2 20561: Device #1 received: Alternator[0] = 0 20561: Full macroname for decoded switch = "PFC:Alternator" 20561: ... IPCwrite 3B78[4] = 0, 0x0 20561: ScanList[1] = "Alternator", unit 0, data 00000000 (len 4) 20561: Device #1 received: Alternator[1] = 0 20561: Full macroname for decoded switch = "PFC:Alternator2" 20561: ... IPCwrite 3AB8[4] = 0, 0x0 20561: ScanList[2] = "Alternator", unit 1, data 00000000 (len 4) 20561: Device #1 received: FuelBoost[0] = 0 20561: Full macroname for decoded switch = "PFC:FuelBoost" 20561: ScanList[3] = "FuelBoost", unit 0, data 00000000 (len 1) 20810: Device #1 received: FuelBoost[1] = 0 20810: Full macroname for decoded switch = "PFC:FuelBoost2" 20810: ScanList[4] = "FuelBoost", unit 1, data 00000000 (len 1) 20810: Device #1 received: LandingGear[0] = 1 20810: Full macroname for decoded switch = "PFC:LandingGear" 20810: ... SendEvent 66080, Param=0 20810: ScanList[5] = "LandingGear", unit 0, data 00000001 (len 4) 20810: Device #1 received: Magneto[0] = 0 20810: Full macroname for decoded switch = "PFC:Magneto" 20810: ... IPCwrite 0892[2] = 0, 0x0 20810: ScanList[6] = "Magneto", unit 0, data 00000000 (len 2) 20810: Device #1 received: Magneto[1] = 0 20810: Full macroname for decoded switch = "PFC:Magneto2" 20810: ... IPCwrite 092A[2] = 0, 0x0 20810: ScanList[7] = "Magneto", unit 1, data 00000000 (len 2) 20810: Device #1 received: CarbHeater[0] = 0 20810: Full macroname for decoded switch = "PFC:CarbHeater" 20810: Device #1 received: Battery[0] = 0 20810: Full macroname for decoded switch = "PFC:Battery" 20810: ... IPCwrite 281C[4] = 0, 0x0 20810: ScanList[8] = "Battery", unit 0, data 00000000 (len 4) 20810: Device #1 received: Avionics[0] = 0 20810: Full macroname for decoded switch = "PFC:Avionics" 20810: ... IPCwrite 2E80[4] = 0, 0x0 20810: ScanList[9] = "Avionics", unit 0, data 00000000 (len 4) 20810: Device #1 received: AltAir[0] = 0 20810: Full macroname for decoded switch = "PFC:AltAir" 20810: ... IPCwrite 3800[8] = 0.000000 20810: ... IPCwrite 3740[8] = 0.000000 20810: ... IPCwrite 3680[8] = 0.000000 20810: ... IPCwrite 35C0[8] = 0.000000 20810: ScanList[10] = "AltAir", unit 0, data 00000000 (len 8) 20810: Device #1 received: PitotHeat[0] = 0 20810: Full macroname for decoded switch = "PFC:PitotHeat" 20810: ... SendEvent 66073, Param=0 20810: ScanList[11] = "PitotHeat", unit 0, data 00000000 (len 1) 20810: Device #1 received: ParkingBrake[0] = 1 20810: Full macroname for decoded switch = "PFC:ParkingBrake" 20810: ScanList[12] = "ParkingBrake", unit 0, data 00007FFF (len 2) 20810: Device #1 received: CarbHeater[1] = 0 20810: Full macroname for decoded switch = "PFC:CarbHeater2" 20810: Device #1 received: META ReqFullReport 26052: Full macroname for decoded switch = "PFC:AltAir" 26052: ... IPCwrite 3800[8] = 0.000000 26052: ... IPCwrite 3740[8] = 0.000000 26052: ... IPCwrite 3680[8] = 0.000000 26052: ... IPCwrite 35C0[8] = 0.000000 26052: ScanList[10] = "AltAir", unit 0, data 00000000 (len 8) 31294: Full macroname for decoded switch = "PFC:AltAir" 31294: ... IPCwrite 3800[8] = 0.000000 31294: ... IPCwrite 3740[8] = 0.000000 31294: ... IPCwrite 3680[8] = 0.000000 31294: ... IPCwrite 35C0[8] = 0.000000 31294: ScanList[10] = "AltAir", unit 0, data 00000000 (len 8)
Pete Dowson Posted June 15, 2014 Report Posted June 15, 2014 Okay, new log Sorry, that's the same as before. Please use these logging options: [Debug] Console=No LogComms=no LogData=No LogDecode=Yes LogDevices=yes LogDeviceChanges=no LogToDebugger=No LogIPCwrites=Yes LogTxData=No LogReadCounts=No LogMacroNames=Yes You'll need to restart FS of course. Also, it's using PFC.MCRO. Are you sure that's the one you showed me? Pete
amnz Posted June 15, 2014 Author Report Posted June 15, 2014 Yes, I am using pfc.mcro and that is the one I showed you... PFC HID LOG: ********* PFChid, Version 1.40 by Pete Dowson ********* 0: Listing macros from "D:\FSX\Modules\PFC.mcro" 0: INI section "Config" selected 0: Macro file to be used: "PFC" 0: Error 6 [00000006] returned on HidD_GetAttributes: (\\?\hid#vid_046d&pid_c52e&mi_00#7&b26e42b&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}) 0: Error 6 [00000006] returned on HidD_GetAttributes: (\\?\hid#vid_046d&pid_c52e&mi_01&col01#7&2efe21ed&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}) Manufacturer= Precision Flight Controls, Inc. Product= PFC Cirrus II Pro Vendor=0689, Product=C200 Serial Number= 31: ... Ok, added as device #1 Manufacturer= Precision Flight Controls, Inc. Product= PFC MFD Rudder Pedals Vendor=0689, Product=D010 Serial Number= 47: ... Ok, added as device #2 78: ... IPCwrite 0000[8] = 0.000000 78: Device #2 received: META FormatVersion = 2 78: Device #1 received: META FormatVersion = 2 78: Device #1 received: META ReportSupported = Class 08, Cmd 0001, Indx 0 78: Device #1 received: META ReportSupported = Class 08, Cmd 0003, Indx 0 78: Device #1 received: META ReportSupported = Class 08, Cmd 0002, Indx 0 78: Device #1 received: META ReportSupported = Class 08, Cmd 0004, Indx 0 94: Device #2 Raw[41] = 02 FE 00 02 00 00 00 00 00 00 00 00 00 00 00 00 94: 00 00 00 00 00 02 FF 01 02 00 00 00 00 00 00 00 94: 00 00 00 00 00 00 00 00 00 94: Device #2: Unhandled Calibration (select 0, type 2) 94: Device #2 received: META FormatVersion = 2 94: Device #2 received: META FirmwareDate = ID 53264, 2011-12-19 94: Device #1 received: META ReportSupported = Class 07, Cmd 0001, Indx 0 94: Device #1 received: META ElevTrimLimits = 0 to 239 109: Device #2 received: META FirmwareVersion = ID 53264, 1.3) 109: Device #2 received: META ReqFullReport 109: Device #1 received: META ReportSupported = Class FF, Cmd 0011, Indx 0 109: Device #1 received: META ReportSupported = Class FF, Cmd 0012, Indx 0 125: Device #1 received: META ReportSupported = Class 09, Cmd 0001, Indx 0 125: Device #1 received: META ReportSupported = Class 09, Cmd 0002, Indx 0 125: Device #1 received: META FirmwareDate = ID 4098, 2010-7-19 140: Device #1 received: AileronTrim[0] = 514 (64 normalised) 140: Device #1 received: META FirmwareVersion = ID 4098, 4.1) 156: Device #1 received: META FormatVersion = 2 156: Device #1 received: META ReportSupported = Class 08, Cmd 0001, Indx 0 172: Device #1 received: META ReportSupported = Class 08, Cmd 0003, Indx 0 172: Device #1 received: META ReportSupported = Class 08, Cmd 0002, Indx 0 187: Device #1 received: META ReportSupported = Class 08, Cmd 0004, Indx 0 187: Device #1 received: META ReportSupported = Class 07, Cmd 0001, Indx 0 218: Device #1 received: META ElevTrimLimits = 0 to 239 218: Device #1 received: META ReportSupported = Class FF, Cmd 0011, Indx 0 234: Device #1 received: META ReportSupported = Class FF, Cmd 0012, Indx 0 234: Device #1 received: META ReportSupported = Class 09, Cmd 0001, Indx 0 250: Device #1 received: META ReportSupported = Class 09, Cmd 0002, Indx 0 250: Device #1 received: META FirmwareDate = ID 4098, 2010-7-19 250: Device #1 received: META FirmwareVersion = ID 4098, 4.1) 281: Device #1 Raw[41] = 02 FF 0E 00 00 00 00 00 00 00 00 00 00 00 00 00 281: 00 00 00 00 00 02 01 00 09 00 FF 03 00 00 00 46 281: 00 00 FF 03 00 00 00 00 00 281: Device #1 received: META Unhandled metadata 14 (EquipAddedRemoved) 281: Device #1 received: ThrottleQuad[0] = 1023 (-16384 normalised) 328: Device #1 received: ThrottleQuad[2] = 0 (16383 normalised) 343: Device #1 received: ThrottleQuad[3] = 1023 (-16384 normalised) 359: Device #1 received: ThrottleQuad[4] = 48 (14847 normalised) 359: Device #1 received: ThrottleQuad[5] = 1023 (-16384 normalised) 374: Device #1 received: ApDisconnect[0] = 0 374: Device #1 received: PitchTrim[0] = 0 374: Full macroname for decoded switch = "PFC:PitchTrim" 406: Device #1 received: Cws[0] = 0 406: Full macroname for decoded switch = "PFC:Cws" 406: Device #1 received: Ailerons[0] = 597 (0 normalised) 421: Device #1 received: Elevator[0] = 515 (-40 normalised) 437: Device #1 received: RudderTrim[0] = 511 (-32 normalised) 452: Device #1 received: ElevatorTrim[0] = 118 (-206 normalised) 484: Device #1 received: CowlFlaps[0] = 2 499: Device #1 received: CowlFlaps[1] = 2 515: Device #1 received: FuelSelect[0] = 0 515: Full macroname for decoded switch = "PFC:FuelSelect" 515: ... IPCwrite 3880[4] = 0, 0x0 515: ... IPCwrite 37C0[4] = 0, 0x0 515: ... IPCwrite 3700[4] = 0, 0x0 515: ... IPCwrite 3640[4] = 0, 0x0 515: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 530: Device #1 received: GoAround[0] = 0 530: Full macroname for decoded switch = "PFC:GoAround" 530: Device #1 received: Flaps[0] = 2 546: Device #1 received: Alternator[0] = 0 546: Full macroname for decoded switch = "PFC:Alternator" 546: ... IPCwrite 3B78[4] = 0, 0x0 546: ... IPCwrite 3AB8[4] = 0, 0x0 546: ... IPCwrite 39F8[4] = 0, 0x0 546: ... IPCwrite 3938[4] = 0, 0x0 546: ScanList[1] = "Alternator", unit 0, data 00000000 (len 4) 577: Device #1 received: Alternator[1] = 0 577: Full macroname for decoded switch = "PFC:Alternator2" 577: ... IPCwrite 3AB8[4] = 0, 0x0 577: ScanList[2] = "Alternator", unit 1, data 00000000 (len 4) 593: Device #1 received: FuelBoost[0] = 0 593: Full macroname for decoded switch = "PFC:FuelBoost" 593: ScanList[3] = "FuelBoost", unit 0, data 00000000 (len 1) 593: Device #1 received: FuelBoost[1] = 0 593: Full macroname for decoded switch = "PFC:FuelBoost2" 593: ScanList[4] = "FuelBoost", unit 1, data 00000000 (len 1) 608: Device #1 received: LandingGear[0] = 1 608: Full macroname for decoded switch = "PFC:LandingGear" 608: ... SendEvent 66080, Param=0 608: ScanList[5] = "LandingGear", unit 0, data 00000001 (len 4) 624: Device #1 received: Magneto[0] = 0 624: Full macroname for decoded switch = "PFC:Magneto" 624: ... IPCwrite 0892[2] = 0, 0x0 624: ... IPCwrite 092A[2] = 0, 0x0 624: ... IPCwrite 09C2[2] = 0, 0x0 624: ... IPCwrite 0A5A[2] = 0, 0x0 624: ScanList[6] = "Magneto", unit 0, data 00000000 (len 2) 624: Device #1 received: Magneto[1] = 0 624: Full macroname for decoded switch = "PFC:Magneto2" 624: ... IPCwrite 092A[2] = 0, 0x0 624: ScanList[7] = "Magneto", unit 1, data 00000000 (len 2) 640: Device #1 received: CarbHeater[0] = 0 640: Full macroname for decoded switch = "PFC:CarbHeater" 640: Device #1 received: Battery[0] = 0 640: Full macroname for decoded switch = "PFC:Battery" 640: ... IPCwrite 281C[4] = 0, 0x0 640: ScanList[8] = "Battery", unit 0, data 00000000 (len 4) 733: Device #1 received: Avionics[0] = 0 733: Full macroname for decoded switch = "PFC:Avionics" 733: ... IPCwrite 2E80[4] = 0, 0x0 733: ScanList[9] = "Avionics", unit 0, data 00000000 (len 4) 842: Device #1 received: AltAir[0] = 0 842: Full macroname for decoded switch = "PFC:AltAir" 842: ... IPCwrite 3800[8] = 0.000000 842: ... IPCwrite 3740[8] = 0.000000 842: ... IPCwrite 3680[8] = 0.000000 842: ... IPCwrite 35C0[8] = 0.000000 842: ScanList[10] = "AltAir", unit 0, data 00000000 (len 8) 842: Device #1 received: PitotHeat[0] = 0 842: Full macroname for decoded switch = "PFC:PitotHeat" 842: ... SendEvent 66073, Param=0 842: ScanList[11] = "PitotHeat", unit 0, data 00000000 (len 1) 842: Device #1 received: ParkingBrake[0] = 1 842: Full macroname for decoded switch = "PFC:ParkingBrake" 842: ... IPCwrite 0BC8[2] = 32767, 0x7FFF 842: ScanList[12] = "ParkingBrake", unit 0, data 00007FFF (len 2) 842: Device #1 received: CarbHeater[1] = 0 842: Full macroname for decoded switch = "PFC:CarbHeater2" 842: Device #1 received: META ReqFullReport 905: Device #1 received: ElevatorTrim[0] = 128 (1165 normalised) 2527: Full macroname for decoded switch = "PFC:FuelSelect" 2527: ... IPCwrite 3880[4] = 0, 0x0 2527: ... IPCwrite 37C0[4] = 0, 0x0 2527: ... IPCwrite 3700[4] = 0, 0x0 2527: ... IPCwrite 3640[4] = 0, 0x0 2527: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 3510: Device #1 received: Avionics[0] = 1 3510: Full macroname for decoded switch = "PFC:Avionics" 3510: ... IPCwrite 2E80[4] = 1, 0x1 3510: ScanList[9] = "Avionics", unit 0, data 00000001 (len 4) 3619: Full macroname for decoded switch = "PFC:FuelSelect" 3619: ... IPCwrite 3880[4] = 0, 0x0 3619: ... IPCwrite 37C0[4] = 0, 0x0 3619: ... IPCwrite 3700[4] = 0, 0x0 3619: ... IPCwrite 3640[4] = 0, 0x0 3619: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 4633: Full macroname for decoded switch = "PFC:FuelSelect" 4633: ... IPCwrite 3880[4] = 0, 0x0 4633: ... IPCwrite 37C0[4] = 0, 0x0 4633: ... IPCwrite 3700[4] = 0, 0x0 4633: ... IPCwrite 3640[4] = 0, 0x0 4633: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 5132: Device #1 received: Avionics[0] = 0 5132: Full macroname for decoded switch = "PFC:Avionics" 5132: ... IPCwrite 2E80[4] = 0, 0x0 5132: ScanList[9] = "Avionics", unit 0, data 00000000 (len 4) 5647: Full macroname for decoded switch = "PFC:FuelSelect" 5647: ... IPCwrite 3880[4] = 0, 0x0 5647: ... IPCwrite 37C0[4] = 0, 0x0 5647: ... IPCwrite 3700[4] = 0, 0x0 5647: ... IPCwrite 3640[4] = 0, 0x0 5647: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 6037: Device #1 received: Avionics[0] = 1 6037: Full macroname for decoded switch = "PFC:Avionics" 6037: ... IPCwrite 2E80[4] = 1, 0x1 6037: ScanList[9] = "Avionics", unit 0, data 00000001 (len 4) 6677: Full macroname for decoded switch = "PFC:FuelSelect" 6677: ... IPCwrite 3880[4] = 0, 0x0 6677: ... IPCwrite 37C0[4] = 0, 0x0 6677: ... IPCwrite 3700[4] = 0, 0x0 6677: ... IPCwrite 3640[4] = 0, 0x0 6677: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 6848: Full macroname for decoded switch = "PFC:AltAir" 6848: ... IPCwrite 3800[8] = 0.000000 6848: ... IPCwrite 3740[8] = 0.000000 6848: ... IPCwrite 3680[8] = 0.000000 6848: ... IPCwrite 35C0[8] = 0.000000 6848: ScanList[10] = "AltAir", unit 0, data 00000000 (len 8) 7192: Device #1 received: Avionics[0] = 0 7192: Full macroname for decoded switch = "PFC:Avionics" 7192: ... IPCwrite 2E80[4] = 0, 0x0 7192: ScanList[9] = "Avionics", unit 0, data 00000000 (len 4) 7691: Full macroname for decoded switch = "PFC:FuelSelect" 7691: ... IPCwrite 3880[4] = 0, 0x0 7691: ... IPCwrite 37C0[4] = 0, 0x0 7691: ... IPCwrite 3700[4] = 0, 0x0 7691: ... IPCwrite 3640[4] = 0, 0x0 7691: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 8065: Device #1 received: Avionics[0] = 1 8065: Full macroname for decoded switch = "PFC:Avionics" 8065: ... IPCwrite 2E80[4] = 1, 0x1 8065: ScanList[9] = "Avionics", unit 0, data 00000001 (len 4) 8705: Full macroname for decoded switch = "PFC:FuelSelect" 8705: ... IPCwrite 3880[4] = 0, 0x0 8705: ... IPCwrite 37C0[4] = 0, 0x0 8705: ... IPCwrite 3700[4] = 0, 0x0 8705: ... IPCwrite 3640[4] = 0, 0x0 8705: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 9282: Device #1 received: Avionics[0] = 0 9282: Full macroname for decoded switch = "PFC:Avionics" 9282: ... IPCwrite 2E80[4] = 0, 0x0 9282: ScanList[9] = "Avionics", unit 0, data 00000000 (len 4) 9719: Full macroname for decoded switch = "PFC:FuelSelect" 9719: ... IPCwrite 3880[4] = 0, 0x0 9719: ... IPCwrite 37C0[4] = 0, 0x0 9719: ... IPCwrite 3700[4] = 0, 0x0 9719: ... IPCwrite 3640[4] = 0, 0x0 9719: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 9984: Device #1 received: Avionics[0] = 1 9984: Full macroname for decoded switch = "PFC:Avionics" 9984: ... IPCwrite 2E80[4] = 1, 0x1 9984: ScanList[9] = "Avionics", unit 0, data 00000001 (len 4) 10733: Full macroname for decoded switch = "PFC:FuelSelect" 10733: ... IPCwrite 3880[4] = 0, 0x0 10733: ... IPCwrite 37C0[4] = 0, 0x0 10733: ... IPCwrite 3700[4] = 0, 0x0 10733: ... IPCwrite 3640[4] = 0, 0x0 10733: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 11450: Device #1 received: Avionics[0] = 0 11450: Full macroname for decoded switch = "PFC:Avionics" 11450: ... IPCwrite 2E80[4] = 0, 0x0 11450: ScanList[9] = "Avionics", unit 0, data 00000000 (len 4) 11762: Full macroname for decoded switch = "PFC:FuelSelect" 11762: ... IPCwrite 3880[4] = 0, 0x0 11762: ... IPCwrite 37C0[4] = 0, 0x0 11762: ... IPCwrite 3700[4] = 0, 0x0 11762: ... IPCwrite 3640[4] = 0, 0x0 11762: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 11856: Full macroname for decoded switch = "PFC:AltAir" 11856: ... IPCwrite 3800[8] = 0.000000 11856: ... IPCwrite 3740[8] = 0.000000 11856: ... IPCwrite 3680[8] = 0.000000 11856: ... IPCwrite 35C0[8] = 0.000000 11856: ScanList[10] = "AltAir", unit 0, data 00000000 (len 8) 12839: Full macroname for decoded switch = "PFC:FuelSelect" 12839: ... IPCwrite 3880[4] = 0, 0x0 12839: ... IPCwrite 37C0[4] = 0, 0x0 12839: ... IPCwrite 3700[4] = 0, 0x0 12839: ... IPCwrite 3640[4] = 0, 0x0 12839: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 16380: Device #1 received: META FormatVersion = 2 16380: Device #1 received: META ReportSupported = Class 08, Cmd 0001, Indx 0 16380: Device #1 received: META ReportSupported = Class 08, Cmd 0003, Indx 0 16380: Device #1 received: META ReportSupported = Class 08, Cmd 0002, Indx 0 16380: Device #1 received: META ReportSupported = Class 08, Cmd 0004, Indx 0 16380: Device #1 received: META ReportSupported = Class 07, Cmd 0001, Indx 0 16380: Device #1 received: META ElevTrimLimits = 0 to 239 16380: Device #1 received: META ReportSupported = Class FF, Cmd 0011, Indx 0 16380: Device #1 received: META ReportSupported = Class FF, Cmd 0012, Indx 0 16380: Device #1 received: META ReportSupported = Class 09, Cmd 0001, Indx 0 16380: Device #1 received: META ReportSupported = Class 09, Cmd 0002, Indx 0 16380: Device #1 received: META FirmwareDate = ID 4098, 2010-7-19 16380: Device #1 received: META FirmwareVersion = ID 4098, 4.1) 16380: Device #1 Raw[41] = 02 FF 0E 00 00 00 00 00 00 00 00 00 00 00 00 00 16380: 00 00 00 00 00 02 01 00 09 00 FF 03 00 00 00 46 16380: 00 00 FF 03 00 00 00 00 00 16380: Device #1 received: META Unhandled metadata 14 (EquipAddedRemoved) 16380: Device #1 received: ThrottleQuad[2] = 0 (16383 normalised) 16380: Device #1 received: ThrottleQuad[3] = 1023 (-16384 normalised) 16380: Device #1 received: ThrottleQuad[4] = 48 (14847 normalised) 16380: Device #1 received: ThrottleQuad[5] = 1023 (-16384 normalised) 16380: Device #1 received: ApDisconnect[0] = 0 16380: Device #1 received: PitchTrim[0] = 0 16630: Device #1 received: Cws[0] = 0 16630: Device #1 received: CowlFlaps[0] = 2 16630: Device #1 received: CowlFlaps[1] = 2 16630: Device #1 received: FuelSelect[0] = 0 16630: Full macroname for decoded switch = "PFC:FuelSelect" 16630: ... IPCwrite 3880[4] = 0, 0x0 16630: ... IPCwrite 37C0[4] = 0, 0x0 16630: ... IPCwrite 3700[4] = 0, 0x0 16630: ... IPCwrite 3640[4] = 0, 0x0 16630: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 16630: Device #1 received: GoAround[0] = 0 16630: Full macroname for decoded switch = "PFC:GoAround" 16630: Device #1 received: Flaps[0] = 2 16630: Device #1 received: Alternator[0] = 0 16630: Full macroname for decoded switch = "PFC:Alternator" 16630: ... IPCwrite 3B78[4] = 0, 0x0 16630: ScanList[1] = "Alternator", unit 0, data 00000000 (len 4) 16630: Device #1 received: Alternator[1] = 0 16630: Full macroname for decoded switch = "PFC:Alternator2" 16630: ... IPCwrite 3AB8[4] = 0, 0x0 16630: ScanList[2] = "Alternator", unit 1, data 00000000 (len 4) 16630: Device #1 received: FuelBoost[0] = 0 16630: Full macroname for decoded switch = "PFC:FuelBoost" 16630: ScanList[3] = "FuelBoost", unit 0, data 00000000 (len 1) 16630: Device #1 received: FuelBoost[1] = 0 16630: Full macroname for decoded switch = "PFC:FuelBoost2" 16630: ScanList[4] = "FuelBoost", unit 1, data 00000000 (len 1) 16630: Device #1 received: LandingGear[0] = 1 16630: Full macroname for decoded switch = "PFC:LandingGear" 16630: ... SendEvent 66080, Param=0 16630: ScanList[5] = "LandingGear", unit 0, data 00000001 (len 4) 16630: Device #1 received: Magneto[0] = 0 16630: Full macroname for decoded switch = "PFC:Magneto" 16630: ... IPCwrite 0892[2] = 0, 0x0 16630: ScanList[6] = "Magneto", unit 0, data 00000000 (len 2) 16879: Device #1 received: Magneto[1] = 0 16879: Full macroname for decoded switch = "PFC:Magneto2" 16879: ... IPCwrite 092A[2] = 0, 0x0 16879: ScanList[7] = "Magneto", unit 1, data 00000000 (len 2) 16879: Device #1 received: CarbHeater[0] = 0 16879: Full macroname for decoded switch = "PFC:CarbHeater" 16879: Device #1 received: Battery[0] = 0 16879: Full macroname for decoded switch = "PFC:Battery" 16879: ... IPCwrite 281C[4] = 0, 0x0 16879: ScanList[8] = "Battery", unit 0, data 00000000 (len 4) 16879: Device #1 received: Avionics[0] = 0 16879: Full macroname for decoded switch = "PFC:Avionics" 16879: ... IPCwrite 2E80[4] = 0, 0x0 16879: ScanList[9] = "Avionics", unit 0, data 00000000 (len 4) 16879: Device #1 received: AltAir[0] = 0 16879: Full macroname for decoded switch = "PFC:AltAir" 16879: ... IPCwrite 3800[8] = 0.000000 16879: ... IPCwrite 3740[8] = 0.000000 16879: ... IPCwrite 3680[8] = 0.000000 16879: ... IPCwrite 35C0[8] = 0.000000 16879: ScanList[10] = "AltAir", unit 0, data 00000000 (len 8) 16879: Device #1 received: PitotHeat[0] = 0 16879: Full macroname for decoded switch = "PFC:PitotHeat" 16879: ... SendEvent 66073, Param=0 16879: ScanList[11] = "PitotHeat", unit 0, data 00000000 (len 1) 16879: Device #1 received: ParkingBrake[0] = 1 16879: Full macroname for decoded switch = "PFC:ParkingBrake" 16879: ScanList[12] = "ParkingBrake", unit 0, data 00007FFF (len 2) 16879: Device #1 received: CarbHeater[1] = 0 16879: Full macroname for decoded switch = "PFC:CarbHeater2" 17129: Device #1 received: META ReqFullReport ********* PFChid Log file closed ********* PFC HID INI: [Options] FlashAPcapts=Yes FlashMarkers=Yes FlashTransponder=Yes FlashADFindicator=Yes DMEuseRMIselect=Yes [Debug] Console=No LogComms=No LogData=No LogDecode=Yes LogDevices=Yes LogDeviceChanges=No LogToDebugger=No LogIPCwrites=Yes LogMacroNames=Yes LogTxData=No LogReadCounts=No [Config] TrimRange=256 ApBeepWave=sound\Caapdis AlertWave=sound\AltAlert MacroFilename=PFC
Pete Dowson Posted June 15, 2014 Report Posted June 15, 2014 Okay. Something is VERY VERY strange going on. Using simulation, here, all macros are correctly obeyed. I'm waiting for a response from my friend regarding 1.40, but even with 1.39 he was getting positive results in circumstances where you get nothing. I think I'm going to have to change the logging actions substantially to find out what is going on. I find it quite unbelievable the differences at present. :-( I've obviously got a real problem having on way to test on real hardware. I'm not sure when i can get to this. I'll let you know in this thread when I have something. BTW my friend actually did find that the macro entry "1=Avionics", with no actual macro action specified at all, did succeed too in avoiding the default action. Pete
amnz Posted June 15, 2014 Author Report Posted June 15, 2014 Well, if it is working fine for your friend than I guess that there is more reason to believe it is the faulty control chip acting up. Thanks for your help so far anyways. Regards,
Pete Dowson Posted June 15, 2014 Report Posted June 15, 2014 Well, if it is working fine for your friend than I guess that there is more reason to believe it is the faulty control chip acting up. No, don't get me wrong. I've not heard from him yet regarding 1.40. Earlier some things were working on his which didn't appear to be on yours. But the log doesn't show enough wrong (if anything wrong) with your firmware to explain how such a simple macro is being ignored. It's this latter aspect i find bewildering. It's deriving the right macro name yet not executing it. I'll do some changes in the logging and see if I can elicit more info about what is going on. Probably not today though. Pete
Pete Dowson Posted June 15, 2014 Report Posted June 15, 2014 Please get the log again with this one (small logging changes to get more info): Same options. http://fsuipc.simflight.com/beta/PFChid140a.zip Thanks, Pete
amnz Posted June 15, 2014 Author Report Posted June 15, 2014 Here you go: ********* PFChid, Version 1.40a by Pete Dowson ********* 0: Listing macros from "D:\FSX\Modules\PFC.mcro" 0: INI section "Config" selected 0: Macro file to be used: "PFC" 0: Error 6 [00000006] returned on HidD_GetAttributes: (\\?\hid#vid_046d&pid_c52e&mi_00#7&b26e42b&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}) 0: Error 6 [00000006] returned on HidD_GetAttributes: (\\?\hid#vid_046d&pid_c52e&mi_01&col01#7&2efe21ed&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}) Manufacturer= Precision Flight Controls, Inc. Product= PFC Cirrus II Pro Vendor=0689, Product=C200 Serial Number= 31: ... Ok, added as device #1 Manufacturer= Precision Flight Controls, Inc. Product= PFC MFD Rudder Pedals Vendor=0689, Product=D010 Serial Number= 47: ... Ok, added as device #2 62: ... IPCwrite 0000[8] = 0.000000 62: Device #2 received: META FormatVersion = 2 62: Device #2 Raw[41] = 02 FE 00 02 00 00 00 00 00 00 00 00 00 00 00 00 62: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 62: 00 00 00 00 00 00 00 00 00 62: Device #2: Unhandled Calibration (select 0, type 2) 62: Device #1 received: META FormatVersion = 2 62: Device #1 received: META ReportSupported = Class 08, Cmd 0001, Indx 0 62: Device #1 received: META ReportSupported = Class 08, Cmd 0003, Indx 0 62: Device #1 received: META ReportSupported = Class 08, Cmd 0002, Indx 0 94: Device #2 received: META FormatVersion = 2 94: Device #2 received: META FirmwareDate = ID 53264, 2011-12-19 94: Device #1 received: META ReportSupported = Class 08, Cmd 0004, Indx 0 94: Device #1 received: META ReportSupported = Class 07, Cmd 0001, Indx 0 109: Device #2 received: META FirmwareVersion = ID 53264, 1.3) 109: Device #2 received: META ReqFullReport 109: Device #1 received: META ElevTrimLimits = 0 to 239 109: Device #1 received: META ReportSupported = Class FF, Cmd 0011, Indx 0 125: Device #1 received: META ReportSupported = Class FF, Cmd 0012, Indx 0 125: Device #1 received: META ReportSupported = Class 09, Cmd 0001, Indx 0 125: Device #1 received: META ReportSupported = Class 09, Cmd 0002, Indx 0 140: Device #1 received: META FirmwareDate = ID 4098, 2010-7-19 140: Device #1 received: META FirmwareVersion = ID 4098, 4.1) 156: Device #1 received: META FormatVersion = 2 156: Device #1 received: META ReportSupported = Class 08, Cmd 0001, Indx 0 172: Device #1 received: META ReportSupported = Class 08, Cmd 0003, Indx 0 172: Device #1 received: META ReportSupported = Class 08, Cmd 0002, Indx 0 187: Device #1 received: META ReportSupported = Class 08, Cmd 0004, Indx 0 187: Device #1 received: META ReportSupported = Class 07, Cmd 0001, Indx 0 203: Device #1 received: META ElevTrimLimits = 0 to 239 203: Device #1 received: META ReportSupported = Class FF, Cmd 0011, Indx 0 218: Device #1 received: META ReportSupported = Class FF, Cmd 0012, Indx 0 218: Device #1 received: META ReportSupported = Class 09, Cmd 0001, Indx 0 218: Device #1 received: META ReportSupported = Class 09, Cmd 0002, Indx 0 250: Device #1 received: META FirmwareDate = ID 4098, 2010-7-19 250: Device #1 received: META FirmwareVersion = ID 4098, 4.1) 265: Device #1 Raw[41] = 02 FF 0E 00 00 00 00 00 00 00 00 00 00 00 00 00 265: 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 265: 00 00 00 00 00 00 00 00 00 265: Device #1 received: META Unhandled metadata 14 (EquipAddedRemoved) 281: Device #1 received: ThrottleQuad[0] = 1023 (-16384 normalised) 296: Device #1 received: ThrottleQuad[2] = 0 (16383 normalised) 312: Device #1 received: ThrottleQuad[3] = 1023 (-16384 normalised) 328: Device #1 received: ThrottleQuad[4] = 49 (14815 normalised) 343: Device #1 received: ThrottleQuad[5] = 1023 (-16384 normalised) 343: Device #1 received: AileronTrim[0] = 514 (64 normalised) 359: Device #1 received: ApDisconnect[0] = 0 359: Device #1 received: PitchTrim[0] = 0 359: Full macroname for decoded switch = "PFC:PitchTrim", mask = X00000000 374: Device #1 received: Cws[0] = 0 374: Full macroname for decoded switch = "PFC:Cws", mask = X00000000 390: Device #1 received: Ailerons[0] = 597 (0 normalised) 390: Device #1 received: Elevator[0] = 516 (-81 normalised) 406: Device #1 received: RudderTrim[0] = 512 (0 normalised) 452: Device #1 received: ElevatorTrim[0] = 128 (1165 normalised) 468: Device #1 received: CowlFlaps[0] = 2 484: Device #1 received: CowlFlaps[1] = 2 499: Device #1 received: FuelSelect[0] = 0 499: Full macroname for decoded switch = "PFC:FuelSelect", mask = X00000000 499: ... IPCwrite 3880[4] = 0, 0x0 499: ... IPCwrite 37C0[4] = 0, 0x0 499: ... IPCwrite 3700[4] = 0, 0x0 499: ... IPCwrite 3640[4] = 0, 0x0 499: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 499: Device #1 received: GoAround[0] = 0 499: Full macroname for decoded switch = "PFC:GoAround", mask = X00000000 499: Device #1 received: Flaps[0] = 2 530: Device #1 received: Alternator[0] = 0 530: Full macroname for decoded switch = "PFC:Alternator", mask = X00000000 530: ... IPCwrite 3B78[4] = 0, 0x0 530: ... IPCwrite 3AB8[4] = 0, 0x0 530: ... IPCwrite 39F8[4] = 0, 0x0 530: ... IPCwrite 3938[4] = 0, 0x0 530: ScanList[1] = "Alternator", unit 0, data 00000000 (len 4) 530: Device #1 received: Alternator[1] = 0 530: Full macroname for decoded switch = "PFC:Alternator2", mask = X00000000 530: ... IPCwrite 3AB8[4] = 0, 0x0 530: ScanList[2] = "Alternator", unit 1, data 00000000 (len 4) 562: Device #1 received: FuelBoost[0] = 0 562: Full macroname for decoded switch = "PFC:FuelBoost", mask = X00000000 562: ScanList[3] = "FuelBoost", unit 0, data 00000000 (len 1) 577: Device #1 received: FuelBoost[1] = 0 577: Full macroname for decoded switch = "PFC:FuelBoost2", mask = X00000000 577: ScanList[4] = "FuelBoost", unit 1, data 00000000 (len 1) 593: Device #1 received: LandingGear[0] = 1 593: Full macroname for decoded switch = "PFC:LandingGear", mask = X00000000 593: ... SendEvent 66080, Param=0 593: ScanList[5] = "LandingGear", unit 0, data 00000001 (len 4) 624: Device #1 received: Magneto[0] = 0 624: Full macroname for decoded switch = "PFC:Magneto", mask = X00000000 624: ... IPCwrite 0892[2] = 0, 0x0 624: ... IPCwrite 092A[2] = 0, 0x0 624: ... IPCwrite 09C2[2] = 0, 0x0 624: ... IPCwrite 0A5A[2] = 0, 0x0 624: ScanList[6] = "Magneto", unit 0, data 00000000 (len 2) 624: Device #1 received: Magneto[1] = 0 624: Full macroname for decoded switch = "PFC:Magneto2", mask = X00000000 624: ... IPCwrite 092A[2] = 0, 0x0 624: ScanList[7] = "Magneto", unit 1, data 00000000 (len 2) 640: Device #1 received: CarbHeater[0] = 0 640: Full macroname for decoded switch = "PFC:CarbHeater", mask = X00000000 640: Device #1 received: Battery[0] = 0 640: Full macroname for decoded switch = "PFC:Battery", mask = X00000000 640: ... IPCwrite 281C[4] = 0, 0x0 640: ScanList[8] = "Battery", unit 0, data 00000000 (len 4) 733: Device #1 received: Avionics[0] = 0 733: Full macroname for decoded switch = "PFC:Avionics", mask = X00000000 733: ... IPCwrite 2E80[4] = 0, 0x0 733: ScanList[9] = "Avionics", unit 0, data 00000000 (len 4) 827: Device #1 received: AltAir[0] = 0 827: Full macroname for decoded switch = "PFC:AltAir", mask = X00000000 827: ... IPCwrite 3800[8] = 0.000000 827: ... IPCwrite 3740[8] = 0.000000 827: ... IPCwrite 3680[8] = 0.000000 827: ... IPCwrite 35C0[8] = 0.000000 827: ScanList[10] = "AltAir", unit 0, data 00000000 (len 8) 827: Device #1 received: PitotHeat[0] = 0 827: Full macroname for decoded switch = "PFC:PitotHeat", mask = X00000000 827: ... SendEvent 66073, Param=0 827: ScanList[11] = "PitotHeat", unit 0, data 00000000 (len 1) 827: Device #1 received: ParkingBrake[0] = 1 827: Full macroname for decoded switch = "PFC:ParkingBrake", mask = X00000000 827: ... IPCwrite 0BC8[2] = 32767, 0x7FFF 827: ScanList[12] = "ParkingBrake", unit 0, data 00007FFF (len 2) 827: Device #1 received: CarbHeater[1] = 0 827: Full macroname for decoded switch = "PFC:CarbHeater2", mask = X00000000 827: Device #1 received: META ReqFullReport 2231: Device #1 received: ThrottleQuad[4] = 48 (14847 normalised) 5444: Device #1 received: Avionics[0] = 1 5444: Full macroname for decoded switch = "PFC:Avionics", mask = X00000000 5444: ... IPCwrite 2E80[4] = 1, 0x1 5444: ScanList[9] = "Avionics", unit 0, data 00000001 (len 4) 6318: Device #1 received: Avionics[0] = 0 6318: Full macroname for decoded switch = "PFC:Avionics", mask = X00000000 6318: ... IPCwrite 2E80[4] = 0, 0x0 6318: ScanList[9] = "Avionics", unit 0, data 00000000 (len 4) 7316: Device #1 received: Avionics[0] = 1 7316: Full macroname for decoded switch = "PFC:Avionics", mask = X00000000 7316: ... IPCwrite 2E80[4] = 1, 0x1 7316: ScanList[9] = "Avionics", unit 0, data 00000001 (len 4) 8346: Device #1 received: Avionics[0] = 0 8346: Full macroname for decoded switch = "PFC:Avionics", mask = X00000000 8346: ... IPCwrite 2E80[4] = 0, 0x0 8346: ScanList[9] = "Avionics", unit 0, data 00000000 (len 4) 9220: Device #1 received: Avionics[0] = 1 9220: Full macroname for decoded switch = "PFC:Avionics", mask = X00000000 9220: ... IPCwrite 2E80[4] = 1, 0x1 9220: ScanList[9] = "Avionics", unit 0, data 00000001 (len 4) 10093: Device #1 received: Avionics[0] = 0 10093: Full macroname for decoded switch = "PFC:Avionics", mask = X00000000 10093: ... IPCwrite 2E80[4] = 0, 0x0 10093: ScanList[9] = "Avionics", unit 0, data 00000000 (len 4) 14992: Device #1 received: META FormatVersion = 2 14992: Device #1 received: META ReportSupported = Class 08, Cmd 0001, Indx 0 14992: Device #1 received: META ReportSupported = Class 08, Cmd 0003, Indx 0 14992: Device #1 received: META ReportSupported = Class 08, Cmd 0002, Indx 0 14992: Device #1 received: META ReportSupported = Class 08, Cmd 0004, Indx 0 14992: Device #1 received: META ReportSupported = Class 07, Cmd 0001, Indx 0 14992: Device #1 received: META ElevTrimLimits = 0 to 239 14992: Device #1 received: META ReportSupported = Class FF, Cmd 0011, Indx 0 14992: Device #1 received: META ReportSupported = Class FF, Cmd 0012, Indx 0 14992: Device #1 received: META ReportSupported = Class 09, Cmd 0001, Indx 0 14992: Device #1 received: META ReportSupported = Class 09, Cmd 0002, Indx 0 14992: Device #1 received: META FirmwareDate = ID 4098, 2010-7-19 14992: Device #1 received: META FirmwareVersion = ID 4098, 4.1) 14992: Device #1 Raw[41] = 02 FF 0E 00 00 00 00 00 00 00 00 00 00 00 00 00 14992: 00 00 00 00 00 02 01 00 02 00 02 02 00 00 00 0A 14992: 00 00 00 00 00 00 00 00 00 14992: Device #1 received: META Unhandled metadata 14 (EquipAddedRemoved) 14992: Device #1 received: ThrottleQuad[0] = 1023 (-16384 normalised) 15241: Device #1 received: ThrottleQuad[2] = 0 (16383 normalised) 15241: Device #1 received: ThrottleQuad[3] = 1023 (-16384 normalised) 15241: Device #1 received: ThrottleQuad[4] = 49 (14815 normalised) 15241: Device #1 received: ThrottleQuad[5] = 1023 (-16384 normalised) 15241: Device #1 received: ApDisconnect[0] = 0 15241: Device #1 received: PitchTrim[0] = 0 15241: Device #1 received: Cws[0] = 0 15241: Device #1 received: CowlFlaps[0] = 2 15241: Device #1 received: CowlFlaps[1] = 2 15241: Device #1 received: FuelSelect[0] = 0 15241: Full macroname for decoded switch = "PFC:FuelSelect", mask = X00000000 15241: ... IPCwrite 3880[4] = 0, 0x0 15241: ... IPCwrite 37C0[4] = 0, 0x0 15241: ... IPCwrite 3700[4] = 0, 0x0 15241: ... IPCwrite 3640[4] = 0, 0x0 15241: ScanList[0] = "FuelSelect", unit 0, data 00000000 (len 4) 15241: Device #1 received: GoAround[0] = 0 15241: Full macroname for decoded switch = "PFC:GoAround", mask = X00000000 15241: Device #1 received: Flaps[0] = 2 15241: Device #1 received: Alternator[0] = 0 15241: Full macroname for decoded switch = "PFC:Alternator", mask = X00000000 15241: ... IPCwrite 3B78[4] = 0, 0x0 15241: ScanList[1] = "Alternator", unit 0, data 00000000 (len 4) 15491: Device #1 received: Alternator[1] = 0 15491: Full macroname for decoded switch = "PFC:Alternator2", mask = X00000000 15491: ... IPCwrite 3AB8[4] = 0, 0x0 15491: ScanList[2] = "Alternator", unit 1, data 00000000 (len 4) 15491: Device #1 received: FuelBoost[0] = 0 15491: Full macroname for decoded switch = "PFC:FuelBoost", mask = X00000000 15491: ScanList[3] = "FuelBoost", unit 0, data 00000000 (len 1) 15491: Device #1 received: FuelBoost[1] = 0 15491: Full macroname for decoded switch = "PFC:FuelBoost2", mask = X00000000 15491: ScanList[4] = "FuelBoost", unit 1, data 00000000 (len 1) 15491: Device #1 received: LandingGear[0] = 1 15491: Full macroname for decoded switch = "PFC:LandingGear", mask = X00000000 15491: ... SendEvent 66080, Param=0 15491: ScanList[5] = "LandingGear", unit 0, data 00000001 (len 4) 15491: Device #1 received: Magneto[0] = 0 15491: Full macroname for decoded switch = "PFC:Magneto", mask = X00000000 15491: ... IPCwrite 0892[2] = 0, 0x0 15491: ScanList[6] = "Magneto", unit 0, data 00000000 (len 2) 15491: Device #1 received: Magneto[1] = 0 15491: Full macroname for decoded switch = "PFC:Magneto2", mask = X00000000 15491: ... IPCwrite 092A[2] = 0, 0x0 15491: ScanList[7] = "Magneto", unit 1, data 00000000 (len 2) 15491: Device #1 received: CarbHeater[0] = 0 15491: Full macroname for decoded switch = "PFC:CarbHeater", mask = X00000000 15491: Device #1 received: Battery[0] = 0 15491: Full macroname for decoded switch = "PFC:Battery", mask = X00000000 15491: ... IPCwrite 281C[4] = 0, 0x0 15491: ScanList[8] = "Battery", unit 0, data 00000000 (len 4) 15491: Device #1 received: Avionics[0] = 0 15491: Full macroname for decoded switch = "PFC:Avionics", mask = X00000000 15491: ... IPCwrite 2E80[4] = 0, 0x0 15491: ScanList[9] = "Avionics", unit 0, data 00000000 (len 4) 15491: Device #1 received: AltAir[0] = 0 15491: Full macroname for decoded switch = "PFC:AltAir", mask = X00000000 15491: ... IPCwrite 3800[8] = 0.000000 15491: ... IPCwrite 3740[8] = 0.000000 15491: ... IPCwrite 3680[8] = 0.000000 15491: ... IPCwrite 35C0[8] = 0.000000 15491: ScanList[10] = "AltAir", unit 0, data 00000000 (len 8) 15491: Device #1 received: PitotHeat[0] = 0 15491: Full macroname for decoded switch = "PFC:PitotHeat", mask = X00000000 15491: ... SendEvent 66073, Param=0 15491: ScanList[11] = "PitotHeat", unit 0, data 00000000 (len 1) 15491: Device #1 received: ParkingBrake[0] = 1 15491: Full macroname for decoded switch = "PFC:ParkingBrake", mask = X00000000 15491: ScanList[12] = "ParkingBrake", unit 0, data 00007FFF (len 2) 15491: Device #1 received: CarbHeater[1] = 0 15491: Full macroname for decoded switch = "PFC:CarbHeater2", mask = X00000000 15491: Device #1 received: META ReqFullReport 17737: Device #1 received: ThrottleQuad[4] = 48 (14847 normalised) ********* PFChid Log file closed *********
Pete Dowson Posted June 15, 2014 Report Posted June 15, 2014 Okay.I see what is happening, but I din't understand why. It is not scanning the macro file initially in order to register the fact the there's a matching macroname. I don't know why it is missing that -- it does it here every time, and that works with or without a "real device" to connect to. Could you try changing aircraft, please? Maybe that will make it scan. I know the aircraft-specific selection of MCRO fles now works -- it seems to be missing that part at the beginning on yours. If that doesn't work, rename the [Config] section to be correct for your aircraft, [Config.Cessna] or whatever. I'll also try here without aircraft specific sections. Maybe it is only the default [Config] part it has a problem with. i must admit I'd not paid much attention to that in my testing as it was the selection of the correct MCRO file which was central to the original problems. Pete
amnz Posted June 15, 2014 Author Report Posted June 15, 2014 Could you try changing aircraft, please? Maybe that will make it scan. Doesn't work. If that doesn't work, rename the [Config] section to be correct for your aircraft, [Config.Cessna] or whatever. That doesn't work either. By the way, the name I used was from the plane's aircraft.cfg folder--> e.g... title=Mooney Bravo ..for the default Mooney in FSX. So, the config section would have been [Config.Mooney Bravo] This is weird. I do remember though that the macros did actually use to work properly for a time when I was trying to assign the anti-ice to a do nothing command for the A2A cub which was working successfully.
Pete Dowson Posted June 15, 2014 Report Posted June 15, 2014 Doesn't work. That doesn't work either. By the way, the name I used was from the plane's aircraft.cfg folder--> e.g... title=Mooney Bravo ..for the default Mooney in FSX. So, the config section would have been [Config.Mooney Bravo] This is weird. I do remember though that the macros did actually use to work properly for a time when I was trying to assign the anti-ice to a do nothing command for the A2A cub which was working successfully. No logs for those tests? I'm just looking for specific entries which say that the MCRO file is actually being scanned. The logs so far merely prove it would be using "PFC.MCRO" if it was actually reading it, but there's no sign of any MCRO file being read. It's as if they aren't actually in the correct Modules folder! The only thing which contradicts that is this: 0: Listing macros from "D:\FSX\Modules\PFC.mcro" and the resulting CSV file you showed which contains this: 02,2,Avionics,Y,Y That second 'Y' is crucial, as it shows that the Avionics entry was seen in PFC.MCRO. Can I assume the CSV file is up to date with your last tests and still contains that line with Y,Y? When the macro file is read for the current aircraft, whether that be in the default [Config] or other, it logs something like this: 5007: Using macros from "E:\FSX\Modules\B737.mcro" selected 5007: Macroflag mask for "Avionics" = 00000001 5007: Macroflag mask for "Magneto" = 0000000C In that case I had "Avionics", "Magneto1" and "Magneto2" macros. The bits in the Mask value are set to tell the switch reception that there's a macro with that name, and what additions it can have. The 1 bit for Avionics says the name in "unadorned". The two bits (values 4 and 8 ) for Magneto indicate the 1 and 2 refinement. Then (and this is from my "simulated" device, where I'm feeding in actual switch codes using additional code), entries like this should appear for those switches with macros: 5007: Device #-1 received: Magneto[1] = 1 5007: Full macroname for decoded switch = "B737:Magneto2", mask = X0000000C 5007: Requested macro "B737:Magneto2",01 via offset 0D70 Device -1 is my "pseudo" device -- just code. Once the log shows the "Requested macro" line, the rest is up to FSUIPC action, and the action normally done in PFChid is suppressed. I'm running out of ideas at present. :sad: Pete
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now