Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Switch executive wont disconnect

Solved!
Go to solution

LabVIEW 2014

MAX 15.3.0f0

 

 

SCXI-1166 32 SPST card

PXI interfaced via MXI, PXI-4072 card is interface to SCXI chassis

 

I have my channels and routes aliased in MAX for use in TestStand. The problem I am having is that I can connect a route and any of the channels used in the route, but I cannot disconnect them unless I use the Disconnect All button. I have watched the activity in NI I/O Trace and see the disconnect message being sent using the Disconnect Single Channel button, but the switch is not opening. Clicking the Disconnect All button sends the disconnect all message and the swtich opens.

 

How do I get the single disconnect function to work?

 

0 Kudos
Message 1 of 3
(4,258 Views)
Solution
Accepted by topic author lstein

Hello bobblob,

 

The SCXI 1166 is actually a SPDT card, as listed on the product page: https://www.ni.com/en-us/support/model.scxi-1166.html

 

With Double Throw relays, disconnecting the channel in hardware does not actually correspond to a change in physical state until you connect to the NO terminal. In general, when using DT relays, every disconnect should be immediately followed with a connect. Please reference the following document on Exclusions with SPDT relays:

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000001DdA5SAK&l=en-US

 

Best,

 

Daniel

Message 2 of 3
(4,233 Views)

Great writeup. I hadn't come across that yet in my search. Thanks for the pointer!

0 Kudos
Message 3 of 3
(4,225 Views)