Jump to content
The simFlight Network Forums

String

Members
  • Posts

    30
  • Joined

  • Last visited

Everything posted by String

  1. I would like to change the sim control via macro because the default "Param" coming from PFChid for the "Tank Select" are 0=OFF, 1=ALL, 14=Crossfeed left to right and I am in need of OFF, LEFT, RIGHT. It is my understanding that I need more than adding "TankSelector1" because of the specifically intended /n facility to deal with rotary multi-position switches. I might not understand what you mean by a single line. I conducted another test with the following macro that is the same as the first macro I used, but this time I am using the "TankSelect2" [Macros] 1=TankSelect2/0=C65958 2=TankSelect2/1=C65955 3=TankSelect2/2=C65957 Using this macro and the second tank select on the C2 Pro; position bits "0" and "1" work perfect, but still unable to get position bit "2" to send the sim command. Below is a print of the PFChid64 log. I had an issue uploading it, so I copied and pasted it for you. I rotated both Tank Selects on the C2 Pro as seen at the bottom of the log. ********* PFChid, Version 5.01 by Pete Dowson ********* 0: Listing macros from "C:\Flight Sim\Prepar3D v4\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_c517&mi_01&col01#7&dcfa928&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}) 0: Error 6 [00000006] returned on HidD_GetAttributes: (\\?\hid#vid_046d&pid_c521&mi_00#7&29fa4020&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}) 0: Error 6 [00000006] returned on HidD_GetAttributes: (\\?\hid#vid_046d&pid_c517&mi_00#7&31a6e6ea&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}) Manufacturer= Precision Flight Controls, Inc. Product= PFC MFD Rudder Pedals Vendor=0689, Product=D010 Serial Number= PFC MFD Rudder Pedals 16: ... Ok, added as device #1 Manufacturer= Precision Flight Controls, Inc. Product= PFC Cirrus II Pro Vendor=0689, Product=C200 Serial Number= PFC Cirrus II Pro 16: ... Ok, added as device #2 78: Device #2 received: META FormatVersion = 2 94: Device #2 received: META ReportSupported = Class 08, Cmd 0001, Indx 0 94: Device #2 received: META ElevTrimLimits = 0 to 804 94: Device #2 received: META FormatVersion = 2 94: Device #2 received: META FirmwareDate = ID 4098, 2015-7-7 94: Device #2 Raw[41] = 02 FF 13 00 00 00 00 00 00 00 00 00 00 00 00 00 94: 00 00 00 00 00 02 FF 11 D0 07 D0 07 00 00 00 00 94: 00 00 00 00 00 00 00 00 00 94: Device #2 received: META Unhandled metadata 19 ((null)) 94: Device #2 Raw[41] = 02 FF 11 D0 07 D0 07 00 00 00 00 00 00 00 00 00 94: 00 00 00 00 00 02 FF 0D FF 00 11 00 00 00 00 00 94: 00 00 00 00 00 00 00 00 00 94: Device #2 received: META Unhandled metadata 17 ((null)) 94: Device #2 received: META ReportSupported = Class FF, Cmd 0011, Indx 0 94: Device #2 received: META ElevTrimLimits = 0 to 804 94: Device #1 received: META FormatVersion = 2 94: Device #1 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 01 01 0C 00 04 00 00 00 00 42 94: 04 00 FB 01 00 00 00 00 00 94: Device #1: Unhandled Calibration (select 0, type 2) 94: Device #1 received: ToeBrakes[1] = 4 (0 normalised) 94: Device #1 received: Rudder[0] = 255 (0 normalised) 94: Device #1 received: META FormatVersion = 2 94: Device #1 received: META FirmwareDate = ID 53264, 2011-12-19 94: Device #1 received: META FirmwareVersion = ID 53264, 1.3) 94: Device #1 received: META ReqFullReport 141: Device #2 received: META ReportSupported = Class FF, Cmd 0012, Indx 0 141: Device #2 received: META ReportSupported = Class FF, Cmd 0003, Indx 0 141: Device #2 received: META ReportSupported = Class FF, Cmd 0013, Indx 0 141: Device #2 received: META ReportSupported = Class 09, Cmd 0001, Indx 0 141: Device #2 received: META ReportSupported = Class 09, Cmd 0002, Indx 0 141: Device #2 received: META FirmwareVersion = ID 136, 1.3) 172: Device #2 received: META FormatVersion = 2 172: Device #2 received: META ReportSupported = Class 08, Cmd 0001, Indx 0 172: Device #2 received: META ElevTrimLimits = 0 to 804 172: Device #2 received: META FormatVersion = 2 172: Device #2 received: META FirmwareDate = ID 4098, 2015-7-7 219: Device #2 received: META ReportSupported = Class FF, Cmd 0011, Indx 0 219: Device #2 Raw[41] = 02 FF 13 00 00 00 00 00 00 00 00 00 00 00 00 00 219: 00 00 00 00 00 02 FF 11 D0 07 D0 07 00 00 00 00 219: 00 00 00 00 00 00 00 00 00 219: Device #2 received: META Unhandled metadata 19 ((null)) 219: Device #2 Raw[41] = 02 FF 11 D0 07 D0 07 00 00 00 00 00 00 00 00 00 219: 00 00 00 00 00 02 FF 0D FF 00 12 00 00 00 00 00 219: 00 00 00 00 00 00 00 00 00 219: Device #2 received: META Unhandled metadata 17 ((null)) 219: Device #2 received: META ReportSupported = Class FF, Cmd 0012, Indx 0 219: Device #2 received: Hdg[0] = 0 250: Device #2 received: Airspeed[0] = 0 250: Device #2 received: META ElevTrimLimits = 0 to 804 250: Device #2 Raw[41] = 02 FF 11 D0 07 D0 07 00 00 00 00 00 00 00 00 00 266: 00 00 00 00 00 02 FF 04 00 00 24 03 00 00 00 00 266: 00 00 00 00 00 00 00 00 00 266: Device #2 received: META Unhandled metadata 17 ((null)) 266: Device #2 received: META ElevTrimLimits = 0 to 804 266: Device #2 received: META ReportSupported = Class FF, Cmd 0003, Indx 0 297: Device #2 Raw[41] = 02 FF 11 D0 07 D0 07 00 00 00 00 00 00 00 00 00 297: 00 00 00 00 00 02 FF 0D FF 00 13 00 00 00 00 00 297: 00 00 00 00 00 00 00 00 00 297: Device #2 received: META Unhandled metadata 17 ((null)) 297: Device #2 received: META ReportSupported = Class FF, Cmd 0013, Indx 0 297: Device #2 received: META ReportSupported = Class 09, Cmd 0001, Indx 0 297: Device #2 received: META ReportSupported = Class 09, Cmd 0002, Indx 0 297: Device #2 received: META ElevTrimLimits = 0 to 804 328: Device #2 received: META ReportSupported = Class 02, Cmd 0008, Indx 0 328: Device #2 received: META ReportSupported = Class 08, Cmd 0001, Indx 0 328: Device #2 Raw[41] = 02 FF 11 D0 07 D0 07 00 00 00 00 00 00 00 00 00 328: 00 00 00 00 00 02 FF 04 00 00 24 03 00 00 00 00 328: 00 00 00 00 00 00 00 00 00 328: Device #2 received: META Unhandled metadata 17 ((null)) 328: Device #2 received: META ElevTrimLimits = 0 to 804 328: Device #2 Raw[41] = 02 FF 11 D0 07 D0 07 00 00 00 00 00 00 00 00 00 328: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 328: 00 00 00 00 00 00 00 00 00 328: Device #2 received: META Unhandled metadata 17 ((null)) 375: Device #2 received: META ElevTrimLimits = 0 to 804 375: Device #2 received: META ReportSupported = Class 08, Cmd 0003, Indx 0 375: Device #2 received: META ReportSupported = Class 08, Cmd 0002, Indx 0 375: Device #2 received: META ReportSupported = Class 08, Cmd 0004, Indx 0 407: Device #2 received: META ReportSupported = Class 08, Cmd 0006, Indx 0 407: Device #2 received: META ReportSupported = Class 07, Cmd 0001, Indx 0 407: Device #2 received: META FirmwareVersion = ID 4098, 5.0) 407: Device #2 Raw[41] = 02 FF 0E 00 00 00 00 00 00 00 00 00 00 00 00 00 407: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 407: 00 00 00 00 00 02 FF 01 02 407: Device #2 received: META Unhandled metadata 14 (EquipAddedRemoved) 438: Device #2 received: ThrottleQuad[0] = 68 (14049 normalised) 438: Device #2 received: ThrottleQuad[1] = 0 (16383 normalised) 485: Device #2 received: ThrottleQuad[2] = 950 (-16008 normalised) 485: Device #2 received: ThrottleQuad[3] = 0 (16383 normalised) 485: Device #2 received: ThrottleQuad[4] = 958 (-16112 normalised) 485: Device #2 received: ThrottleQuad[5] = 0 (16383 normalised) 516: Device #2 received: ApDisconnect[0] = 0 516: Device #2 received: PitchTrim[0] = 0 516: Device #2 received: Cws[0] = 0 547: Device #2 received: Ailerons[0] = 515 (422 normalised) 547: Device #2 received: Elevator[0] = 534 (0 normalised) 547: Device #2 received: RudderTrim[0] = 518 (192 normalised) 578: Device #2 received: AileronTrim[0] = 510 (-64 normalised) 578: Device #2 received: ElevatorTrim[0] = 128 (-11168 normalised) 610: Device #2 received: CowlFlaps[0] = 2 610: Device #2 received: CowlFlaps[1] = 2 641: Device #2 received: TankSelect[0] = 1 641: Device #2 received: TankSelect[1] = 1 688: Device #2 received: Flaps[0] = 2 688: Device #2 received: Alternator[0] = 0 688: Device #2 received: Alternator[1] = 0 719: Device #2 received: FuelBoost[0] = 0 719: Device #2 received: FuelBoost[1] = 0 719: Device #2 received: LandingGear[0] = 1 750: Device #2 received: Magneto[0] = 0 750: Device #2 received: Magneto[1] = 0 750: Device #2 received: CarbHeater[0] = 0 782: Device #2 received: Battery[0] = 0 891: Device #2 received: Avionics[0] = 0 985: Device #2 received: AltAir[0] = 0 985: Device #2 received: PitotHeat[0] = 0 985: Device #2 received: ParkingBrake[0] = 0 985: Device #2 received: CarbHeater[1] = 0 985: Device #2 received: META ReqFullReport 3125: Using macros from "C:\Flight Sim\Prepar3D v4\Modules\PFC.mcro" selected 5032: Device #2 received: TankSelect[0] = 0 6391: Device #2 received: TankSelect[0] = 1 7297: Device #2 received: TankSelect[0] = 3 9063: Device #2 received: TankSelect[1] = 2 10125: Device #2 received: TankSelect[1] = 1 11141: Device #2 received: TankSelect[1] = 0 12844: Device #2 received: TankSelect[1] = 1 13938: Device #2 received: TankSelect[1] = 2 ********* PFChid Log file closed ********* Thank you for the help Chris
  2. Below is the log with no lines entered in the macro file and cycling the left fuel tank select switch on the C2 Pro through each position. Console Started ... [Continuation log requested by user] Running inside Prepar3D v4 on Windows 10 Module base=7FFFE48C0000 2265093 *** EVENT: Cntrl= 65794 (0x00010102), Param= 0 (0x00000000) PAUSE_ON 2267781 *** EVENT: Cntrl= 65962 (0x000101aa), Param= 1 (0x00000001) FUEL_SELECTOR_SET 2268937 *** EVENT: Cntrl= 65962 (0x000101aa), Param= 0 (0x00000000) FUEL_SELECTOR_SET 2271172 *** EVENT: Cntrl= 65962 (0x000101aa), Param= 1 (0x00000001) FUEL_SELECTOR_SET 2272609 *** EVENT: Cntrl= 65962 (0x000101aa), Param= 14 (0x0000000e) FUEL_SELECTOR_SET 2273609 *** EVENT: Cntrl= 65962 (0x000101aa), Param= 14 (0x0000000e) FUEL_SELECTOR_SET 2275515 *** EVENT: Cntrl= 65794 (0x00010102), Param= 0 (0x00000000) PAUSE_ON Chris
  3. Tested the following in the macro one at a time and observed the following results in the logging console: 1=TankSelect1/0=C65957 -- Works perfect selector rotates to the left tank, does not repeat 2=TankSelect1/1=C65955 -- Repeats the sim command continuously Note: I was unsure of the location of the "+" so I test the following three locations and tested the "-" as well in each of the positions 2=TankSelect1/1+=C65955 -- Does not send the command 2=TankSelect1+/1=C65955 -- Does not send the command 2=TankSelect+1/1=C65955 -- Does not send the command 3=TankSelect1/2=C65958 -- Does not send the command Chris
  4. Now running FSUIPC 5.14 I have attached the log file with Button and Event logging enabled. I also ran P3D in Win mode with the log console open. Watching the events "real time" appears the sim control for the "TankSelect" repeats without pause continually sending the sim control. Chris FSUIPC5.log
  5. Hello, I am using a registered copy of FSUIPC 5.122 with PFChid 5.01 (PFChid64.dll) on W10-64 bit and using P3DV4.2 flying the Carenado A36 I am in the process of setting up a PFC C2 Pro Console and have run into an issue writing the macro file to re-assign one of the two "Tank Select " switches that has three possible positions. PFC.mcro [Macros] 1=TankSelect1/0=C65957 2=TankSelect1/1=C65955 3=TankSelect1/2=C65958 I think the issue I am having has less to do with the commands that are being sent, but more to do with the switch not sending the command. Using the macro as seen above, the Tank Select in P3D moves to the off position and will not move when I rotate the Tank Select switch on the C2 Pro or by mouse in the aircraft. If I only enter "TankSelect1/0=C65957" line into the macro, then when rotating the switch completely left, the Tank Select in P3D will switch to the left (easy). Whenever I introduce this line "2=TankSelect1/1=C65955" to the macro, the Tank Select in P3D moves to the off position and will not move when I rotate the Tank Select switch on the C2 Pro or by mouse in the aircraft. Running only the "3=TankSelect1/2=C65958" line in the macro by itself, the Tank Select in P3D does not move, but you can move it by mouse in the aircraft. Help is very much appreciated. Chris
×
×
  • Create New...

Important Information

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