Z-Wave World Forums > General Discussion > Programming Ideas and Examples
Jan 7 2010, 11:22 PM
Post
#1
|
|
|
Newb ![]() Group: Members Posts: 1 Joined: 7-January 10 Member No.: 1,657 Location:Calgary, AB |
Hi,
I am developing an UI front end using C#.NET for a Z-Wave devices/network. I am using the samples application called ZWavePCController as my guildlines. This is my first ever venture into Z-Wave world. One of the crucial requirement is to pull update information from the a single device (binary switch) on the network every second in a Real-time view. This is where I encountered the following error "Error in RequestWithNoRepsonse :Error in ITransportLayer: WriteFile failed: err: 170." The error occurs when I am using the Timer control in C# to pull information every second to update the switch status. The result is that the application will hang. Is there a way to gracefully recover from this situation? I was able to re-create this error with the sample app, ZWavePCController, continuously click the Get Report button. According to http://en.kioskea.net/faq/sujet-2347-error-codes-in-windows, the error code 170 is "The requested resource is in use." So I may have to look into thread/lock managing. Any help would be greatly appreciated. Thanks, Newbie |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 24th May 2013 - 12:19 PM |
