NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Jean-Louis
Posts: 63
0 Kudos

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
MESULOG
F-38430 Moirans
Member
Guy Ferraro
Posts: 169
0 Kudos

Re: Route list in Switch Executive

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
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page