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: 

Getting the end point to end point connections paths that exist from Switch Exe

Can I query the Switch Exe data base and get a list of the existing paths that Switch EXE has connected?

 

I have a debug app that reads the channel names (via a property node) and present them to the operator to manually connect and disconnect paths using the end points. I would like to have an indicator showing the current paths that are connected and I was hoping to be able to get that from Switch Exe without me having to add code to keep track of it myself.

 

The goal is to be able to click on any existing path to disconnect it. 

 

I do query the switch cards and display the actual relays that are closed, but that is hard to relate that to what channels that are connected when we have 8 matrix cards all interconnected.

 

Thanks

Omar

Omar
0 Kudos
Message 1 of 2
(5,772 Views)

Hi Omar,

 

Try using something like the example below that incorporates an array to check every connection.  If the path is found to exist, then you could add that combination to an array that is displayed on the front panel.  Also see this knowledge base article about the known issue with the Find Routes VI.  Use the VI from the bottom of the page in place of the Find Routes from the palette.  Hopefully this helps!

 

17237i469DC2E48E899734

Regards,


h_baker
National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(5,657 Views)