There is the online help for the controls that has all the documentation for all of the functions. Just right click on any control and go to Help and you will get the help for the control. As for your question, the Visual Basic syntax for the statement above would be:
CWAI1.StartCondition.Type = cwaiHWDigital
Best Regards,
Chris Matthews
National Instruments