Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

data socket server api's

Is it possible to get all the Data Items currently available from a DataSocketServer? It would be very useful to interrogate a DataSocketServer to get all the Data Items programatically. The Data Socket Server Manager application (cwdssmgr.exe) is able to extract this information. I don't see any methods in the DataSocketServer Class that supports this.
 
Regards,
 
Dan
0 Kudos
Message 1 of 4
(3,458 Views)
Hey Dan,
Unfortunately, your observation was correct.  There is no public method to get all data items being hosted by a DataSocket server.  There is the SelectUrl method which will allow you to select objects through a dialog based interface.  This is really the only way that I have seen to get all the data items.

Thanks,

Pat P.
Software Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,446 Views)
Hey Pat:

That's unfortuneate!!

Thanks for the reply.
Dan
0 Kudos
Message 3 of 4
(3,442 Views)
I will have to add my opinion of how "Unfortunate" that is, and further that with a "poo-poo" on the engineers that didn't/don't see that as a necessary feature.
0 Kudos
Message 4 of 4
(3,274 Views)