Go to advanced search

by RobWarning
Wed Oct 07, 2015 5:28 pm
Forum: Beginners
Topic: threading question
Replies: 0
Views: 295

threading question

Hi, I try to modify the blinky webserver app a little bit and put everything in one single Universal Windows app. So without the need of this inter - App communication service. First I just like to show the incoming GET’s and the outgoing responces on my UI so I made a Universal Windows app. Made a ...
by RobWarning
Mon Aug 31, 2015 5:12 pm
Forum: Windows 10 for IoT
Topic: Synchronizing with ui tread
Replies: 12
Views: 1086

Re: Synchronizing with ui tread

Got It ! private async void OnAnemoTimerCallBack() { wind = windcounter; //Calculates wind await //windBox.Text = wind.ToString(); //show in texbox this.Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => { windBox.Text = windcounter.ToString(); }); windcounter = 0; //Reset windcounter Anemotim...
by RobWarning
Mon Aug 31, 2015 5:07 pm
Forum: Windows 10 for IoT
Topic: Synchronizing with ui tread
Replies: 12
Views: 1086

Re: Synchronizing with ui tread

Ok, I suppose I have to do something like this: private void OnAnemoTimerCallBack() { wind = windcounter; //Calculates wind //windBox.Text = wind.ToString(); //show in texbox this.Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => { windBox.Text = windcounter.ToString(); }); windcounter = 0; /...
by RobWarning
Mon Aug 31, 2015 4:34 pm
Forum: Windows 10 for IoT
Topic: Synchronizing with ui tread
Replies: 12
Views: 1086

Re: Synchronizing with ui tread

Hi Haroldpulcher, thanks for your code example. unfortunately this is not working for the raspberry 2 on IOT. The var and Dispatcher objects are not available. There is the CoreDispatcher class available. Maybe I can use this but I am struggling with the syntax. I also do not see how to call this “t...
by RobWarning
Mon Aug 31, 2015 10:55 am
Forum: Windows 10 for IoT
Topic: Synchronizing with ui tread
Replies: 12
Views: 1086

Synchronizing with ui tread

Hi, I am trying to build a wind speed sensor. For this I Count te amount of interrupts on a gpio pin that is configured as input in a certain time period. At the end of this period I like to show the count value in a textbox on the UI. … private void InitAnemoTimer() { Anemotimer = new System.Thread...
by RobWarning
Fri May 15, 2015 10:03 am
Forum: Windows 10 for IoT
Topic: Install Windows 10 for IoT using Windows 7
Replies: 68
Views: 109626

Re: Install Windows 10 for IoT using Windows 7

The first time I've put the iot image in my sd card without trouble. but when I tryed for the second time the DISM command did not recognise the ApplyDrive extention. It did turn out I was using the older version of the DISM command. the windows 10 version is 10.0.10074.0 . In order to use the right...

Go to advanced search