Viperpit(s).org
Simulation Software => Falcon BMS => Topic started by: VanZeb on February 22, 2021, 05:53:20 PM
-
Hi!
I got my hands on a CPD and now I need help with hooking it up with BMS 4.35. I installed lightingtools CPD software which lights it up when I enter BMS, but no data is being extracted. Just a static screen.
I also don’t know how to hook it up to a Pokeys (other?) so that I get the buttons and backlighting functioning.
I’m a rookie on this interfacing stuff, so need help.
/Sebastian
-
Some good info here:
http://www.viperpits.org/smf/index.php?topic=7382.0
-
I’ve got the same thing. CPD Display working and buttons and rotaries wired to two BBI- 32 Bodnar Boards but no data being transferred or read from BMS. I’m running Lightnings F16CPD v 0_5_8_1 x86.
-
Hey @VanZeb
I have the same problem as yours. 2 years ago I have bought the CPD from one of the forum members. In the topic below :
http://www.viperpits.org/smf/index.php?topic=7382.30
I have asked how to connect the CPD with DB37 breakout board to Leo Bodnar interface card (BU0836X)...so far I didn't succeed as I haven't got any button response...It would be great if someone could post some pictures how to connect the wires to the DB37 breakout board and Leo Bodnar and/or Pokeys.
Today I tried to connect the Pokeys 57U board (only button matrix) and still nothing..it is so frustrating and annoying when you don't know how to solve this problem anymore :stupid:....or I just bought broken CPD...
-
some extra pics
-
I don't know much about the CPD, but maybe this pinout will help if it's the same unit Crease-Guard used to make.
[ You are not allowed to view attachments ]
-
I know absolutely nothing about that CPD.
But have you tried just connecting another button to the board to establish if the board is functioning correctly? If the board is functioning then obviously that is one problem you can delete from the troubleshooting list.
-
With the help of Mr. @Romanski I have created matrix in Pokeys....so far lets say 50% of buttons are working and the other half doesn't, seems like a problem with the matrix or wiring...
-
and more pics
-
Well there is progress then!
-
I just compiled the latest version of the CPD from Lightnings code and it seems to be working fine.
Which version of his CPD are you using and which version of BMS?
[ You are not allowed to view attachments ]
-
I’m running Lightnings F16CPD v 0_5_8_1 x86. BMS 4.35U1. Looks the same as your display and buttons , rotaries and toggles all function just not getting data from BMS. Screen is froze as your picture depicts.
-
I’m running Lightnings F16CPD v 0_5_8_1 x86. BMS 4.35U1. Looks the same as your display and buttons , rotaries and toggles all function just not getting data from BMS. Screen is froze as your picture depicts.
The version I compiled is 0.5.9.0, looks like the setup file is not updated on his github.
-
Got it downloaded thanks JJ. I just get a green screen. Get the same when BMS launched .
-
Can you post your log file from here:
C:\Users\<your user>\AppData\Local\F16CPD\
-
Here is a video of mine working in 4.35
https://www.dropbox.com/s/6gqshhmh38uwlu3/CPD.mkv?dl=0
-
Ok got it running. Rebooted computer and it’s up and running in BMS. Just gotta figure out how to program
HDD TGP TAD buttons. All side buttons work.
Thanks JJ
-
The version I compiled is 0.5.9.0, looks like the setup file is not updated on his github.
There's always a reason for that FYI.
-
The version I compiled is 0.5.9.0, looks like the setup file is not updated on his github.
There's always a reason for that FYI.
Ok, good to know, thanks @lightning
Was just trying to help them out and this version was working for me. Sounds like the reboot did the trick for @Nomad so he can probably use the released version.
-
Hey JJ
Are there key file callbacks for the secondary pages. I got the HDG CRS , ALOW, BARO callbacks but dont have callbacks for any of the top or bottom row buttons IE: HDD, TGP, TAD, Fuel, Charts, Checklist, Map?
-
Hey JJ
Are there key file callbacks for the secondary pages. I got the HDG CRS , ALOW, BARO callbacks but dont have callbacks for any of the top or bottom row buttons IE: HDD, TGP, TAD, Fuel, Charts, Checklist, Map?
To be honest, I have no clue. I have never looked at or used the CPD except for just running it to get a screenshot for you. I don't even know what the secondary pages you are referring to are or how to get to them :)
-
The version I compiled is 0.5.9.0, looks like the setup file is not updated on his github.
There's always a reason for that FYI.
Ok, good to know, thanks @lightning
Was just trying to help them out and this version was working for me. Sounds like the reboot did the trick for @Nomad so he can probably use the released version.
If it works, it works :) I've not tested it with other dependent code library changes.
-
I’m just trying to get the map and fuel chart working.
-
Does anyone have an explanation for how to program the matrix in the correct way in the pokeys software?
/Seb
-
Enable Matrix Keyboard under peripherals and set you rows and columns.
[ You are not allowed to view attachments ]
Then set your pins to Digital Input for Columns and Digital Output for Rows. Click the Matrix Keyboard check and select which Colum or Row.
[ You are not allowed to view attachments ]
Then just wire it up and select your action in the Keyboard Matrix.
[ You are not allowed to view attachments ]
-
Anyone using the CPD software that works, I cannot for the life of me figure out why the screen comes up, but no data...
-
Did you run it as Administrator?
-
I did... not sure what is up!
-
Are you using this version?
https://github.com/lightningviper/lightningstools/tree/master/releases/End%20User%20Applications/F16%20Center%20Pedestal%20Display/Version%200.5.8.1 (https://github.com/lightningviper/lightningstools/tree/master/releases/End%20User%20Applications/F16%20Center%20Pedestal%20Display/Version%200.5.8.1)
-
Yep, does yours come start when Bms starts? Sometimes the gauges come up and other times it stays off… seems random. Do you have the display plugged straight into the video card?
-
I'm just testing on my computer. I don't have a display. I couldn't get it to work until I ran as Administrator, but I haven't tested extensively as I'm not planning on using a CPD.
-
... :notes: .
-
Thanks for trying… it could be windows, hardware…etc
Helios works great, so I might need to get my software buddy to look at it.
-
Now I got the button matrix working and data showing correctly. But I can’t get the switches at the bottom of the CPD (fuel, hdg etc) working.
Tried connecting them to the same pokeys and assigned the pins as digital inputs (inverted pin) with direct key mapping corresponding to the BMS keyfile. No response.
Some good info here:
http://www.viperpits.org/smf/index.php?topic=7382.0
-
I’m still trying to figure out the button matrix. I’ve got the bottom switches and knobs hooked up to a Bodnar board and mapped to BMS
-
I don't know much about the CPD, but maybe this pinout will help if it's the same unit Crease-Guard used to make.
[ You are not allowed to view attachments ]
Nomad look at the pinout, the usb matrix is already build in the CPD unit, 4rows 8 columns.
Use pokey57u I recommend
In the pokey software you can set up 4rows 8columns, press F2 and the little interface pops up
From there its pretty much self explanatory, for each OSB you can assign a keystroke.
-
Thanks Catcher for the information. My outer CPD buttons are all hooked up to a Bodnar board and show Button Box Interface DX1 through DX 26 numbers when pressed. When I'm in Settings in BMS the buttons all show button numbers 1281 through 1306 and I can program any keymap bindings to them and they'll work in the simulation. The CPD and all its pages show up prior to BMS running and I have to use the mouse for the functions to work. When BMS is running I don't have the mouse on the the CPD screen to change anything and the buttons don't work for CPD functions. Hope I explained this OK. So somehow I have to bind the CPD buttons to the CPD program itself. My CPD is not from the original run. Its from a later run from a different source. I'm open to any suggestions you have.
Thanks
-
Binding the 26 OSBs can be done in BMS of course for any key, but not for CPD functions.
BMS still does not have a CPD version build in, so we are still dependent on 3rd party software.
Since I use pokeys there is no DX binding option into a Pokeys switch matrix (or is there?)
It's great that Bodnar can emulate DX in a matrix, you might want to use PSUpdate V1.0.3, check BMS forum.
PSUpdate V1.0.3 works with DX keybindings only for the CPD...and it looks so great but I can't use it because of that.
So I hope a future update might make it possible to use keystroke bindings.
Perhaps I should be using Helios, but I just can't get my head around how to use the CPD in there ::), my mfd's are working fine on Helios.
Let's also not forget the ATD, there is one in Yame and another in older MFD exporter program.
Yame64 still works fine here in limited functionality in 4.37u4
So for now I stick with Yame64 for ATD + CPD.