-
Posts
65 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Everything posted by amarante68
-
landing light switches
amarante68 replied to amarante68's topic in FSUIPC Support Pete Dowson Modules
Since last week I tried many ways to send a value to LANDING_LIGHTS_SET without sucess. Last think I did. In my EPL code: void Landing_lingts_btn.On(void){nqw(SetU3,16bit_value;} This sent a 16bit value to U3 in epicinfo.cfg In my epicinfo.cfg: LANDING_LIGHTS_SET=U3 Of course I sent a 16bit to a 32 bit but i was sure to see some reaction. Nothing at all. I can do in my epicinfo.cfg: FSUIPC_WRITE_9=U3,4,3110 But I dont understand how this ofset will control LANDING_LIGHTS_SET. How to asign fs control to this ofset? You see, I assume that LANDING_LIGHTS_SET would be the control where I can send a value and control the angle of the light. I can easly assign an epic btn. to LANDING_LIGHTS_SET in FS9.cfg. But this will result in a kind of beam scrolling left to right and this is not what I want. -
landing light switches
amarante68 replied to amarante68's topic in FSUIPC Support Pete Dowson Modules
Go see this french site to know more about hardware alowing you to get 512 buttons and more. http://www.microcockpit.com/ Look for module A.B.A. and module 64 BTN I have this hardware but the verssion 256 btns and verry happy with. I assume 512 verssion works as well. -
landing light switches
amarante68 replied to amarante68's topic in FSUIPC Support Pete Dowson Modules
What I can do is to find an ofset then use: FSUIPC_WRITE to send or read a value from it. Before i use fs interogate to find the ofset I want. I do this when i do not find the proper Pigeon hole i want. If I use FSUIPC_WRITE_1=x,2,3110 I would be able to send a 16 bit value to ofset 3110. But how to assign 3110 to LANDING_LIGHT_SET ? -
landing light switches
amarante68 replied to amarante68's topic in FSUIPC Support Pete Dowson Modules
Since I am not a c++ programmer but verry interested at it, can you explain more about what is ofset 3110 and 3114? And how to work with. I am good with Epl , cfg files and Fsuipc stuff. I use fs interogate only to see ofset value. Thank you -
Hi In a real Baron 58 you get 1 switch for left landing light and one for right landing light. In Fs you have just one switch to control both. I found in fs 2004 control list these values. LANDING_LIGHT_LEFT LANDING_LIGHT_RIGHT If I asign it to a switch you can see the light moving left or right. Of course this is not the efect i want. I want to asign a switch for each. IF (SWITCH LEFT){LANDING LIGHT FULL LEFT} IF (SWITCH RIGHT){LANDING LIGHT FULL RIGHT} IF (SWITCH LEFT & SWITCH RIGHT){LANDING LIGHT CENTERED} That would give the effect of having a switch for each side. This would be possible if I find an ofset where I can send value to control angle of light. I find ofset for landing light to put it on or of, but no one to control angle degree of it. If can find LANDING_LIGHT_LEFT LANDING_LIGHT_RIGHT There is an ofset somwhere isn't? Thank you
-
Hi This is an issue I never went trough completly. Converting Float to Byte. I have to read AILRON_DEFLECTION ofset 2EA8. As other interesting values this one is a Float64. What is the math. to convert into a Byte or a Word? FSUIPC_READ_12=165,D?,2EA8 Thanks
-
Thanks Again ! Working! I am not a newbie with Fs and Epic. But still I realy wonder how you deal with such issue. Well for me it is an issue. Why fs9.cfg is now so far? How should we find things like this? Because of switches EPL programming matter. Assignments allowes switches toggle action only. Often I need ON/OFF action:ANTI_ICE_OFF ANTI_ICE_ON For instance. Also my fuel selector needs it. It was an issue with swithes such as TOGGLE_BEACON_LIGHTS, because you dont have OFF and ON for beacon_light. For this one for instance I use FSUIPC_WRITE to send 0 or 1 with a on and off switch. That is even harder. By the way with newest fsuipc, do we have more than 64 FSUIPC_WRITR/READ ? You may have an other solution. .
-
Hi It is for a long time I didnt come here. I just start to use fs 2004 instead 2002. I use Epic card buttons to control the whole thing. I usualy use the f2002.cfg where I put things like BUTTON_DOWN_EVENT_02=ELEV_TRIM_DN BUTTON_DOWN_REPEAT_02=1 BUTTON_DOWN_EVENT_03=ELEV_TRIM_UP BUTTON_DOWN_REPEAT_03=1 But now I dont find where to use control tockens with fs 2004. I tried in fs 2002.cfg and device.cfg . Still nothing. Regards
-
Pigeaon hole question
amarante68 replied to amarante68's topic in FSUIPC Support Pete Dowson Modules
I add MaxScanFrequency=10 then MaxScanFrequency=1 Still no changes I made a test runing FS with or without epicinfo.dll and .cfg. As far as I can see, it makes no changes in the frame rate. -
Pigeaon hole question
amarante68 replied to amarante68's topic in FSUIPC Support Pete Dowson Modules
So I kept only the fuel_left and right_percent and it works. I ave read the doc. How do I change MaxScan parameter? Should I add MaxScanFrequency=1 in epicinfo.cfg? Is this change will affect EPIC or frame rate of FS? -
Pigeaon hole question
amarante68 replied to amarante68's topic in FSUIPC Support Pete Dowson Modules
I find out that it is not an EPL problem. I made several tests using PH091 and PH095 as FUEL_TANK_LEFT_PERCENT=1 and FUEL_TANK_RIGHT_PERCENT=1. These without success to initiate fuel gages at FS start. What I did is erase PH names from EPICINFO.cfg then put FSUIPC_READ_8=161,4,0B7C and FSUIPC_READ_9=162,4,0B94 Ofset 0B7C for FUEL_TANK_LEFT_PERCENT 0B94 for FUEL_TANK_RIGHT_PERCENT They work perfectly. Initiate the gages at start and works very well on whole gages range.(using gauge module from R&R) This is not the first time that I found that FSUIPC_read or write work better than PH variables listed in epicinfo.doc. I wonder why :roll: -
Pigeaon hole question
amarante68 replied to amarante68's topic in FSUIPC Support Pete Dowson Modules
Yes I know. When Fs start most of the PH are sent and set my stuff. But I can't get fuel value at start. I must wait next decrease of the value. What I don't understand is if I look to Epicinfo log after the test flight, I can see the 100% fuel at the begining. But this value is not being send to epic until 99%. Pecular! :shock: I made a test with a very simple code so I should see 100 at start on my display. Niet it shows 0 then 99 after it spent 1% of the fuel. I don't understand why "FUEL_TANK_LEFT_PERCENT=1 " FUEL_TANK_RIGHT_PERCENT=1 do not sent to Epic at start. -
I dont know if it is more an FS.cfg matter or Epic one. I would like every PH value to be sent to Epic when Fs start. EX: I have 2 fuel gages not initiated until Fuel value changes. I would like any thing like fuel,wiskey compass and others being initiated when fs is loaded. Of course I could make an INIT proc to match with a default FS setting. But this is not what i would like. I would like any Fs setting to be sent to Epic at start.
-
proppellers amplitude
amarante68 replied to amarante68's topic in FSUIPC Support Pete Dowson Modules
When I was young I played a game. Once the bath half full, I start to make a wave. This wave is bouncing side by side. Then I folow the frequence of the wave with my hand. Then amplitude of the wave is growing up very fast until it is on the floor. We saw this happening with brand new bridge the felt because of the wind. This can happen with proppellers. On the real aircraft we can find the gauge PROP AMP. Not in Fs. Maybe I will use RPM and airspeed to program the gauge to show a normal value. Just to make the gauge not totaly dummy. But I dont know yet. This value should go up wile the proppeller get older. Well all this is what I understood after few research I made on the net. I didnt find any easy explainations about it. The ofset vibrations is for turbine engine only. King air works because it is a turbo prop. But on piston aircraft the value stays 0. -
Hi I built all gauges of the Baron 58 and programmed most of these. But 1 gauge gives me problems. The PROP AMPS (proppellers amplitude)gauge founded on the Baron. Is there an ofset that would be usfull to calculate the amplitude of proppell ers? I know we can find the ofset for vibration on jets. But it does nothing for the prop aircraft. Maybe i need more explainations about PROP AMP. :?:
-
After some changes in my EPL and put AP_ALT_VAR_SET_ENGLISH=U2 in EOICINFO.cfg it works. Now for the vs_setting I use FSUIPC_WRITE_7=U1,-2vs_set,07F2 I need to send value 3000 to -3000 for AP_VS_SETING (smallint) it works very well for +100 +200.......to+3000 But when it is time for negative it is somthing else. I know it works. What we have to do for example to send 100 I send 100 to send -100 I send 65535-100 =65435 then we have -100 in FS vs seting. The perfect command to do so seems to be ~ (ones compliment) to reverse the value. But the command freez EPIC right away when sent. myWord=100~100; shows 65435 then Epic freez. how should I use the command to make the ap_vs_set works?
-
Hi every one This is the first time I show pictures of my project on the Internet. I dont know if there is an easier way, so if you know one, plz tell me. What you can see is parts and panels I made in my shop. As a cabinetmaker I have tools and I even bought a small machine shop for plastic and alumium. Most of what you see is made from routers using templates I made. I draw those on cad then the printing was made by GGI http://www.ggi-international.com/fr/index2.php I fixed those printing on 3 mm lexan before to cut it with routers. The thin film made by Ggi is laminated on lexan. Plz Pete take a look to my AP_alt_vs selector. Nest tieme I will show real Baron parts i found on Ebay. Enjoy :D Luc http://picserver.org/view_image.php/8R8AKC22836W/p.jpeg //AP_alt_vs selector http://picserver.org/view_image.php/9PNVDJO3J915/p.jpeg //Epic System http://picserver.org/view_image.php/L0ALOZ05DS1S/p.jpeg //Epic System http://picserver.org/view_image.php/12RXZ2FZ1S6U/p.jpeg //Epic System http://picserver.org/view_image.php/DK1AXCNMTMFL/p.jpeg //Beech Yokes http://picserver.org/view_image.php/210PZF3RU120/p.jpeg //Trim Switch http://picserver.org/view_image.php/L0R84O40468L/p.jpeg //Wet compass http://picserver.org/view_image.php/B1CJU1119RDL/p.jpeg //Trim wheel set http://picserver.org/view_image.php/M7QC78OMJ091/p.jpeg //Main switches pannel back http://picserver.org/view_image.php/8JEYVVUW3J4L/p.jpeg //Main switches pannel http://picserver.org/view_image.php/02QR8S7A6OR8/p.jpeg //Main switches pannel http://picserver.org/view_image.php/RVC2K4TMM5J7/p.jpeg //Main switches pannel http://picserver.org/view_image.php/768ZPRQXMI0A/p.jpeg //radio stack http://picserver.org/view_image.php/SB27ZJ8OLER3/p.jpeg //radio stack http://picserver.org/view_image.php/92Z9M2K3U167/p.jpeg //radio stack http://picserver.org/view_image.php/MWO9ZT4QMVED/p.jpeg //radio stack http://picserver.org/view_image.php/69ZK6R53UF90/p.jpeg //Main annunciator flashersand buzzers board http://picserver.org/view_image.php/VQ59Y7DC5AL3/p.jpeg //Gps annunciator http://picserver.org/view_image.php/274U4DSAYGZV/p.jpeg //flap and dimmers panel http://picserver.org/view_image.php/1M64K58YGGL8/p.jpeg //flap and dimmers panel http://picserver.org/view_image.php/AQ19CZG2RZ5P/p.jpeg //Elt switch http://picserver.org/view_image.php/JUC6C2JL288V/p.jpeg //Dme indicator http://picserver.org/view_image.php/N11G7742X122/p.jpeg //Baron 59 placards http://picserver.org/view_image.php/81B6CU2Q6HMJ/p.jpeg //AP unit http://picserver.org/view_image.php/WNDPB58P1B9T/p.jpeg //AP annunciator
-
He he Certainly not. All this should help me for the moment. I l give news when it will work. Thanks
-
Thanks for replies. When you say, "you'd need to write two values" Do I need 2 ofset with 2 soft axis? 07D4 and 07D6? What is 07D5? I try to figure out how ofsets work. If using AP_ALT_VAR_SET_ENGLISH=U2 Should I place it in Epicinfo.cfg or Fs.cfg? Yesterday I tried in Epicinfo.cfg without succes. But i l try it again If you think that is the solution. Should i need to do a special Math proc. in my EPL? Or just sending 0 to 35000 (Feet min)? Is it corect if i say a Word is same as smallint and LongWord same as longint?
-
Hi I have difficulties to send a value to AP_ALT value. My epl code send a value 0 to 35000. In Epicinfo.cfg i have-FSUIPC_WRITE_8=U2,4,07D4 I tried every size of variable without success. AP_VS setting is working well. What is the difference between smallint and longint? I took care of EPIC programming considerations in EPICINFO doc. Still I don’t find the way. Regards
-
IS ACQUIRED OR VERY NEARLY SO. Exactly and this is what tells me when the aircraft is on capture mode. If 07F2 goes 0 but previously set to any climb rate. The aircraft is in capture mode. It works very well. Thank you I am still with 2002 until i have the space to build the cockpit. Then i l go with newest verssion of everything.
-
No. To do that it would have test V/S for zero and set something non-zero when it was. There's no point in that, and it just means more work to do continuously in the FS process. Regards, I agrea. Do you have an idea how i could do this? Any ofset that says when the aicraft is in capture mode? Pete
-
Sorry, I'm not understanding you. FS certainly does something of the sort you mention. Are you wanting to know WHEN it does it? Just reading the autopilot V/S value should tell you, surely? If this is not what you want to know, what is it please? Regards, Pete For sure when the aircraft goes into capture mode, the vs_hold value goes to 0 and vertical speed it self begin to decrease. With some epl manipulations i could determine that. But i already have a lot of epl for the altitude selector. To simplify the task, is is there a specefic ofset that says WHEN it does it. Thanks for your help
-
As the aircraft nears a selected altitude for alt hold,a pitch round is computed based on the vertical speed to reach the altitude. So VS slows down and AP vs value = 0. This is what we can call capture mode. What ofset should be use to determine if the aircraft is capture mode or not? This is for simulation of a Bendix King altitude selector. regards
-
Hi What I need to do is to make a VIRTUAL axe follows a real axe into window game controller. I placed in device { connector(Econ); analog(VIRTUAL, pot1, X, MEM8,0,0,255); }; So I see the axe appearing in window game controller. But even if I give value to this axe by epl coding, "device.VIRTUAL = device.real_axe;" I see the real axe moving well but I don’t see the VIRTUAL axe moving into game controller. I tried many ways to give a value to it, but still nothing. Also tried a calibration coding into epl. I think I should not need it until I want 0 to FF or 0 to FFFF What can be missing? If you are wondering why I need to axes like that, it is about the pitch trim controlled by a stepper motor. I need the real axe to control the motor and the Virtual will send data to AXE_ELEV_TRIM only when AP is off. I found that when I get on Autopilot Fs pitch trim still confused between reading pot value or following the autopilot. Regards Luc Montréal Canada