Jump to content
The simFlight Network Forums

flatdog

Members
  • Content Count

    30
  • Joined

  • Last visited

Community Reputation

0 Neutral

About flatdog

  • Rank
    Advanced Member

Profile Information

  • Gender
    Male
  • Location
    UK
  1. I am using FSUIPC 5.153 (Registered) and P3D Version 4.5.12.30293. For some reason the virtual cockpit view has started panning up when I load a scenario. I don't have any button, key or axis assignments in FSUIPC as I am using ProSim 737. All axis and button assignments have been removed from P3D. I have attached a copy of the log window. I have tried disconnecting yokes and keyboard without success. Any ideas would be very welcome. Screen capture of log console attached. Thank you.
  2. Dear Pete, I just bought a second hand 737 throttle quadrant and was rather dreading setting it all up, especially the flaps. I assigned all the axes directly through FSUIPC and then calibrated them. FSUIPC could see that I was using the Jetstream 737 flight model (used with ProSim 737) and adjusted accordingly. Everything works perfectly and all in about 20 minutes. I don't mean to sound surprised but things don't often go like that with cockpit building as I am sure you are aware. Many thanks for helping to make things easier. kind regards, Philip
  3. Dear Pete, There are six pins on the card that can be used as PWM outputs, channel 5 refers to pin 17. The other information in the manual is: SetPWMOutputs Set complete PWM outputs configuration bool SetPWMOutputs(ref bool[] channels, ref uint period, ref uint[] duty_values); Arguments: channels An array of 6 boolean values, each representing one PWM channel. Channel is enabled if this value is set to true. period 32-bit PWM period value. PWM module of a PoKeys55 device runs at 12 Mhz, so a value of 12 000 000 produces a period of 1 second. PWM module on PoKeys56E devices runs at 25 MHz, so a value of 25 000 000 produces a period of 1 second. duty_values An array of 6 32-bit unsigned integers, each representing the value of PWM duty for each channel. Minimum value is 0, maximum value is the same as period. Channel to pin mapping: Channels are mapping according to this table: Channel PoKeys pin 0 22 1 21 2 20 3 19 4 18 5 17 The PoKeys website does not appear to have a user forum. I will ask over at myCockpit to see if anyone knows of a user group. Many thanks, Philip
  4. Dear Pete, I have been using the sample lua script posted by Terry Hall to interface with a PoKeys56U card. I have added some switches and LEDs for various functions which all seem to work so I feel I have a reasonable understanding of what is happening. I would now like to use the PWM output(s) of the card to build a simple three position flaps gauge incorporating a servo. The example in the PoKeys manual is written in C# a language which I have no experiece of. The framework for the relevant portion of the lua script would be: function flap_check(offs, val) if (val == 0) then -- Flaps Full Up pokeys:SetPWMOutputs(.............................) else end else -- code for Takeoff Flaps else -- code for Landing Flaps event.offset(0x0BDC, "UD", "flap_check") The C# example is: Configuring PWM outputs Configures pin 17 as PWM output with 20 ms period and 1.5 ms (7.5%) duty cycle. If a model RC servo signal input is connected to this pin, servo motor horn should position itself in the middle position. bool[] channel = new bool[6]; uint[] duty = new uint[6]; // PWM base clock is 12 MHz (or 25 MHz on PoKeys56 devices), so 1 ms takes 12000 (25000) cycles float ms = MyDevice.GetPWMFrequency() / 1000; uint period = (uint)(ms * 20); // 20 ms period channel[5] = true; // Pin 17 = channel 5 (Pin 18 = channel 4, ...) duty[5] = (uint)(ms * 1.5); // Set duty cycle to 1.5 ms (7.5 %) MyDevice.SetPWMOutputs(ref channel, ref period, ref duty); Do you use C#? If so could you help me convert the example into the correct lua syntax? There is no desperate hurry for this, if you have a spare moment that would be great. Many thanks, Philip
  5. I have just noticed that you are using FS9 but I think that in principle the solution is the same. Philip
  6. Phillipe, Forgive me for jumping in but I have a similar setup. When you connect the PoKeys card FSX will automatically assign some 'default' joystick button actions to it. If you go into the FSX controls menu and select the 'Virtual Joystick' you can delete these actions and all will be well. Hope it helps, Philip
  7. Dear Pete, In Lua scripts I have seen offsets (Pitot Heat in this case) referred to for example as: event.offset(0x029C, ...................... and event.offset("029C", ...................... Does one have an advantage over the other or does it simply not matter? Thank you, Philip
  8. OK, I will check what logging options are avaiable in ProSim. Many thanks, Philip
  9. Pete, The fuel control swith problem is apparently a bug with FSX, the relevant post is here: http://prosim737.com/forum/viewtopic.php?f=13&t=783&hilit=fuel+cutoff There is also a post on the PM website here: http://www.projectmagenta.com/2011/06/cutoff/. I have yet to work out if it has any relevance to the ProSim problem. The APU bleed is on, packs off, duct pressure is good, fuel valve opens but no N2 increase (but only if the a/c has been sitting at the gate for a while). ProSim is a great piece of software and seems to be very accurate. I did a flight with a BA 747 Captain last weekend and he was stunned by level of detail. The developers are very responsive but these two issues have yet to be fixed. Thank you for taking the time to reply. Regards, Philip
  10. Dear Pete, I know that this is not directly a question about FSUIPC and quite understand if you do not have time to respond. I am using ProSim 737 with the default FSX 737-800 for my home cockpit. I have a registered version of FSUIPC which is at 4.747. I have a homemade overhead panel. If I start the APU and then (following the check list) start the engines everthing works perfectly (apart from the automatic operation of the fuel cutoff levers which is another matter). If I start the APU and then program the FMC etc (say five minutes) the engines will not start. The engine start valve shows as open in the lower EICAS, packs are off, duct pressure is 40 psi+ but N2 pressure stays at 0. There is a thread ongoing at ProSim about this but noone has come up with a solution and there are plenty of ProSim users who do not seen to have a problem. I have followed suggestions regarding how to create a default startup situation using the default Cessna etc. The only way to correct the problem is to reset the fight but this does reduce the realism somewhat. It is as if something is timing out. I know it is a longshot but I hoped that you might have come accross something similar or at least know which area to start troubleshooting. Thank you, Philip
  11. OK - sorted. As you suggested it was a configuration issue. It is necessary not only to configure the port on the card as a digital input but then to also map the port to a joystick button using the peripherals / joystick menu. I have attached an image in case it is of use to anyone else. Thank you for pointing me in the right direction.
  12. I am using FSX and FSUIPC 4.728 I have attached the HID Scanner log below. I should correct what I said earlier. I have a simple throttle connected to one of the analogue inputs on the card which can be calibrated in FSUIPC and works in FSX. I have a couple of inputs set using the POKeys software to emulate F6 & F5 which are seen as a keypress by FSUIPC and work in FSX. I have a switch connected to the card to operate the parking brake which is seen by ProSim 737, operates the parking brake on the default 737-800 when ProSim is running but is not seen as a button press by either the windows game controller setup or FSUIPC. It does not operate the parking brake in FSX if ProSim is not running. I should say that I have just started experimenting with this card as it is relatively inexpensive and seems to have a lot of features. I cannot claim to understand 100% exactly what it is doing but I notice that in the log file one of the two entries for the card describes it as a 'virtual keyboard'. Thank you. ********* HidScanner, Version 2.00 by Pete Dowson ********* Device at "\\?\hid#vid_044f&pid_b108#8&368b84a9&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" Vendor=044F, Product=B108 (Version 1.0) Manufacturer= Thrustmaster Product= T.Flight Hotas X Serial Number= Usage Page: 1 Input Report Byte Length: 23 Output Report Byte Length: 3 Feature Report Byte Length: 13 Number of Link Collection Nodes: 1 Number of Input Button Caps: 1 Number of InputValue Caps: 18 Number of InputData Indices: 30 Number of Output Button Caps: 0 Number of Output Value Caps: 1 Number of Output Data Indices: 1 Number of Feature Button Caps: 0 Number of Feature Value Caps: 3 Number of Feature Data Indices: 3 Buttons range 1 -> 12 at indices 0 -> 11 Value POV at index 12, range 0 -> 7, using 4 bits Value X at index 13, range 0 -> 1023, using 10 bits Value Y at index 14, range 0 -> 1023, using 10 bits Value Sldr at index 15, range 0 -> 255, using 8 bits Value R/RZ at index 16, range 0 -> 255, using 8 bits Value Z at index 17, range 0 -> 255, using 8 bits Value 0x2B at index 18, range 0 -> 255, using 8 bits Value 0x2A at index 19, range 0 -> 255, using 8 bits Value 0x29 at index 20, range 0 -> 255, using 8 bits Value 0x28 at index 21, range 0 -> 255, using 8 bits Value 0x27 at index 22, range 0 -> 255, using 8 bits Value 0x26 at index 23, range 0 -> 255, using 8 bits Value 0x25 at index 24, range 0 -> 255, using 8 bits Value 0x24 at index 25, range 0 -> 255, using 8 bits Value 0x23 at index 26, range 0 -> 255, using 8 bits Value 0x22 at index 27, range 0 -> 255, using 8 bits Value 0x21 at index 28, range 0 -> 255, using 8 bits Value 0x20 at index 29, range 0 -> 255, using 8 bits ************************************************************************** Device at "\\?\hid#vid_045e&pid_00f9&mi_00#a&32dd356b&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" Vendor=045E, Product=00F9 (Version 0.3) Manufacturer= Microsft Product= Microsoft Wireless Desktop Receiver 3.1 Serial Number= Microsoft Wireless Desktop Receiver 3.1 Device is a keyboard Usage Page: 1 Input Report Byte Length: 9 Output Report Byte Length: 2 Feature Report Byte Length: 0 Number of Link Collection Nodes: 1 Number of Input Button Caps: 2 Number of InputValue Caps: 0 Number of InputData Indices: 154 Number of Output Button Caps: 2 Number of Output Value Caps: 0 Number of Output Data Indices: 4 Number of Feature Button Caps: 0 Number of Feature Value Caps: 0 Number of Feature Data Indices: 0 ************************************************************************** Device at "\\?\hid#vid_045e&pid_00f9&mi_01&col01#a&1fad192d&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" Vendor=045E, Product=00F9 (Version 0.3) Manufacturer= Microsft Product= Microsoft Wireless Desktop Receiver 3.1 Serial Number= Microsoft Wireless Desktop Receiver 3.1 Usage Page: C Input Report Byte Length: 4 Output Report Byte Length: 0 Feature Report Byte Length: 2 Number of Link Collection Nodes: 2 Number of Input Button Caps: 3 Number of InputValue Caps: 4 Number of InputData Indices: 7 Number of Output Button Caps: 0 Number of Output Value Caps: 0 Number of Output Data Indices: 0 Number of Feature Button Caps: 1 Number of Feature Value Caps: 2 Number of Feature Data Indices: 3 Value Wh at index 0, range -127 -> 127, using 8 bits Value 0x01 at index 1, range 0 -> 3, using 2 bits Value 0x03 at index 4, range 0 -> 3, using 2 bits Value 0x0D at index 6, range 0 -> 65535, using 16 bits ************************************************************************** Device at "\\?\hid#vid_045e&pid_00f9&mi_01&col02#a&1fad192d&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}" Vendor=045E, Product=00F9 (Version 0.3) Manufacturer= Microsft Product= Microsoft Wireless Desktop Receiver 3.1 Serial Number= Microsoft Wireless Desktop Receiver 3.1 Device is a mouse Usage Page: 1 Input Report Byte Length: 6 Output Report Byte Length: 0 Feature Report Byte Length: 2 Number of Link Collection Nodes: 5 Number of Input Button Caps: 1 Number of InputValue Caps: 4 Number of InputData Indices: 9 Number of Output Button Caps: 0 Number of Output Value Caps: 0 Number of Output Data Indices: 0 Number of Feature Button Caps: 0 Number of Feature Value Caps: 2 Number of Feature Data Indices: 2 Buttons range 1 -> 5 at indices 0 -> 4 Value Y at index 5, range -127 -> 127, using 8 bits Value X at index 6, range -127 -> 127, using 8 bits Value Wh at index 7, range -127 -> 127, using 8 bits Value Wh at index 8, range -127 -> 127, using 8 bits ************************************************************************** Device at "\\?\hid#vid_045e&pid_00f9&mi_01&col03#a&1fad192d&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}" Vendor=045E, Product=00F9 (Version 0.3) Manufacturer= Microsft Product= Microsoft Wireless Desktop Receiver 3.1 Serial Number= Microsoft Wireless Desktop Receiver 3.1 Usage Page: C Input Report Byte Length: 8 Output Report Byte Length: 0 Feature Report Byte Length: 2 Number of Link Collection Nodes: 4 Number of Input Button Caps: 8 Number of InputValue Caps: 9 Number of InputData Indices: 1549 Number of Output Button Caps: 0 Number of Output Value Caps: 0 Number of Output Data Indices: 0 Number of Feature Button Caps: 0 Number of Feature Value Caps: 2 Number of Feature Data Indices: 2 Value 0x0E at index 1280, range 0 -> 255, using 8 bits Value 0x05 at index 1283, range 0 -> 31, using 5 bits Value 0x02 at index 1539, range 1 -> 255, using 8 bits Value Wh at index 1540, range -127 -> 127, using 8 bits Value Wh at index 1541, range -127 -> 127, using 8 bits Value 0x02 at index 1542, range 0 -> 255, using 8 bits Value 0x01 at index 1543, range 0 -> 3, using 2 bits Value 0x03 at index 1546, range 0 -> 3, using 2 bits Value 0x0D at index 1548, range 0 -> 65535, using 16 bits ************************************************************************** Device at "\\?\hid#vid_045e&pid_00f9&mi_01&col04#a&1fad192d&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}" Vendor=045E, Product=00F9 (Version 0.3) Manufacturer= Microsft Product= Microsoft Wireless Desktop Receiver 3.1 Serial Number= Microsoft Wireless Desktop Receiver 3.1 Usage Page: 1 Input Report Byte Length: 2 Output Report Byte Length: 0 Feature Report Byte Length: 0 Number of Link Collection Nodes: 1 Number of Input Button Caps: 1 Number of InputValue Caps: 0 Number of InputData Indices: 256 Number of Output Button Caps: 0 Number of Output Value Caps: 0 Number of Output Data Indices: 0 Number of Feature Button Caps: 0 Number of Feature Value Caps: 0 Number of Feature Data Indices: 0 ************************************************************************** Device at "\\?\hid#vid_06c2&pid_004c#9&1205cc9c&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" Vendor=06C2, Product=004C (Version 1.0) Manufacturer= Phidgets Inc. Product= PhidgetLED Serial Number= 114517 Usage Page: FFA0 Input Report Byte Length: 42 Output Report Byte Length: 9 Feature Report Byte Length: 0 Number of Link Collection Nodes: 1 Number of Input Button Caps: 0 Number of InputValue Caps: 1 Number of InputData Indices: 1 Number of Output Button Caps: 0 Number of Output Value Caps: 1 Number of Output Data Indices: 1 Number of Feature Button Caps: 0 Number of Feature Value Caps: 0 Number of Feature Data Indices: 0 Value 0x02 at index 0, range 0 -> 1, using 8 bits ************************************************************************** Device at "\\?\hid#vid_1dc3&pid_1001&mi_00#a&11f44069&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" Vendor=1DC3, Product=1001 (Version 16.0) Manufacturer= PoLabs Product= Virtual Joystick Serial Number= 1.12090 Usage Page: 1 Input Report Byte Length: 17 Output Report Byte Length: 0 Feature Report Byte Length: 0 Number of Link Collection Nodes: 2 Number of Input Button Caps: 1 Number of InputValue Caps: 6 Number of InputData Indices: 38 Number of Output Button Caps: 0 Number of Output Value Caps: 0 Number of Output Data Indices: 0 Number of Feature Button Caps: 0 Number of Feature Value Caps: 0 Number of Feature Data Indices: 0 Buttons range 1 -> 32 at indices 6 -> 37 Value U/RX at index 0, range 0 -> 1023, using 16 bits Value V/RY at index 1, range 0 -> 1023, using 16 bits Value Z at index 2, range 0 -> 1023, using 16 bits Value Y at index 3, range 0 -> 1023, using 16 bits Value X at index 4, range 0 -> 1023, using 16 bits Value Thr at index 5, range 0 -> 1023, using 16 bits ************************************************************************** Device at "\\?\hid#vid_1dc3&pid_1001&mi_01#a&29b7ccae&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" Vendor=1DC3, Product=1001 (Version 16.0) Manufacturer= PoLabs Product= Communication Interface Serial Number= 1.12090 Usage Page: FF00 Input Report Byte Length: 65 Output Report Byte Length: 65 Feature Report Byte Length: 0 Number of Link Collection Nodes: 1 Number of Input Button Caps: 0 Number of InputValue Caps: 1 Number of InputData Indices: 1 Number of Output Button Caps: 0 Number of Output Value Caps: 1 Number of Output Data Indices: 8 Number of Feature Button Caps: 0 Number of Feature Value Caps: 0 Number of Feature Data Indices: 0 Value 0x01 at index 0, range 0 -> 255, using 8 bits ************************************************************************** Device at "\\?\hid#vid_1dc3&pid_1001&mi_02#a&5e08eec&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" Vendor=1DC3, Product=1001 (Version 16.0) Manufacturer= PoLabs Product= Virtual keyboard Serial Number= 1.12090 Device is a keyboard Usage Page: 1 Input Report Byte Length: 35 Output Report Byte Length: 0 Feature Report Byte Length: 0 Number of Link Collection Nodes: 1 Number of Input Button Caps: 2 Number of InputValue Caps: 0 Number of InputData Indices: 110 Number of Output Button Caps: 0 Number of Output Value Caps: 0 Number of Output Data Indices: 0 Number of Feature Button Caps: 0 Number of Feature Value Caps: 0 Number of Feature Data Indices: 0 ************************************************************************** Device at "\\?\hid#vid_1dd2&pid_1001#8&276e438c&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" Vendor=1DD2, Product=1001 (Version 1.35) Manufacturer= Leo Bodnar Product= BU0836X Interface Serial Number= B07471 Usage Page: 1 Input Report Byte Length: 6 Output Report Byte Length: 0 Feature Report Byte Length: 18 Number of Link Collection Nodes: 3 Number of Input Button Caps: 1 Number of InputValue Caps: 1 Number of InputData Indices: 33 Number of Output Button Caps: 0 Number of Output Value Caps: 0 Number of Output Data Indices: 0 Number of Feature Button Caps: 0 Number of Feature Value Caps: 1 Number of Feature Data Indices: 1 Buttons range 1 -> 32 at indices 0 -> 31 Value POV at index 32, range 0 -> 7, using 4 bits ************************************************************************** Device at "\\?\hid#vid_1dd2&pid_1001#8&3288478d&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" Vendor=1DD2, Product=1001 (Version 1.33) Manufacturer= Leo Bodnar Product= BU0836X Interface Serial Number= B07138 Usage Page: 1 Input Report Byte Length: 6 Output Report Byte Length: 0 Feature Report Byte Length: 18 Number of Link Collection Nodes: 3 Number of Input Button Caps: 1 Number of InputValue Caps: 1 Number of InputData Indices: 33 Number of Output Button Caps: 0 Number of Output Value Caps: 0 Number of Output Data Indices: 0 Number of Feature Button Caps: 0 Number of Feature Value Caps: 1 Number of Feature Data Indices: 1 Buttons range 1 -> 32 at indices 0 -> 31 Value POV at index 32, range 0 -> 7, using 4 bits ************************************************************************** Device at "\\?\hid#vid_1dd2&pid_1001#9&11bc8276&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" Vendor=1DD2, Product=1001 (Version 1.35) Manufacturer= Leo Bodnar Product= BU0836X Interface Serial Number= B20384 Usage Page: 1 Input Report Byte Length: 6 Output Report Byte Length: 0 Feature Report Byte Length: 18 Number of Link Collection Nodes: 3 Number of Input Button Caps: 1 Number of InputValue Caps: 1 Number of InputData Indices: 33 Number of Output Button Caps: 0 Number of Output Value Caps: 0 Number of Output Data Indices: 0 Number of Feature Button Caps: 0 Number of Feature Value Caps: 1 Number of Feature Data Indices: 1 Buttons range 1 -> 32 at indices 0 -> 31 Value POV at index 32, range 0 -> 7, using 4 bits ************************************************************************** Device at "\\?\hid#vid_1dd2&pid_1001#9&3427402a&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" Vendor=1DD2, Product=1001 (Version 1.35) Manufacturer= Leo Bodnar Product= BU0836X Interface Serial Number= B18398 Usage Page: 1 Input Report Byte Length: 6 Output Report Byte Length: 0 Feature Report Byte Length: 18 Number of Link Collection Nodes: 3 Number of Input Button Caps: 1 Number of InputValue Caps: 1 Number of InputData Indices: 33 Number of Output Button Caps: 0 Number of Output Value Caps: 0 Number of Output Data Indices: 0 Number of Feature Button Caps: 0 Number of Feature Value Caps: 1 Number of Feature Data Indices: 1 Buttons range 1 -> 32 at indices 0 -> 31 Value POV at index 32, range 0 -> 7, using 4 bits **************************************************************************
  13. Has anyone tried using one of these: http://www.flightsimparts.eu/Shop_Electronics_Pokeys55.html with FSUIPC. It is seen by Windows as a 'virtual joystick' and is listed with a GUID (and assigned a letter) in my FSUIPC.INI file. Switches attached to the card are recognised in ProSim and Windows game controller setup but I cannot get any response to a button click (or keypress)in the FSUIPC interface. Buttons connected to a BU0386X card are detected perfectly by FSUIPC. Thank you.
×
×
  • 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.