PISDK c# :I want to implement the function of batch writing data to the PI server when the number of PI server connections is less than 10, but I don't know how to get the number of clients currently accessing the PI server.
Try to use Performance Monitor tag.
PI SMT > IT Points > Performance Counter > Build Tags
PI Network Manager > Connections > _Total might work for you.
You also can see other connection number items too. (Like PI SDK Connections etc.)
Once create it, you should be able to see the value from AFSDK using PerfMon tag.
Retrieving data ...