Switch Hardware and Software

cancel
Showing results for 
Search instead for 
Did you mean: 

NI PXI-2522 53-SPDT Relay Error

Solved!
Go to solution

Hi,

 

I am trying to create a simple Test Stand 2012 test to test a cable path using the PXI-2522 Switch Card.  I use a FOR loop with 44 elements and cycle through 44 switch paths by "connecting" com0->no0, check the resistance, then "disconnecting" com0->no0.  I then do this for the next 43 switch paths.  After 40 tests, the NiSwitch driver returns an error:

 

BFFA4023  The number of relays attempted to be driven  on  this
          device has exceeded the relay drive  limit  for  this device.

 

Any reason why this error would be triggered if I am simply opening and closing the switch which puts it back in its default state?

 

Regards

Stuart

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

Hi Stuart,

 

I understand that you are attempting to open and close several relays simultaneously with the PXI 2522. 

The error that you receive is as a result of a limit on the number of simultaneous operations on the PXI. For the PXI 2522 this limit is 40. Please refer to the specification.

NI PXI-2522 Specifications
http://www.ni.com/pdf/manuals/373799a.pdf

 

Please ensure that the relays are closed once they have been opened.

 

Best regards,

 

Christian

0 Kudos
Message 2 of 3
(4,646 Views)

Thanks for the reply, but worked it out eventually!

I worked out that I wasn’t connecting back to “nc0” after disconnecting from “no0”. I assumed as they are SPDT switches that I wouldn’t have to carry out the disconnect->connect process but they driver seems to need this to happen.

 

Cheers

Stuart

 

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