Jump to content

zoltron_rulez

Members
  • Posts

    73
  • Joined

  • Last visited

  • Days Won

    2

zoltron_rulez last won the day on March 16 2012

zoltron_rulez had the most liked content!

About zoltron_rulez

  • Birthday 01/01/1

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

zoltron_rulez's Achievements

Newbie

Newbie (1/14)

9

Reputation

  1. My plugin will allow you to do this,..- even from an HTML page. Yes, you can write HTML and talk to X-Plane right from your browser. No C++, just pick a language of your choice (currently, Windows only). Ex: <script type="text/javascript"> function setFreq(val) { var client = new ActiveXObject("xcomm.XPLDeviceClient"); client.Open(); var dev = client.GetDevice(); var result = dev.Write("sim/cockpit2/radios/actuators/com1_frequency_hz", parseInt(val)); } </script> . . . <button onclick="setFreq(document.getElementById('txtFreq').value);">Set COM1 Freq.</button> z
  2. Thx Gregory, - I will give it a try. ********* Update: It worked. z P.s. Just spent reading info cmds vs datarefs from Ben's blog,- it answers a lot my questions.
  3. All, I have the following dataref that I want to write but the value is ignored: sim/cockpit2/autopilot/heading_mode I try to write a value of 1 (int), but X-Plane ignores it. I tried writing to using dataref editor, same thing. How is this dataref set (for heading hold)? **********UPDATE: OK, I found out that I cannot write to this dataref, neither to this one (sim/cockpit2/autopilot/altitude_mode). Therefore, the question is, how do I control the MCP, what dataref, I cannot seem to find it. Thx, z
  4. 1) True. I got the names mixed up 2) LOL, true, had a long week of coding at work trying to keep up w/ dead lines,- doesn't help that I wrote this later towards the evening just before bed. I should of organized it into a few concise questions w/ out side tracking,- and then wait for the response and filter out the answers that I already know. 3) That makes sense but it depends what you mean by it, can you elaborate? My understanding is when you launch a single copy of X-Plane, the rendering output (the scenery geometry and game physics, ie. the game loop) only supports a single video card. How can you feed data (I guess I have no idea what you mean by data???? This could mean anything such as data coming in through plugin, etc, etc.) to 10 different cards (independent card setup, non-SLI/cross fire) if X-Plane only renders to a single logical direct 3d device? I am puzzled what you mean? Just to point out: I know that there's a difference between a single PC setup w/ multiple cards and a multi-card rendering system setup that commercial applications such as a commercial flight sim would use. I just care about the former, and don't care about the latter .
  5. All, Correct me if I am wrong: I know SLI does nothing for X-Plane and as Austin pointed it out, it can make it worse but ... What if you have 2 video cards in your system (and you are NOT running SLI)? If I go back to my writing video games in OpenGL and DirectX days, the common thing to do was to create a single Direct 3d device and run game loop on it. This means, that if I want to run X-Plane on 2 video cards w/out SLI I need to run 2 -instances of X-Plane <- and that would not work since both would run separately of each other). If that's the case, there's no point of doing this. Therefore, in a nutshell, X-Plane runs on a single video card (for its rendering, I don't care about the instruments). Any comments are welcome to add to this discussion ... Not to far related, it would be great if X-Plane would support multiple rendering devices in some sort of fashion. Have a look at this OpenGL rendering of multi-million simulator by CAE: https://www.youtube.com/watch?v=2sLNApTc38w lk
  6. I just switched to powered hub (I think it is USB, or USB 2.0),- after doing some troubleshooting, I think it is related to datarefs,- I will know soon for certainty when I write my custom plugin using their SDK. If I can write/read the data coming of their hardware, then it is datarefs and the implementation of that person's plugin.
  7. Nice. Thanks for this. Reason why I was asking is because I will need to program my GoFlight MCP, and Nav radios using my custom plugin before I use the aircraft. lk
  8. Question to the authors of the Saab 340: 1) Do you define custom datarefs for MCP and nav/com radios or use standard XPlane datarefs? 2) If yes, where can I get a list of all the datarefs for this aircraft? Need to know before I purchase the aircraft. Thanks, lk
  9. The other issue maybe related to the plane that I have currently open and the datarefs it uses or doesn't use. Which plane in X-Plane would be good candidate to test on (one of the stock planes) for fully functional testing of MCP?
  10. All, If you are using Go Flight MCP or GO Flight nav/com modules, I would like to ask you to look at this thread and suggest a solution. I have connected to my system: GF-MCP (the old, not PRO version) 2 x GF116 Modules Using Sandy's latest plugin for GoFlight I have all 3 connected to a single USB hub that draws all its power from the PC (the hub doesn't have its independent Power supply) My Problems: GF-MCP: -Turning the altitude knob makes it behave weird (turning it up, the number goes up non-uniformly and turning it down the number keeps going up, as in 1k, 2.5k, 3k, etc.) -V/s has same issue but much worse behavior (the numbers jump up by larger interval) - IAS knob (when turning it to increase the speed) only increments the current value up by few values before then deciding to decrease the values (this is still while turning the knob to increase the speed) really retarded issue but it depends on the aircraft I have selected (with CRJ it behaves correctly) GF166 Modules: -Sometimes one of them just freezes (the display is on but nothing happens when you turn the knobs or press buttons,- this can be observed on the hardware/and in the xplane itself) To check if there's something wrong w/ the selected aircraft I used the knobs on the MCP in virtual cockpit and the knobs behave correctly setting the values correctly so it leads me to believe something is wrong w/ the hardware. Since I cannot find instruction manual for my older GF-MCP, anyone wants to suggest the hookup, do I need an externally powered hub? Do I need externally powered hub for the radios? Thanks, lk
  11. Yes, that's the one. Sorry, I wasn't sure how long the wait is ... I will await a response. Thanks for speedy confirmation things are looked after. lk
  12. Hello, I purchased the Jrollon planes on X-Aviation a while back. I need to be able to d/l these again but there's no link to d/l these when I view my orders. I sent an e-mail to X-Aviation but no response. As far as I remember, Cameron, you were able to help out w/ these issues ? Thanks, lk
  13. What I meant to say, it is possible to create plugins that do not play nice by the rules with other plugins or X-Plane. Nevertheless, if you're using a custom data ref, that explains it,- bummer. Thanks for this thread, I will have a look at it.
  14. Javier, Thank you for your response. Actually, these are GoFlight modules and use the famous Sandy's GoFlight plugin. Nevertheless, if your aircraft uses X-Plane datarefs for NAV and COM there's absolutely no reason you need to own any type of hardware. Your aircraft will work out of the box as long as "your" plugin doesn't do something extraordinary, or uses other datarefs. ie. If your plugin plays by the rules of the SDK correctly, everything is dandy. That's the whole idea about an SDK. I did simple test,- the GoFlight modules work fine with the Cessna 172, even with the CRJ-200 that you released. Next, I have loaded the Jetstream (beautiful aircraft btw) and disabled the plugin for it. Guess what, ... the GoFlight modules work. So clearly, the Jetstream plugin is most likely the cause of the problem. I do understand, if you do not have the hardware we have to test against, it is hard to catch these problems. Unfortunately, the Jetstream plugin is doing something that is reseting the NAV and COM frequencies preventing the GoFlight plugin to work correctly or vice versa. Not to point fingers, but since I never had a problem with the GoFlight plugin on all aircrafts I used it on (and it is writen by the author of the SDK), the problem most likely lies in the Jetstream plugin. Javier, can you please have a look how you're dealing w/ these datarefs. Kind Regards, Luke
×
×
  • Create New...