- From: Ian Abbott <abbotti_at_mev.co.uk>
- Date: Fri, 30 Jun 2006 15:24:00 +0100
On 30/06/06 11:24, Ian Abbott wrote: > On 29/06/2006 14:34, Andrea Davighi wrote: >> I'm using an output card Advantech PCL-727 with the driver pcl726, >> and graphical interface xrtailab. >> I have a problem with I will start the target from shell, because >> immediately the board produce a signal of 4,999 Volt continuously also >> if I will stop the target. >> To eliminate the signal from the board output channel, I have,always, >> restart the PC. >> I ask if somepeople knows this problem and can help me. > > I'm having some trouble understanding your English, so I'm not sure what > your problem is. The PCL-726 looks like a simple card though, so there > isn't much that can go wrong. The same is true for PCL-727 :-) > Make sure the comedi_config command-line parameters that set the range > of each channel match the jumper settings on the card. Then when you > write 0 to a channel you should get 0V output. That wasn't correct! When you write 0 to a channel you should get the minimum voltage in the range (that will be a negative voltage for bipolar ranges). If you want 0V output, you'll have to convert the voltage to the correct sample voltage using comedilib functions such as comedi_get_range, comedi_get_maxdata, and comedi_from_phys. -- -=( Ian Abbott _at_ MEV Ltd. E-mail: <abbotti_at_mev.co.uk> )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
Received on 2006-06-30Z13:24:00