Page 1 of 1
.NET Core programs (realtime) feasible?
Posted: 05 Jun 2019, 13:06
by DDD
Hi there,
has anyone tried to program the device with .NET Core? We want to do realtime digital IO and talk to other devices over Ethernet.
Can you please tell if it's a good idea to use .NET Core here? Are there any show-stopper we should know about?
Timing is key in our project and we need to react to inputs in a timely manner.
Any input hightly appreciated!
DDD
Re: .NET Core programs (realtime) feasible?
Posted: 11 Jun 2019, 12:42
by dirk
Dear DDD, here is an answer in our forum - unfortunately in German but jut translate it i.e. with
https://www.deepl.com/translator
https://revolution.kunbus.de/forum/view ... 390&p=1463
Re: .NET Core programs (realtime) feasible?
Posted: 25 Jun 2019, 11:31
by fpf_baden
Hi,
.NET Core is no problem.
But you have to poll digital inputs - there is no interrupt-service or so.
What exactly are you meaning with "realtime" ?
1µs, 1ms, 10ms, 100ms ?
Re: .NET Core programs (realtime) feasible?
Posted: 21 Apr 2020, 11:05
by fgaultier
I tested checking inputs with .NET Core on REVPI Core 3, few months ago. It works fine, but I did not make any measurement for latencies, but should be faster than Python.
By the way, what is the usual latency you can expect before a change in one the DIO module input is reflected in "/dev/piControl0" ?
Re: .NET Core programs (realtime) feasible?
Posted: 24 Apr 2020, 08:51
by dirk
Hi please regarding the latency of the system there is the variable called "RevPiIOCycle". I have found this tutorial page
"PiCtory neues RevPi Core V1.2".
Maybe we have missed to translate this in English - I'll check this.
This value depends on the hardware and the the PiCtory configuration of your system. You may read out this value in not rounded miliseconds with the command
Re: .NET Core programs (realtime) feasible?
Posted: 25 Oct 2024, 09:37
by GianlucaCucco
Hi everyone, there is any plans for a .Net sdk ?
i did already used the industrial Raspberry tecnology with .net core 3.0 witch is now a bit old but was fitting the purpose