From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Switch Hardware and Software

cancel
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.

 

Dave

Switch Exec get VirtDevName from Session.png

 

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