10-11-2011 04:38 AM
We are having cRIO 9022 in which we are using NI 9472 DO module to which 4 relays are connected. we need to switch the relay one by one with time interval gap of 1 minute. What is the best method to implement the same. Whether Elapsed time express Vi will solve the purpose. How?
Thanks
10-12-2011 09:12 AM
Hi there,
I am assuming you are wanting to do this on the RealTime target not an FPGA?
A simple way to do this would be to use a timed loop with a a dt value of 60 000 (1kHz clock).
Within this you would have a case structure with a shift register wired to the case selector terminal. This shift register would be incremented on each loop iteration, a simple wrap around could also be implemented.
Each case would activate a channel on the DO module.