jfjoubert Posted September 9, 2016 Report Posted September 9, 2016 Hi, Is it possible to read the custom IXEG datarefs via UDP? I was looking at the SET DATAREF STRUCTURE which can be used to set a dataref via UDP to any value... so this should work for sending data to x-plane. But it seems as though it's not so easy to read custom datarefs from x-plane via UDP. The data output screen only allows a set list of items to be sent out via UDP. It seems as though you will have to create an SDK plugin to be able to send custom dataref values via UDP. Is this the case, or is there another way? This would be quite nice for using Arduinos etc. to be able to interface to the IXEG plane as well as for Android and IOS devices. Quote
mmerelles Posted September 9, 2016 Report Posted September 9, 2016 I am not expert here just trying to help. Document provided withing /xplane 10/instructions/sending data to xplane.rtf provides the information how to set a dataref / how to read back. To my understanding sending/reading via UDP is not related to the IXEG or any particular bird. This is how you interact with xplane and xplane should allow you to manipulate set/read any dataref or other plane commands/features. Quote
jfjoubert Posted September 9, 2016 Author Report Posted September 9, 2016 Hi, thanks for the info. Quote
Ben Russell Posted September 10, 2016 Report Posted September 10, 2016 (edited) I'm interested in making MQTT work with X-Plane. Edited September 10, 2016 by Ben Russell Quote
jfjoubert Posted September 10, 2016 Author Report Posted September 10, 2016 I had to google MQTT... Could someone tell me what the data type is for the IXEG CDU screen datarefs? Quote
jfjoubert Posted September 11, 2016 Author Report Posted September 11, 2016 OK, finally managed to get it working, but... I can't find the dataref for the CLR key on the IXEG CDU's... DataRefTool is not picking them up. I can't clear the scratchpad remotely. Anyone able to tell me what it is? Quote
mmerelles Posted September 11, 2016 Report Posted September 11, 2016 12 minutes ago, jfjoubert said: OK, finally managed to get it working, but... I can't find the dataref for the CLR key on the IXEG CDU's... DataRefTool is not picking them up. I can't clear the scratchpad remotely. Anyone able to tell me what it is? I did not test because i have no remote cdu hardware. But got these from the included documentation: ixeg/733/FMC/cdu1_clr ixeg/733/FMC/cdu2_clr have you tried them? not working? Quote
jfjoubert Posted September 11, 2016 Author Report Posted September 11, 2016 (edited) Nope, not working... ixeg/733/FMC/cdu1_del is the DELETE key which is working but not the CLR key. All other keys are working 100% except SP which seems to not be implemented. Edited September 11, 2016 by jfjoubert Quote
mmerelles Posted September 11, 2016 Report Posted September 11, 2016 8 minutes ago, jfjoubert said: Nope, not working... ixeg/733/FMC/cdu1_del is the DELETE key which is working but not the CLR key. All other keys are working 100% except SP which seems to not be implemented. I am not saying ixeg/733/FMC/cdu1_del (delete) i am saying ixeg/733/FMC/cdu1_clr (clear) I just went to joystick & assignment for testing purposes, assigned a key to ixeg/733/FMC/cdu1_clr and it works flawlessly, each key push clears a character on the scratchpad. Remember also this is a custom command NOT a dataref as you call it above which makes a difference. Datarefs (memory positions) are a whole different thing Quote
jfjoubert Posted September 11, 2016 Author Report Posted September 11, 2016 Hi, thanks for the info. Apologies... I was merely saying that the DELETE key was working. I'm using a third party plugin which is exposing all datarefs via sockets. So I'm not using any commands. It simply seems as though the dataref for the CLR key was not mapped. I even tried to map to ixeg/733/FMC/cdu1_clr in FlyWithLua with no success... all other custom IXEG CDU datarefs are fine in FlyWithLUA. Thanks for the help. Quote
mmerelles Posted September 11, 2016 Report Posted September 11, 2016 20 minutes ago, jfjoubert said: Hi, thanks for the info. Apologies... I was merely saying that the DELETE key was working. I'm using a third party plugin which is exposing all datarefs via sockets. So I'm not using any commands. It simply seems as though the dataref for the CLR key was not mapped. I even tried to map to ixeg/733/FMC/cdu1_clr in FlyWithLua with no success... all other custom IXEG CDU datarefs are fine in FlyWithLUA. Thanks for the help. Again, this is not a dataref. A dataref is a memory position, a variable, were you can read and/or write values. A custom command is an order, a command. When you trigger it, it does something pre-programmed. You can not read or write anything. If you map a custom command as if you were treating a dataref it wont work!!! Quote
jfjoubert Posted September 11, 2016 Author Report Posted September 11, 2016 I understand... The plugin I'm using only exposes datarefs. I'm building an app for Android to control the IXEG cdu's so I can't use commands. Quote
jfjoubert Posted September 29, 2016 Author Report Posted September 29, 2016 After some investigation I found out that the ExtPlane plugin can actually issue commands to X-Plane... so I'm now using the commands to control the CLR key on the IXEG CDU. It's so much nicer to use an external device to control the CDU. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.