August 20, 20223 yr Hello: I have a XY two axis potentiometer that I want to attach to an Arduino. I'm planning to use it as a joystick map to move the map in the G1000 NXI MFD map. The connection will be on the analog connectors of the arduino. I already did it and is working ok. I think the pan joystick part of the MFD is done by the RANGE knob, by pushing it. Once pushed you can move the map up, down, left and right. My understanding is that there're AS1000 LVARS for doing this. I never did this before: use an axis signal to change a LVAR. Can you provide me some hints on how to do this: maybe a script...I dont really know. As always.....Thanks for the help Carlos
August 20, 20223 yr Commercial Member Those aren't LVars, they are HVars (HTML Variables). Off the top of my head - to operate these HVars with axis you will have to create four scripts and then bind them to your axis as Events (second box from the top on the axis assignment dialog). You will need 4 axis assignments in total, two for each direction (X/Y). When you assign an event to an axis, a set of "Trigger" controls will appear. Set the direction accordingly for each assignment (=one "up only", the other "down only"). Maybe try "Repeat" (I don't know how that G1000 joytick operates, if it keep going if you are holding it down.). The 4 scripts will look like this: 1·(>H:AS1000_MFD_JOYSTICK_UP,·Number) 1·(>H:AS1000_MFD_JOYSTICK_DOWN,·Number) 1·(>H:AS1000_MFD_JOYSTICK_LEFT,·Number) 1·(>H:AS1000_MFD_JOYSTICK_RIGHT,·Number) and there is also 1·(>H:AS1000_MFD_JOYSTICK_PUSH,·Number) But this is all in theory only. I've personally never tried to operate that G1000 joystick. Edited August 20, 20223 yr by Lorby_SI LORBY-SI
Archived
This topic is now archived and is closed to further replies.