-
If you haven't solved it I think you missed the same thing that I did. You have to add doTemperatureConvert(byte[] state) on your OneWireContainer after you have run ReadDevice(). Then it will update the temperature values on each read.
2009-10-24 11:08:40 UTC by hulkenxx
-
I missed one thing. After ReadDevice() you need to add owcXX.doTemperatureConvert(state); so that the temperatures updates. Otherwise you will end up with the same value all the time. So add
owc10.doTemperatureConvert(state);
owc22.doTemperatureConvert(state);
owc28.doTemperatureConvert(state);
after each ReadDevice() and everything will work nice.
2009-10-24 11:05:01 UTC by hulkenxx
-
Hi
I have been looking around the net for a easy solution on how to build my own program to log temperatures directly from the my home-brewed serial onewire adapter (DS9097E). Just like this one [http://www.hoppie.nl/tempsens/][1] . Sure you can use many other ways to do this, like using the c api from maxim or [http://www.codeproject.com/KB/system/onewire.aspx][2]
But Its nicer to program...
2009-10-21 19:01:31 UTC by hulkenxx
-
On CE, you can only use the new Serial adapter, DS9097U (no braces). No braces will give you the new class that does not rely on TMEX. TMEX is not available on CE. You will to enable this class on about line 127 in AccessProvider.
There is one actual 'bug' in the code that kept me from getting this working until yesterday. On about line 1049 in CommAPI, change from:
this.DCBlength =...
2009-10-14 20:53:47 UTC by jasoncd
-
:
Hi, i wrote a C# program that reads a few temperature sensors (DS1920).
With .NET, it alwasy reports the same temperature values (for more than a
day) until i run the Java equivalent (a modified version of the samples
found in owapi_1_10). The Java program reports the right values and then
the C# will start reporting those values until i run the Java program
again. The C# program is...
2009-08-07 21:05:50 UTC by sricard
-
Hi, i wrote a C# program that reads a few temperature sensors (DS1920). With .NET, it alwasy reports the same temperature values (for more than a day) until i run the Java equivalent (a modified version of the samples found in owapi_1_10). The Java program reports the right values and then the C# will start reporting those values until i run the Java program again. The C# program is scheduled...
2009-08-07 13:51:18 UTC by nobody
-
I've still have the same problems with ow.net on Win CE.
I tried do port the sources for .Net Compact Framework, but had no success.
Can anyone send me a ported version or help me with this problem?.
2009-06-02 13:43:57 UTC by marcosauter
-
On further investigation this seems to be a limitation with the OneWire driver and how it enumerates USB adapters.
If multiple USB adapters are connected to the same USB controller through some* hubs then the behaviour seen above is observed. Connecting multiple USB adapters to the same PC via different USB controllers seems to work as you would expect.
*I have tried a number of different...
2009-06-01 11:24:42 UTC by gilester
-
Hello OW.NET team,
I'm trying to use multiple USB OneWire adapters (type DS9490) in a project. These are installed on my PC as "USB1" and "USB2".
I can successfully create multiple PortAdapter objects and target them individually. To confirm the PortAdapter objects are correctly defined I have read back the PortName property and it is correct.
However, when I try to...
2009-06-01 09:11:35 UTC by gilester