Switch Hardware and Software

Showing results for 
Search instead for 
Did you mean: 

Is it possible to retrieve the VirtualDevice name, given a session reference?

As the subject line asks... If I'm passed a reference to an open SE virtual device (niSE SessionRefnum), is there any method to retrieve the virtual device name?  I wrote some LabVIEW code (no, not what I have in the diagram below) to inspect the underlying configuration of a virtual device (so I can log the hardware used, model/serial/relay use counts/etc), but I need to start with the string name of the vdevice... and it would be handy to retrieve that from an already-open session.



Switch Exec get VirtDevName from Session.png


David Boyd
Sr. Test Engineer
Abbott Labs
(lapsed) Certified LabVIEW Developer
0 Kudos
Message 1 of 1