TurbineDuke_INT.xml location
-
I am no programmer at all and have needed to workaround issues with a bit of lateral thinking and a lot of luck. The prospects terrify me and really appeal to others and I wish that I still had currency on computing in general so that I could tackle things more confidently and expeditiously but the analogy here is that were I to use my existing PC skills to boil an egg, it might take a fortnight, so I raise my hat to you and everyone else here as well. Go to it and enjoy.
-
Never too old to learn buddy! My biggest reason for doing these is that I got cancer diagnosis little over a year ago and was forced out of the workforce. I was previously a programmer in manufacturing and have been sort of a techie all my life and I am so bored being off work and this has kept me busy since my disability forced me out. Keeps my mind going and off the thoughts and treatments of the everyday cancer routine.
-
@Black-Square I am still unable to get any output for the following items:
KNS81
Mode no output
WPT no output
FRQ no output
RAD no output
DST no output
The only output that I get is the RNAV DME DST and KTKR87
ADF button- changes in sim from ADF to ANT but no output
BFO button- changes in sim but no output
FRQ button- works as expected changes standby and active frequency and also displays correct frequency selected
FLT/ET changes display in sim but no output
SET/RST works as expected -
Oh, I'm sorry I missed this for a week. I had the tab open, but I guess that cancelled the unread message notification.
I'm looking at the KNS81 code right now, so I will just copy the variables for you here:
Mode: L:var_rnavApproachMode, and L:var_rnavCourseLinearFlag.
Waypoint: L:var_RNAV_WAYPOINT_NUMBER
Frequency: A:NAV ACTIVE FREQUENCY:3
Radial: L:var_RNAV_RADIAL_NUMBER
Distance: L:var_RNAV_DISTANCE_NUMBERAs for the KR87, am I correct that you're looking for a way to detect the antenna or frequency oscillator mode? I haven't programmed that. My KR87 is a bit of an after thought, to be honest. I mostly programmed my own version just for uniformity of display with my other avionics, and so I could rid myself of any default Asobo code. If you would really like this addition for a home cockpit setup, I could probably put something together and give you some brief instructions on where to add a few lines in the code. Sorry, it's difficult for me to share javascript files through the forums. Due to security concerns, they are often flagged as dangerous files, so I would have to get someone from the support team to host the file on our servers for you. Let me know what I can do for you!
-
@Black-Square thanks Nick no worries I had lots of other stuff to work on. I will try these out today.
One other question I have is when I turn the course knob for the needle on the HSI the output I get is displayed like maybe 40 degrees off of what is displayed in the sim that the needle is pointing to. So let’s say I’m showing I am turned to 180° in the sim. The output that I get will be like 220° on my hardware as a number. I have looked for any lvar that could possible be showing g a number close to what I am showing in the sim and can’t see anything.
-
What variable are you viewing that produces the incorrect value? From the code, it looks like A:NAV OBS:1 should do the trick.
-
Hey Nick sorry I just realized I had the the wrong LVAR in there i had an RNAV Thanks for the reply.
-
@Black-Square Can you tell me what is the prop rpm output for the Turbine? I am using one and the rpm’s are not correct.
-
I assume you're using the native SimVar? BKSQ_DUKE_PROP_RPM_1 will always give the correct value, but they should be well synchronized with each other once the aircraft is operating normally.
-
This post is deleted!
-
@Black-Square Actually I have been using the BKSQ one. Some screenshots attached so you can see the output on my button and in Spad. Not sure I am using that umber correctly I thought it was giving me a direct RPM with that.
-
Ah, you have the wrong unit in Spad. It seems silly, but "Number" will not convert to "RPM". The unit conversion system in MSFS goes back to at least the 90's, and it hasn't been maintained very well, so many developers don't even know that it exists. I hope that helps! With my aircraft, you will also have to be careful with the units for temperature, but I try not to use specific units (instead, favoring "number") in most other places.
-
@Black-Square Do you know what I would need to choose for the conversion? I know there how to change it I just don't know what to change NUMBER to.
-
It should be "RPM". I just double checked, and I do have all the units in the manual if you have any other troublesome variables.
-
@Black-Square in Spad its not an available option I’m going to ask what others have done there. Thanks again.
-
@Black-Square With some help for the guys over on Spad discord we got it figured out there are two options that you can have I have Engine 1 as the SIMCONNECT version and Engine 2 as the LVAR in the attached screenshot.