07-13-2012 07:38 AM
I have an NCD relay controller controlling 5 different relays that correspond to different loads on a load bank. I found a VI that works for controlling the relays, and now I want to program a 4 hour long cycle with varying loads using a combination of the relays. I'm a little new to LabVIEW, so you'll have to bare with me. The load will be changing every 5 minutes, for 4 hours, so I'll need a pretty concise way to do this. How could I accomplish this? Any help is really appreciated. Thanks
07-13-2012 09:44 AM
What I have done in similar circumstances is to create an array of clusters of times and relay states. Each cluster contains the time that one or more relays will change and the values or states of all the relays at that time.
The user interface consists of a time control and a switch (boolean) for each relay. When the user has all the switches and the time set, a button is pushed (perhpas labeled "Enter") and the data is added to the array. Before starting the process of sending the data to the relay controller, sort the array by the times.
Remenber to set the relays to OFF at the end, or automaically include that.
Lynn