PDA

View Full Version : Offset request and help



michelmvd
09-03-2007, 08:58 AM
Hello Alan,
I would like to connect a few momentary switches in order to give the pushback command + left or right. How must I proceed.

Where can I download the latest manual ?

Many thanks for your most appreciated help
Michel

yoss
09-03-2007, 01:24 PM
Well, Michel, afraid you will have to use keyboard emulator for that

Dont think there are offsets for this purpose

As to manual--see Avsim front page--the title is "Pushback frustrations";)
There is some article bout that yet
I do remember there is some pushback freeware gauge alowing to use keystrokes as well for Fs2004 -search Avsim library

Regards

CocnutAir
09-04-2007, 02:29 PM
Michel,

There is an offset for keystrokes and it is supported.
Keystrokes are supported for digital input and encoders.
FS Variable is KEYSEND, with offset 3200.
There are some limitations (see help) with this offset.
Easiest is to try it out with a virtual phidget.

The latest manual is now online help.
Easiest is to download latest version and look at fs2phidget.chm
or fire up fs2phidget and either press F1 or select Help from the menu bar.

Regards,
Alan.

michelmvd
09-04-2007, 02:57 PM
Thanks Alan,
So if I understand well, there is NO specific offset for the pushback function?
B. Rgds
Michel

CocnutAir
09-04-2007, 03:10 PM
Michel,

Reading the FSUIPC documentation for offset 31F4:

Pushback control (FS2002+). Write 0–3 here to set pushback operation, as described for the status, above.

"above" is referring to offset 31F0:

Pushback status (FS2002+).
3=off, 0=pushing back, 1=pushing back, tail to swing to left (port), 2=pushing back, tail to swing to right (starboard)

I haven't played with functionality, but one could set up an FS Variable to set offset 31F4 to 0, 1, 2 or 3 and play around with the emulated interfacekit.

Regards,
Alan.

CocnutAir
09-04-2007, 09:13 PM
Michel,

My curiosity got the better of me.
I edited FSVariable PUSHBACK_CONTROL to set the FS type to Discretes,
and set discrete values to 0, 1, 2 and 3.

Assigned PUSHBACK_CONTROL to 2 momentaries on the emulated interfacekit.
Configured the digital inputs to "latched".
Configured one on-value for one switch to 1 ( by pressing the "discrete" button on the configure form).
Configured on-value for other switch to 2.

Parked aircraft at gate, released park brake and pressed a momentary switch.
Aircraft pushed back and swung either left or right depending which button I pushed.

Hope this helps.

Regards,
Alan.