07-06-2005, 11:46 AM #1vinz_A320Guest
a pulse in place of level hi or low...
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 ???
Vincent (A320/A330 in Toulouse)
07-06-2005, 03:48 PM #2alandyerGuest
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.
07-08-2005, 09:18 AM #3vinz_A320Guest
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
07-13-2005, 07:26 AM #4alandyerGuest
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?
07-16-2005, 05:49 AM #5vinz_A320Guest
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
07-17-2005, 04:03 PM #6alandyerGuest
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.
08-15-2005, 04:23 AM #7alandyerGuest
I have added a pulse function to software.
Are you interested in evaluating a preview version of software ?
08-17-2005, 05:32 PM #8alandyerGuest
Latest version has Pulse function.
08-28-2005, 12:42 PM #9vinz_A320Guest
back to simulator within 1 week !!!
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
08-29-2005, 04:14 AM #10alandyerGuest
Thank you for your kind words.
Had a look at your web site - very nice project.
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.
By smendlik in forum I/O Interfacing and HardwareReplies: 0Last Post: 12-08-2009, 05:18 PM
By Geremy Britton in forum General Builder Questions All Aircraft TypesReplies: 3Last Post: 10-28-2008, 01:23 PM
By Marnix MFS in forum I/O Interfacing Hardware and SoftwareReplies: 8Last Post: 01-18-2008, 03:37 PM
By Michael Carter in forum My Cockpit UpdateReplies: 6Last Post: 07-15-2007, 07:43 PM
By tunatuk in forum I/O Interfacing Hardware and SoftwareReplies: 4Last Post: 09-02-2006, 01:03 AM