real-time

How can I build real time system in asp.net?

偶尔善良 提交于 2021-02-05 09:28:25
问题 I am building an asp.net application for a health care domain. I need to keep the page to reflect real time updates. One way is to refresh the page after every x minutes but it may increase the load if there is no update. Moreover doing like this may not get the exact real time data. I want to achieve the almost complete real time functionality. How it can be done in ASP.NET C#..? 回答1: Have a look at SignalR https://github.com/SignalR/SignalR and http://www.hanselman.com/blog

How to test broadcast udp packets in Java on the same machine?

北城以北 提交于 2021-02-05 05:31:10
问题 Can I perform a UDP broadcast packets on my machine? I don't have a network, i just have my cheap linux box. I want to have a server broadcasting a packet and two or more clients in the same machine receiving them. Is that possible? What IP do I use? @gravyface gave me hope but I tried: 1) server sending to 127.255.255.255:54321 and clients listenting to 0.0.0.0:54321. 2) server sending to 127.255.255.255:54321 and clients listening to 127.0.0.1:54321. 3) server sending to 127.255.255.255

How to test broadcast udp packets in Java on the same machine?

ε祈祈猫儿з 提交于 2021-02-05 05:30:30
问题 Can I perform a UDP broadcast packets on my machine? I don't have a network, i just have my cheap linux box. I want to have a server broadcasting a packet and two or more clients in the same machine receiving them. Is that possible? What IP do I use? @gravyface gave me hope but I tried: 1) server sending to 127.255.255.255:54321 and clients listenting to 0.0.0.0:54321. 2) server sending to 127.255.255.255:54321 and clients listening to 127.0.0.1:54321. 3) server sending to 127.255.255.255

Communicating between a php web server and a C# desktop application

点点圈 提交于 2021-01-29 10:47:48
问题 I have a web service with php which is listening to some other services and receive some messages. After getting the message I want to deliver it to my desktop application. I don't want that my desktop app call my web service to see the message, instead I want to push my message to desktop app. In C# we can listen to pipe when it changes. But don't have any idea how to deal with it in php. Or maybe I use socket between desktop app and web service. Any idea would highly appreciated. 来源: https:

How to do a adc conversion every 1us with Nucleo-F303K8?

末鹿安然 提交于 2021-01-29 07:49:20
问题 Im using the STM32 Cube IDE. What I tried now is enable MSM in TIM2 and output_compare_no_output on Channel 1 and select "Reset" as the Trigger Event. Then I went to ADC1 and enabled Regular_Conversion_Mode, set Number_Of_Conversions to 1 and the External_Trigger_Conversion_Source to Timer 2 Trigger Out event. After that I set up a DMA in circular mode that pushes half-words to a RAM buffer. For testing I've set the frequency of the timer a lot lower (10Hz) and send some ADC readings from the

How to do a adc conversion every 1us with Nucleo-F303K8?

纵饮孤独 提交于 2021-01-29 07:27:03
问题 Im using the STM32 Cube IDE. What I tried now is enable MSM in TIM2 and output_compare_no_output on Channel 1 and select "Reset" as the Trigger Event. Then I went to ADC1 and enabled Regular_Conversion_Mode, set Number_Of_Conversions to 1 and the External_Trigger_Conversion_Source to Timer 2 Trigger Out event. After that I set up a DMA in circular mode that pushes half-words to a RAM buffer. For testing I've set the frequency of the timer a lot lower (10Hz) and send some ADC readings from the

Reading higher frequency data in thread and plotting graph in real-time with Tkinter

◇◆丶佛笑我妖孽 提交于 2021-01-28 12:25:19
问题 In the last couple of weeks, I've been trying to make an application that can read EEG data from OpenBCI Cyton (@250Hz) and plot a graph in 'real-time'. What seems to work better here are threads. I applied the tips I found here 1 to communicate the thread with Tkinter, but the application still doesn't work (gives me the error RecursionError: maximum recursion depth exceeded while calling a Python object ). Maybe I'm doing something wrong because I'm trying to use multiple .py files? See

Reading higher frequency data in thread and plotting graph in real-time with Tkinter

最后都变了- 提交于 2021-01-28 12:17:24
问题 In the last couple of weeks, I've been trying to make an application that can read EEG data from OpenBCI Cyton (@250Hz) and plot a graph in 'real-time'. What seems to work better here are threads. I applied the tips I found here 1 to communicate the thread with Tkinter, but the application still doesn't work (gives me the error RecursionError: maximum recursion depth exceeded while calling a Python object ). Maybe I'm doing something wrong because I'm trying to use multiple .py files? See

Real time 6D pose estimation of known 3D CAD objects from a single 2D image or point clouds from RGBD Camera when objects are one on top of the other?

可紊 提交于 2021-01-01 07:43:47
问题 I'm working on a research project where I need to estimate in real time the 6DOF pose of objects in a pick and place tasks. The pose must be estimate in real time, and the objects can be one on top of the other and identical, so I have to get the position and the orientation of the object on the top. The problem is that the objects are same ( PPVC blocks, in the construction field) but good thing is that they are with quite regular shape. So how to compare the known 3D CAD model in a single

Real time 6D pose estimation of known 3D CAD objects from a single 2D image or point clouds from RGBD Camera when objects are one on top of the other?

元气小坏坏 提交于 2021-01-01 07:43:08
问题 I'm working on a research project where I need to estimate in real time the 6DOF pose of objects in a pick and place tasks. The pose must be estimate in real time, and the objects can be one on top of the other and identical, so I have to get the position and the orientation of the object on the top. The problem is that the objects are same ( PPVC blocks, in the construction field) but good thing is that they are with quite regular shape. So how to compare the known 3D CAD model in a single