Re: timers on usbdux

 > and always get: 7936.
It's not a timer. It's a counter which has 3 inputs: clock, up/down and 
clear which are just the inputs of the digtial port of the DUX-board. As 
long as you don't apply a clock pulse there it won't count.

 > I would like to poll repeatedly and when a count has been reached, 
put out a different voltage on the ao out port. Could that be accomplished?
Write a program that polls the counter and then sends out a different 
value on subdevice 1 (AO).

/Bernd


www:    http://www.berndporr.me.uk/
         http://www.linux-usb-daq.co.uk/
Mobile: +44 (0)7840 340069
Work:   +44 (0)141 330 5237
         University of Glasgow
         Department of Electronics & Electrical Engineering
         Room 519, Rankine Building, Oakfield Avenue,
         Glasgow, G12 8LT


Per Arlock wrote:
> Hi Bernd,
> 
> I have tried to issue the command: 
> 
>>You can read the status of the counters via subdevice 3:
>>bp1_at_snoopy:~/usb/comedilib-0.7.22/demo$ ./inp -s 3
> 
> 
> and always get: 7936.
> I would like to poll repeatedly and when a count has been reached, put out a different voltage on the ao out port. Could that be accomplished?
> 
> Best regards!
> per
> 

Received on 2005-10-01Z18:28:35