Greetings,
You did not indicate which DAQ device you will be using, but LabVIEW ships with numerous example programs that demonstrate how to toggle a digital output line with a Boolean switch. In LabVIEW 6.1, they are available in the following location:
Examples >> Hardware Input and Output >> DAQ >> Digital Input and Output
After taking a look at these, if you have additional questions, let me know.
Good luck with your application.
Spencer S.