Dispatch Posted June 6, 2011 Report Posted June 6, 2011 Hi Cameron,being a Mac user, my Saitek devices do not have any "drivers" to setup the whole stuff. So, I need to go by datarefs for assigning non-default X-Plane functions to buttons. Actually, I'm willing to set buttons for the fuelcut switches. This one works all fine:ENGINE STARTUP#IF BUTTON 14 SWITCHES FROM 0 TO 1 SET CRJ/eng/red1_switch TO 1#IF BUTTON 16 SWITCHES FROM 0 TO 1 SET CRJ/eng/red2_switch TO 1ENGINE STOP#IF BUTTON 15 SWITCHES FROM 1 TO 0 SET CRJ/eng/red1_switch TO 0#IF BUTTON 17 SWITCHES FROM 1 TO 0 SET CRJ/eng/red1_switch TO 0Cool eh? Well, it's not. I must prevent Buttons 15/17 to be permitted stopping engines when I'm inflight. Image you're hitting those buttons due to whatever during final approach. So, the above must be adjusted. Logically, I assigned a button 1001 linking it to AXIS 3, and finally defining a range. Then, I went on with PERMIT as follows:#SETBUTTON 1001 FROM AXIS 3 RANGE X TO YLEFT ENGINE START#IF BUTTON 1001 SWITCHES FROM 0 TO 0 PERMIT#IF BUTTON 14 SWITCHES FROM 0 TO 1 SET CRJ/eng/red1_switch TO 1#RESET AUTHORITYRIGHT ENGINE START#IF BUTTON 1001 SWITCHES FROM 0 TO 0 PERMIT#IF BUTTON 16 SWITCHES FROM 0 TO 1 SET CRJ/eng/red2_switch TO 1#RESET AUTHORITYLEFT ENGINE STOP#IF BUTTON 1001 SWITCHES FROM 0 TO 0 PERMIT#IF BUTTON 15 SWITCHES FROM 1 TO 0 SET CRJ/eng/red1_switch TO 0#RESET AUTHORITYRIGHT ENGINE STOP#IF BUTTON 1001 SWITCHES FROM 0 TO 0 PERMIT#IF BUTTON 17 SWITCHES FROM 1 TO 0 SET CRJ/eng/red2_switch TO 0#RESET AUTHORITY... but guess what. I does not work as it still does not prevent from stopping engines even with 100% throttle. I have been gambling around for hours now with X / Y range of the throttle - axis. But no success. According to your Dataref, the throttles have integer values from -1 to 0(idle) to 1(full). According to this, the range for switching Button 1001 from value 0 to 1 should be from 0.01 to 1.00. But it's not. I have also been trying to adjust values for the PERMIT of Button 1001 (1 to 0 / 1 to 1 ... ) and still no success. I don't have any idea how to find out the correct range of my axis. The above PERMIT - coding should be correct, is it?! Now, how to find out the real range of my axis? Many thanks in advance ... :-[ Quote
Dispatch Posted June 6, 2011 Author Report Posted June 6, 2011 uhhh .. double posting. Sry. Technical finger trouble Quote
Cameron Posted June 6, 2011 Report Posted June 6, 2011 Please see the following topic: http://forums.x-pilot.com/index.php?topic=2256.0 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.