LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How many clients subscribed to shared variable engine

Hi,

 

    I have shared variable engine deployed on RT and want to know how many clients get access to the shared variables. Is it possible? Thanks!

 

   Tom

0 Kudos
Message 1 of 4
(2,487 Views)

Theoretically there is no limit for the number of clients (maybe there is a 2^32-1 limit somewhere I don't know about).

However, more clients create more threads and the CPU usage will increase.

So you shouldn't use that much clients or host the SVE at the host computer if possible.

 

 

Christian

0 Kudos
Message 2 of 4
(2,477 Views)

Hi,

 

    I don't have many clients connected to the shared variable engine. I just want to know how many is connected so the real time target can respond differently. Thanks!

 

    Tom

0 Kudos
Message 3 of 4
(2,471 Views)

Hi tom, 

 

I don't think there is a way to do that directly. You could implement it manually with another shared variable though. 

 

Jesse Dennis
Engineer
INTP
0 Kudos
Message 4 of 4
(2,447 Views)