LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to activate NI switches in parallel

Hello,
 
How do I activate relays on a PXI 1169 (100 SPST) in parallel? Is there any way?
 
Thanks,
PR
0 Kudos
Message 1 of 3
(2,954 Views)
You can place each switch in a while loops (that is, one loop per switch). While loops run parallel in a VI.
 
Hope that helps.
0 Kudos
Message 2 of 3
(2,937 Views)

Hi,

Assuming you are using LabVIEW to program your SCXI-1169, you can modify the shipping example to activate the relays in parallel.  Just as Ali84 mentions you can use while loops to activate the relays in parallel.  If you go to Start >> Programs >> National Instruments >> NI-SWITCH >> Examples >> LabVIEW 8.2 >> niSwitch Controlling and Individual Relay.vi.  This program shows you how to activate an individual relay.  You could modify this program using while loops or flat sequence structures to activate multiple relays in parallel.

Regards,

Ima
Applications Engineer
National Instruments
LabVIEW Introduction Course - Six Hours
Getting Started with NI-DAQmx
0 Kudos
Message 3 of 3
(2,916 Views)