07-27-2017 12:04 PM
Hi all,
I am working on a circuit board which has relays controlled through the PXI 2567 64Ch relay driver. I would really appreciate if someone could help me create a VI to fetch the status of all the relay channels (either ON or OFF) when executed once. This would significantly reduce my debugging time.
There's this NI Switch - Get Status function which supports such an operation. I am trying to figure out on how to use it. Any help would be appreciated.
Thanks
07-28-2017 08:25 AM
Hi sjadav, what if you use the niSwitch Get Relay Position.vi, you just set the relay name and you get the status
Take a look at the palette
07-28-2017 08:47 AM
I'm not familiar with NI Switch - Get Status function. niarena is correct, you can use the niSwitch Get Relay Position.vi to get the relay's position.
Here's a VI Snippet showing how to get all the relay names and positions for any switch:
Obviously you can simplify it if you already have the relay names you want to check.
07-28-2017 04:35 PM
Hi marshallg,
Appreciate your quick response. I'll try this and let you guys know. Thanks for the help.