LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

(crosspost from Switch Hardware and Software) Is it possible to retrieve the VirtualDevice name, given a session reference?

(Crossposting to the larger LabVIEW community since this got 81 views but zero replies after a few weeks.  Original post here.)

 

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
(795 Views)