Menu

#2 Always the same value

open
nobody
None
5
2009-08-07
2009-08-07
Anonymous
No

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 (Windows Scheduler) to start every 5 minutes and yes, it starts fresh each time (nothing is kept in memeory).

Weird huh! Anybody have any idea what is happening here?

Using Windows 2003 with 1-wiresdkver400_beta2.. Hardware is from Hobby Boards. I am using the 6 Channel Master Hub to gain access to the devices.

Thanks in advanced.
Stephane

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.