10-10-2017 04:26 AM
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
Solved! Go to Solution.
10-20-2017 09:13 AM
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
10-25-2017 01:47 AM
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