08-06-2014 09:08 PM
Hi All,
I am interested in being able to create a list of subscribers to a shared variable that will update as PCs are connected and disconnected.
Currently I have 1 PC reading atmospheric data and hosting it as a network published shared variable. I would like to have on the frontpanel of the host machine an "Active Clients" list to show which PCs are currently subscribing to that variable. I was wondering if there is a simpler method of acheiving this than my current plan of having the client PCs send commands back to the hosting PC.
Any advice is welcome. Thanks in advance.
-DY
08-07-2014 09:10 AM
Hi dyeung,
I do not know about some easy way but you can try following approach. Method how to obtain all PSP variables in network is shown here http://zone.ni.com/reference/en-XX/help/371361G-01/lvconcepts/usingdynvarapi/
so if the libraries will be deployed and undeployed programmatically, presence of PSP variable in the list means the client is "active".
Best regards,
CaravagGIO