Why Is My Relay Output Device Not Switching States?

Updated Sep 17, 2018

Reported In

Hardware

  • NI-9482
  • sbRIO-9482
  • NI-9485

Issue Details

I have a relay that is closed and I am outputting an array of false values to open it. When I output the false values to the relay, it is not opening the relay.

Solution

Make sure the array you are sending to the module is initialized. If an array is not initialized, it will be writing nothing to the relay. You can see a visual difference when a Boolean array is initialized and not initialized.

WAS THIS ARTICLE HELPFUL?

Not Helpful