From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
11-18-2010 03:16 AM
Hi,
Can anyone please tell me how do I control multiple relays in the PXI 2569 general-purpose raley module? I can't find the example for it. At the moment, the example I have is for controlling individual relay which is only for open/close one relay name at a time.
However, I need to use all the 100 relays and they got to be controlled at the same time.
Kind Regards,
Kieren
11-22-2010 10:59 AM
Hi Kieren,
Think about it as if it was multiple digital outputs you were trying to control simultaneously.
You could control them with numerous boolean switches. Or this could be changed to numerous boolean switches within a loop where the digital outputs will all change simultaneously.
Another way of doing this could be with variables.
Will you be needing to control all the relays every single time? Or will you just need to control only certain relays each time? Ie, when one changes do they all need to change? Or will they need to change independantly?
Hope this helps. I look forward to hearing back from you.
12-01-2010 05:07 AM
05-10-2012 07:11 AM
Hi Kieren,
Did you ever solve this? I'm surprised at how little documentation is available for switching multiple relays, I'm trying to do this exact same thing at the moment with the same card. There must be a better way than parallel loops?
Many Thanks,
07-15-2013 10:36 AM - edited 07-15-2013 10:37 AM
I am trying to write a code to switch some relays from the PXI 2569 board, but I am not getting sucessfull at that.
When I use the DAQ Assistant to configure and select the relays I wanna switch the code doesn't is effective.
Is there another way to switch some relays from PXI 2569?
Does someone have an example?
10-03-2014 10:53 AM
I've got the same card & trying to do the same thing...did anyone ever figure this out?!?
10-03-2014 11:59 AM
The attached snippet doesn't seem to do the trick.
10-06-2014 07:18 AM
There's a discrepancy between the simulated NI2569 & the real card. The simulated device gives access to 3 ports with lines, not k0 to k99.
Any reason for this or should this be addressed with a CAR?