Closed gmkrtchy closed 4 months ago
@gmkrtchy, we will look into this issue.
This is a very rough guess and I am no C++ programmer but is it because LVProtoServerReflectionPlugin
is being deleted here?
Looking at how the plugin is instantiated and stored I believe it would be shared between both server instances.
Hi,
We are developing a solution as part of a TBU CCS project that incorporates ni gRPC. In simple terms, we have multiple modules that will have a server setup inside the module & we will be connecting clients from teststand to be able to communicate directly with these modules. These modules will be within a overriding application and running within NI LINUX RT.
We have come across an issue whereby multiple servers is causing NI RT and also Labivew on windows to crash. We do not believe we are doing anything out of the ordinary and we are doing something similar to the TBU SRD ReplayHiLAD RT application, of whcih we can see doesn't do anything "non-standard".
As an example we created one Simple LV project consists of 2 Modules
Both Servers has the same code, after 30 seconds each server generates "Server Stop" event which stops the gRPC Loop. I see that Module1 Server Stops properly, but during stopping Module 2 it loses the connection to the target (See screenshot below)
We are using these versions of gRPC packages
There looks to be a similar ticket already created here from a partner. Any help and advice on this topic is appreciated as this is a solution required for a key NI Customer Please Find attached the LV Project with Protos gRPC_MultiServer.zip
AB#2759169