Results 1 to 10 of 10
Thread: Time Delay to event
-
02-18-2010, 12:19 AM #1
- Join Date
- Nov 2005
- Location
- Bombay, India VABB
- Posts
- 83
Time Delay to event
Hi All / Alan -
I was looking for a way to add a delay to an event - for eg, trigger a relay 2 secs after squat switch in "on" .... is there any way to do this via the fs2p editor/ini file/configure function? Couldn't find this..
FS2P V = 4.3.15
Thanks in advance!
Farrokh.
-
02-19-2010, 03:49 AM #2
- Join Date
- Jan 2007
- Location
- Texas
- Posts
- 582
Re: Time Delay to event
Farrokh,
Haven't fogotten about you. Just finishing up correcting bugs that folks reported.
I can make up a circuit post here. Could also make a sample project available for download.
As I recall the trick is to use the integrator component.
Regards,
AlanLast edited by CocnutAir; 02-19-2010 at 03:52 AM.
-
02-19-2010, 03:54 AM #3
- Join Date
- Jan 2007
- Location
- Texas
- Posts
- 582
Re: Time Delay to event
Not sure you can do a delay with 4.3.15.
Haven't played with that version in ages.
Don't think I have that anymore on my system.
-
02-19-2010, 04:59 AM #4
- Join Date
- Nov 2005
- Location
- Bombay, India VABB
- Posts
- 83
Re: Time Delay to event
Hi Alan - I suspected it couldn't be done with 4.xx -- no hurry, will also play around with v5 - still getting the hang of it..
Thanks!
Farrokh.
-
02-24-2010, 01:35 AM #5
- Join Date
- Jan 2007
- Location
- Texas
- Posts
- 582
Re: Time Delay to event
Download fs2phidget 5.0.16 (is still in approval status).
Product manual is no longer in the installer.
To create circuit with 2 sec time delay:
Start FS.
Start FS2Phidget516.
Open favorite project.
Create a new circuit.
Answer "No" to all "Create parallel circuit?" prompts, unless specfied otherwise.
Add Digital Input component, set label to "TEST".
Add FS Output component, assign to AUTOPILOT_MASTER_SWITCH Variable (so we can test on ground).
Add Fixed Value component, set InitialValue property to 1.
Add Integrator component, set MinValue to 1, MaxValue to 15, set Wrap to false and set Reset to True.
Add Valve component, set MinValue and MaxValue both to 15, set Shutoff to true.
Add Digital Output component, set Text to "DONE!".
Add Connector component (later another circuit will be added to connector - timer will control this circuit).
Click on the Valve component.
Add another Digital Output, Answer "Y" to "Add Parallel Circuit?", set text to "TIMER RUNNING".
To Test:
Either click on the Digital Input labelled "TEST".
or
Click on autopilot master switch in FS.
Now create a another new circuit.
Add Fixed Value component, set InitialValue to 16383 (Spoiler fully extended value).
Add Digital Input, set Controlled to true.
Note the name of this componentt (hover cursor over component to show name).
Add FS Input component, assign to FS Variable SPOILER_HANDLE.
On the first circuit, click on the Connector component.
Set ChildComponent to name you noted for Digital Input.
Test again.
When timer reaches 15 (approx 2 seconds on my lap top)
the Spoiler should deploy in FS.
Hope this helps.
Regards,
Alan
-
02-24-2010, 01:49 AM #6
- Join Date
- Nov 2005
- Location
- Bombay, India VABB
- Posts
- 83
Re: Time Delay to event
Thank you alan! Will try this - I guess you'll be uploading .16 when ready
where would we be without you...
Farrokh.
-
02-24-2010, 02:06 AM #7
- Join Date
- Jan 2007
- Location
- Texas
- Posts
- 582
Re: Time Delay to event
Is already uploaded.
Awaiting approval by admins.
Admins prefer to scrutinize and approve files before exposing to ya'll.
This is for our protection.Last edited by CocnutAir; 02-25-2010 at 01:17 AM.
-
02-24-2010, 08:47 AM #8
- Join Date
- Apr 2008
- Location
- Italy
- Posts
- 32
Re: Time Delay to event
Thanks for all Alan
Giosuč
-
03-03-2010, 04:12 AM #9
- Join Date
- Nov 2005
- Location
- Bombay, India VABB
- Posts
- 83
Re: Time Delay to event
Hi Alan -
Tried it on v .16 and it works like a dream...! Increased the number to 20 to get a slightly longer delay -
Thanks!
Farrokh
-
Post Thanks / Like - 1 Thanks, 0 Likes, 0 Dislikes
CocnutAir thanked for this post
-
03-03-2010, 09:24 PM #10
- Join Date
- Jan 2007
- Location
- Texas
- Posts
- 582
Re: Time Delay to event
Farrokh,
Cool. Thanks for trying this out.
Regards,
Alan.
Similar Threads
-
Vatsim see santa event pics
By steveeverson in forum MyCockpit Online Flying DiscussionReplies: 1Last Post: 12-20-2009, 08:37 PM -
Military Flight Simulator Event in the Netherlands
By Goldmember in forum MyCockpit Member MeetingsReplies: 0Last Post: 07-23-2009, 09:52 AM -
Old time builder,new time member
By Glenn Weston in forum Welcome to MyCockpit New here? Introduce Yourself!Replies: 4Last Post: 05-23-2009, 03:06 PM -
Help from Event organizers
By Tomlin in forum General Builder Questions All Aircraft TypesReplies: 3Last Post: 11-14-2007, 09:24 AM -
Grand Flight Simulator Event
By ekezz in forum MyCockpit News and AnnouncementsReplies: 0Last Post: 08-22-2007, 04:47 PM