niSwitch Previously Connected Routes Are Becoming Disconnected using LabVIEW

Updated May 3, 2018

Reported In

Software

  • LabVIEW Full
  • LabVIEW Base
  • LabVIEW Professional

Issue Details

  • I am programmatically making connections on my NI Switch device using LabVIEW
  • I have already made connections on some channels within a bank and when I try to make connections on another bank of channels, the routes in the first bank become disconnected. How can I keep those original routes connected? 

Solution

If you are calling the niSwitch Initialize With Topology.vi multiple times within your application, make sure you have a false boolean wired into the reset device input. 

Additional Information

The niSwitch Initialize With Topology.vi initializes the switches associated with the session to a known state. When the vi is called, the reset device is set to true by default and it disconnects previously connected routes.

WAS THIS ARTICLE HELPFUL?

Not Helpful