Serges,
Thanks for the reply. The button that is being pushed is a virtual one for a front panel controller. I figured out a way to do it using an event structure, but it is very tedious since we are programming in DeviceNet.
The basic Labview function can be described by the following: There are two toggle switches. When toggle 1 is turned on, toggle 2 must be disabled. That part is easy. As soon as toggle 1 is switched to false, toggle 2 must remain disabled for 7 seconds. The problem I encountered using the event structure was that when toggle 1 goes from true to false it immediately enters the event structure without actuating the physical valve on the tool that we are controlling until after the event structure completes. It enters the 7 second delay for toggle 2 while toggle 1 remains in the true state. I was able to overcome this problem by creating a sequence in the event structure that writes each output to the tool in the first frame. The problem with DeviceNet is that you have multiple signals transmitted to various devices in bit-level format. So, I have write the current signal for every device connected to that pneumatic actuator. Since I have to do this type of logic for multiple switches, it is going to create a large messy VI. It seems that there could be an easier way to accomplish this task?
Thanks again for the help.