Pc Lap Counter

Logiciel de comptage
 
HomeHome  FAQFAQ  SearchSearch  RegisterRegister  MemberlistMemberlist  UsergroupsUsergroups  Log in  

Share | 
 

 Redirect phidget input IO to another lane (drag race)

Go down 
AuthorMessage
guy

avatar

Number of posts : 2081
Localisation : Belgique
Registration date : 2006-01-25

PostSubject: Redirect phidget input IO to another lane (drag race)   19/5/2009, 10:29

The following method can be used for drag racing track where start and finish line use different sensor but should trigger the same lane ID.

In the Phidget setup window of PCLC you can't say that IO 2 will trigger lane 2 and IO 3 will also trigger lane 2 but you can do it by editing the phidget_sn.ini file.

Edit the phidget_sn.ini file, you will find something like this:

[17299]
DI0=LANE_1
DI0_MIN=10
DI1=LANE_2
DI1_MIN=10
DI2=LANE_3
DI2_MIN=10
DI3=LANE_4
DI3_MIN=10
[LANEPOWER]
LANEPOWER_1=OD0
LANEPOWER_SN_1=17299
LANEPOWER_2=OD1

In this example the IO 2 trigger lane 3 , after modification it will trigger lane 2:

[17299]
DI0=LANE_1
DI0_MIN=10
DI1=LANE_2
DI1_MIN=10
DI2=LANE_2
DI2_MIN=10
DI3=LANE_4
DI3_MIN=10
[LANEPOWER]
LANEPOWER_1=OD0
LANEPOWER_SN_1=17299
LANEPOWER_2=OD1

So here lane 2 will be triggered by IO 1 and IO 2....interesting for drag track.

WARNING: If you go into the phidget setup window of PCLC and you click the OK button then your special configuration will be overwrited !!!

_________________
www.pclapcounter.be
www.pclapcounter.com
pclapcounter video channel
Back to top Go down
View user profile http://www.pclapcounter.be
 
Redirect phidget input IO to another lane (drag race)
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Pc Lap Counter :: Tips-
Jump to: