PDA

View Full Version : Feature Request



alaxus
08-23-2007, 09:20 AM
Hi Alan, /all
I am wondering if its possible to control to offsets with one rotary encoder using conditons based on another offset. Is this possible?

What I have is a MCP that has V/S and SPD adjusted by 1 encoder based on which switch is engaged on the MCP.

When nothing is selected it would default to SPD using:
Offset=5418
Bit=10

But when the V/S button is engauged using :
Offset=04F0
Bit=3

I want the encoder to control V/S:
Offset=5418
Bit=14

Possible?

Thanks,
Jeff

Tomlin
08-23-2007, 09:46 AM
Hi Jeff

Thanks for posting this here, as we both know how we've been hoping to accomplish this task for a few weeks now. I wanted to post this reply here from Peter Dowson's FSUIPC forum that I asked the same question in yesterday just so others may benefit from it. Moderators: I apologize if this is not a good place to place this reply, but since it was directly related, I placed it here. Thanks.



Thread: http://forums.simflight.com/viewtopic.php?f=54&t=64225&sid=2b02d5f572a5ba258700c7b58694e57c

Quote:

" Tomlin wrote:
The Learjet 45's autopilot has 1 Rotary Encoder that serves as both the Airspeed and Vertical Speed input device. If the SPD rotary is turned it will give an IAS value unless the VS hold button is pressed, which will change the SPD rotary encoder's function to change the VS value. When the VS hold button is pressed to turn it off, the SPD rotary returns to controlling the IAS value.

Can this be done via the Compound/Conditional button programming of FSUIPC?

Yes, that's quite simple -- you just need to have a button Flag toggle on and off when the VS button is pressed, and have the operation of the rotary conditional upon the flag.


Quote:
Also, I am assuming that the fact that all hardware programmed with FSUIPC will allow this regardless if the rotary encoder is from Phidgets and the button is from GoFlight, correct?


Yes, provided FSUIPC sees them both. Does it? Isn't the Phidgets stuff programmed directly, not as button inputs? To do the above you'd need to get everything seen in FSUIPC as button operations.

Maybe you should tell me more about Phidgets? Perhaps it can be set to provide buttons inputs, or otherwise operate FSUIPC's virtual buttons offsets?

Regards

Pete "

CocnutAir
08-23-2007, 10:30 PM
Pete, Jeff

There may well be someone who has written something that has a Phidget's digital input emulate a joystick button.

I have not developed that functionality with FS2Phidgets. Kinda pointless. Is easier and cheaper to buy a joystick and rewire one of the buttons.

Jeff,
Is the VS and SPD toggle functionality working in MS-FS ?

Regards,
Alan.

alaxus
08-24-2007, 12:31 AM
Hi, Alan
Its the Encoder that I need to do this and which works different to the buttons. As tomlin mentioned fsuipc can do this with button inputs, but not with encoders.
No the V/S and SPD functionality is handled by 2 seperate encoders in FS, same as the PMMCP.

Jeff


Pete, Jeff

There may well be someone who has written something that has a Phidget's digital input emulate a joystick button.

I have not developed that functionality with FS2Phidgets. Kinda pointless. Is easier and cheaper to buy a joystick and rewire one of the buttons.

Jeff,
Is the VS and SPD toggle functionality working in MS-FS ?

Regards,
Alan.

CocnutAir
08-27-2007, 09:21 PM
Jeff,

You would like the ability to be able to dynamically re-assign an offset to a phidget (encoder in this case) at run time (in flight).
The re-assignment would be toggled by the state of a digital input.

Have I stated problem correctly ?

As it so happens. One of the additions I have made for this coming release is an extension of the "circuit" concept. Phidget components can interact with each other in more ways than push-to-test and push-to-reset.

Other half of the solution is the ability to assign more than one offset to a Phidget component.

As in love and war - timing is everything.
You have timed your request well.;)

Regards,
Alan.

alaxus
08-27-2007, 10:10 PM
Jeff,

You would like the ability to be able to dynamically re-assign an offset to a phidget (encoder in this case) at run time (in flight).
The re-assignment would be toggled by the state of a digital input.

Have I stated problem correctly ?

As it so happens. One of the additions I have made for this coming release is an extension of the "circuit" concept. Phidget components can interact with each other in more ways than push-to-test and push-to-reset.

Other half of the solution is the ability to assign more than one offset to a Phidget component.

As in love and war - timing is everything.
You have timed your request well.;)

Regards,
Alan.

Yep thats correct, I look forward to testing it :)

Thanks,
Jeff

Tomlin
08-27-2007, 11:26 PM
Excellent! What if the only phidgets device is the rotary encoder and all the other switches/buttons are GF or InterfaceIT? Will it still work as how you mention?

JBaymore
08-28-2007, 10:04 AM
Eric,

I have mixed control sourcing on many of my panels. For example, on a single panel I have some of the buttons connected to a Hagstrom KE-72 running to one machine, some connected to a Hagstrom KE 72 on another machine, and some to the inputs on a Phidgets 8/8/8.

SO my guess is that it should work OK.

best,

..................john

Matt Olieman
08-28-2007, 10:22 AM
Eric, same here in my cockpit. Mixed interfacing like John just mentioned. Example is; my FCU is all phidget controlled and my EFIS is a Hagstrom encoder. Radios I use GF cannibalized products.

Tomlin
08-28-2007, 10:51 AM
Hi Matt and John

Thanks for the input. I suspected there'd be no issues, but I guess my concern is more focused on this issues that Jeff B (alaxus) and I have trying to interface the specific function of 1 rotary encoder controlling both the airspeed and vertical speed by simply pressing a button as VS hold.

I, like you Matt, intend on using the GF RP-48 rotary encoder for my CRS/HDG/ALT fucntions and a Phidgets push button rotary encoder for the SPD encoder, but a GF -RP 48 pushbutton for the VS Hold button. So, Im not sure if it will all work but a solution will hopefully present itself soon.

JBaymore
08-28-2007, 11:58 AM
Eric, same here in my cockpit. Mixed interfacing like John just mentioned. Example is; my FCU is all phidget controlled and my EFIS is a Hagstrom encoder. Radios I use GF cannibalized products.

Matt,

Hummmmmmm ........ how have you canibalized the GF VRP-166 radios? I've currently got four of them in my radio stack (one last one still to go)......and would like to hear some "options".

best,

......................john

JBaymore
08-28-2007, 12:01 PM
I, like you Matt, intend on using the GF RP-48 rotary encoder for my CRS/HDG/ALT fucntions and a Phidgets push button rotary encoder for the SPD encoder, but a GF -RP 48 pushbutton for the VS Hold button.

Eric,

I assume that you know about the GF remote mount kits for the RP-48?

best,

..................john

Tomlin
08-28-2007, 01:14 PM
Oh yeah, that's what I will be gettings vs. the whole unit- no need for the metal case! :) Thanks for making sure I was aware of it though. When I realised that GF had that option, I got real happy.

Matt Olieman
08-28-2007, 01:49 PM
Matt,

Hummmmmmm ........ how have you canibalized the GF VRP-166 radios? I've currently got four of them in my radio stack (one last one still to go)......and would like to hear some "options".

best,

......................john


John, all I have to say is..... "Very carefully" :) It was a pain in the but, after many hours of soldering and soldering I got. No special tricks, just be careful not to overheat the 7 Segs.

Here is a pic of the front side:
http://www.mycockpit.org/photopost/showphoto.php?photo=308

I thought I had pics of it as I was working on it, but can't find any :(

JBaymore
08-28-2007, 02:28 PM
When I realised that GF had that option, I got real happy.

Eric,

Yeah... me too. That was agreat move on their part. For someone building a throttle quad, their RMK board for their throttle is a great deal. Probably where I'll go when I get to building that part (right now using a CH 4 engine Throttle Quad).

Matt,

Thanks for the info. That looks VERY nice.

Question, does the Wx Radar panel in those photos hook to the AddOnGauges SA_WXR external program? If so, what is the "gain" hooked up to? SA_WXR has "range" but no "gain"....at least that I can find so far.


I'm thinking of eventually just removing the Goflight faceplate and simply redoing it with backlighting on the same "footprint" and layout since I designed around the "Goflight Standard" for panel mounting bays size (the joys of a generic pit ;-) ).

best,

................john

Matt Olieman
08-28-2007, 03:18 PM
Eric,

Matt,

Thanks for the info. That looks VERY nice.

Question, does the Wx Radar panel in those photos hook to the AddOnGauges SA_WXR external program? If so, what is the "gain" hooked up to? SA_WXR has "range" but no "gain"....at least that I can find so far.

................john

I'm no big help here John, yes I used SA_WXR and used their commands to work the panel. I haven't had my cockpit up and running for almost a year. Quite frankly, I just don't remember..... my guess is the gain was not operable.