Hi,
What do you mean when you say "gates and relays"? Do you want to control hardware gates and relays? or is this just a user interface control that looks like a relay?
I am attaching a small GUI that shows some of the boolean controls that CVI has. Please take a look at this UIR and give us some more details on this.
Regards,
Juan Carlos
N.I.