|
{short verson} Can a RCTIME TimeoutMultiplier be <1 ?
{extended release} In other words -using purely random examples- 0.5, 0.05, 0.4729, 1/2, 7/22 ? Is there any other way to set a shorter TimeOut?
{director's cut} Atom3.pdf manual, default timeout is 65535 µs (~66 ms) which, if we want to do other things (which we do) with the speedy lil Atom, is actually a very long time. Not to mention if my_Echo_Time is > ~15000 us (~15ms) there's a slight possiblity of cross talk errors from the other sensors. (well, ok i did mention it, heh)
{behind the scenes} My specific application is using a BasicATOM40-M (and later a BasicATOM40B-IC 40 Pin Interpreter Chip) to: 1) measure a Sonar Echo (from a 600 Series Smart Sensor {polariod} http://www.senscomp.com/600smartsensor.htm) 2) to a maximum distance of about 5.5 feet (~11.1' round trip @ 10ms total) 3) on 4 seperate sensors. 4) and do some other things that dont matter to this question 5) and ccp-x is otherwise occupied (may be running, maybe not, cant be used here)
{bloopers} If it "finds nothing" between 0.5' and 5.5' then there is an error, a malfunction, or hardware problem, and is irrelevant to the software, for all practical purposes. (or the unit just fell out of an airplane, hehe, oops)
***
{additional special features} Can four (4) RCTIME run concurrently? such as
(insert various variables here) miniTO = 0.229 ;or 1/4.37, or 100/437 ? (~15ms) mini-TimeoutMultiplier
high INIT_1 ;p18 If they all start at the same time then they... high INIT_2 ;p19 ...can all TimeOut together. high INIT_3 ;p20 high INIT_4 ;p21
rctime Echo_1,1,Timeout_myLabel1,miniTO,myResultV1 ;p28 /AX0 rctime Echo_2,1,Timeout_myLabel2,miniTO,myResultV2 ;p29 /AX1 rctime Echo_3,1,Timeout_myLabel3,miniTO,myResultV3 ;p30 /AX2 rctime Echo_4,1,Timeout_myLabel4,miniTO,myResultV4 ;p31 /AX3
Timeout_myLabel1 END ;stop typing and push the "Post" button
thanks, Timbo
|