Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    vinz_A320
    Guest

    Lightbulb a pulse in place of level hi or low...

    Hi.

    I use FS2Phidget now for weeks. It works very well since I installed XP pro SP2. I have only some problems (Runtime errors) when my kit 8/8/8 is connected. but when my 0/16/16 and 0/0/4 are connected... it works very well.

    my question is :

    I control a lock allowing the gear retractation when a/C is airborn (offset 366).
    this lock is actuated by a solenoid. but it needs only a pulse (0/12V) to toggle the position Lock/Unlock)

    I use a 0/0/4 to control this solenoid (0/12V) trough 2 inputs : one for locking, one for unlocking when a pulse is sended.
    If I maintain a constant level, because I don't know how generate a pulse with FS2Phidget, the solenoid becomes very hot..... too hot


    any suggestions ???

    thanks

    Vincent (A320/A330 in Toulouse)

  2. #2
    alandyer
    Guest
    Vincent,

    What kind of run time error are you getting with 8/8/8 ?
    I was using that card this weekend and today.
    No probelms. Kein probleim.

    I understand what you are attempting.
    You wish to emulate a squat switch.
    This is common on many aircraft to prevent inadvertant gear retraction while on the ground and landing with gear up.
    Damages the aircraft and upsets the passengers.

    That's the thing about digital input - its either ON or OFF.

    You could experiment with the rate function.
    However, I'm not optimistic that this will work.

    Regards,
    Alan.

  3. #3
    vinz_A320
    Guest

    Smile

    Hi Alan,

    I found the problem with my 8/8/8. it was the card. I changed it and now all is OK.
    FS2Phidget run since 2 days 24/24... it's great.


    for my Pulse generator, the great thing will be a delay generator in FS2Phidget (for exemple, when a variable is toggled to ON, the Hi level is hold 1sec and is automaticaly toggled to OFF next.... an Idea ?

    but I can installed a electronic Chip (NE555 for exemple generating a pulse...)

    Thanks for your job

    Regards

    Vincent

  4. #4
    alandyer
    Guest
    Vince,

    Let me think about this.
    I'm thinking of using Rate function as a start.

    Instead of a fixed time period, how about "number of cycles"
    Each cycle is the value you set in "Refresh box".

    Here's how I see it possibly working:
    Let's say the Refresh is set to 200.
    Then offset is calibrated to both positive rate and negative rate
    and delay is set for 5 Cycles.

    Fs2Phidgets would then respond to any CHANGE in offset value for
    5 X 200 (milliseconds) = 1000 milliseconds = 1 second.

    What do you think?

    Regards,
    Alan.

  5. #5
    vinz_A320
    Guest

    Smile

    Alan,

    your idea is interresting. generating a slope is, I think, the most efficient way. but, if I understood your post, we need a analog outpout? or the slope is internal to the FS2P software ?

    Thanks for your work

    vinz

  6. #6
    alandyer
    Guest
    The rate function ( or slope ) has been in the software since version 2.1

    I tried the rate function with offset 366 assigned to a 0/0/4.
    A brief on state is generated when offset value changes from 0 to 1.

    The duration of the on state can be adjusted with Refresh setting.
    This is not a very practical solution.
    Hence, my suggestion of a mechanism for "stretching" the duration.

  7. #7
    alandyer
    Guest
    Vinz,

    I have added a pulse function to software.
    Are you interested in evaluating a preview version of software ?

    Regards,
    Alan.

  8. #8
    alandyer
    Guest
    Vinz,

    Latest version has Pulse function.

    Alan.

  9. #9
    vinz_A320
    Guest

    Smile back to simulator within 1 week !!!

    Hi Alan

    First of all, thank you very much for your work, improving your software by
    usingmost of forum comments.

    I am presently on the french riviera (back to my roots !!!!) working in the garden and
    finishing restoration of my lovely Land Rover !!! I am far from simulators !!!!

    I will be back in my lab on september, 5th... then I wil try the last version on monday,
    with - of course - the Pulse Function.....

    I keep you in touch

    Thank you very much

    Vincent

  10. #10
    alandyer
    Guest
    Vinz,

    Thank you for your kind words.
    Had a look at your web site - very nice project.
    Superbe.

    Most of the suggestions I get from builders like yourself I need to implement for my own sim.
    Always welcome suggestions either to software or to manual.

    The way I see things.
    The more people we have building simulators the better for all of us.

    Regards,
    Alan.

Page 1 of 2 12 LastLast

Similar Threads

  1. Matrix with pulse generator
    By smendlik in forum I/O Interfacing and Hardware
    Replies: 0
    Last Post: 12-08-2009, 06:18 PM
  2. Any Pulse Switches?
    By Geremy Britton in forum General Builder Questions All Aircraft Types
    Replies: 3
    Last Post: 10-28-2008, 01:23 PM
  3. double pulse switch
    By aviaparts in forum I/O Interfacing Hardware and Software
    Replies: 8
    Last Post: 01-18-2008, 04:37 PM
  4. All dressed up and no place to go
    By Michael Carter in forum My Cockpit Update
    Replies: 6
    Last Post: 07-15-2007, 07:43 PM
  5. Rotary Pulse switches...
    By tunatuk in forum I/O Interfacing Hardware and Software
    Replies: 4
    Last Post: 09-02-2006, 01:03 AM