Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://jet.sao.ru/hq/sts/linux/comedi/doc/func-ref-comedi-data-write.html
Дата изменения: Unknown Дата индексирования: Tue Oct 2 09:31:05 2012 Кодировка: Поисковые слова: space shuttle atlantis |
Writes a single sample on the channel that is specified by the Comedi device device, the subdevice subdevice, and the channel channel. If appropriate, the device is configured to use range specification range and analog reference type aref. Analog reference types that are not supported by the device are silently ignored.
The function comedi_data_write() writes the data value specified by the parameter data to the specified channel.
On sucess, comedi_data_write() returns 0. If there is an error, -1 is returned.