Switch Hardware and Software

cancel
Showing results for 
Search instead for 
Did you mean: 

Route list in Switch Executive

How can I get (in LabVIEW) the list of the configured routes in Smy witch Executive session ?

Jean-Louis SCHRICKE
CTA - Certified TestStand Architect (2008 - 2022)
CTD - Certified TestStand Developer (2004 & 2007)
CLD - Certified LabVIEW Developer (2003 & 2005)

0 Kudos
Message 1 of 2
(6,204 Views)
There is a way of accessing the routes and route groups of a particular virtual device programaticaly. You will need to have session manager server installed.
1) Create an activeX session and connect to the session manager server 1.0.
2) Select "IInstrSessionMgr" for the Automation refnum
3) Enter your virtual device name in filter
4) Select "ReturnRouteGroups" or "ReturnRoutes" for Flags
5) Enter empty string in Category
6) Change the Variant to data (Array of string) to get the names of routes or route groups.

Regards
0 Kudos
Message 2 of 2
(6,204 Views)