There's a command to convert temperature of all sensors in the bus, that's the simultaneous conversion Check owfs file system there's a file just for this Check ds1820 datasheet too , that's interesting when you need speed
Em terça-feira, 28 de outubro de 2014, Coudy <co...@chovan.net> escreveu: > Hi, what do you mean with "do a simultaneous conversion and read the > values after the conversion is done on all sensors." ? > Could you please add example ? > I read data with cat /mountpoint/sensor/temperature. > > If temperature sensor is powered, then reading is faster compared to > parasitic power ? > > > 2014-10-28 11:40 GMT+01:00 Jan Kandziora <j...@gmx.de > <javascript:_e(%7B%7D,'cvml','j...@gmx.de');>>: > >> Am 27.10.2014 um 18:08 schrieb Coudy: >> > I have in Zabbix Timeout 15 seconds. I want to try restart server every >> > hour, then I'll post results >> > >> Sampling 19 temperature sensors one-by-one takes up to 19 seconds. This >> is due to the lengthy A/D conversion process. >> >> Either increase the timeout, sample 9-bit or 10-bit only, or power the >> sensors, then do a simultaneous conversion and read the values after the >> conversion is done on all sensors. The latter takes about 2 seconds for >> 20 sensors in 12-Bit mode on a DS9097. >> >> Kind regards >> >> Jan >> >> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Owfs-developers mailing list >> Owfs-developers@lists.sourceforge.net >> <javascript:_e(%7B%7D,'cvml','Owfs-developers@lists.sourceforge.net');> >> https://lists.sourceforge.net/lists/listinfo/owfs-developers >> > > -- Roberto Spadim SPAEmpresarial Eng. Automação e Controle
------------------------------------------------------------------------------
_______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers