Hi,
it has not worked -- infact I will tell you little background of my project- I am working on a little robot which is controlled by basic stamp and has two motors, one encoder and range sensor. I have programmed everything in basic stamp editor and I am taking the output from sensors into ctrs to measure the pulse width for the range sensor and number of rising edges for encoder. my crux of basic stamp editor program is as fol:
FOR speed =0 TO 127
COUNT wheel, (Capture */ DurAdj), cycles
GOSUB Get_Sonar ' get sensor value
SEROUT 2, 84,[$80,0,2,speed]
SEROUT 2, 84,[$80,0,0,speed]
Now as you said I have done so and infact I tried to ran the VIs seprately for both the counters and it is generating the following error message
"data was over written before it could be read by the system, if data transfer mechanism interupts, try using DMA otherwise divide the signal before taking the measurement"
Now I have done both way with interupt and DMA it generates same error.
How to fix this error
Thanks