Since you didn't include the configuration of the daqmx channels in your vi I can't tell if you are doing something wrong.
Because the DIO lines don't have an own timebase you need to supply a tact signal to time the operation. This could be an AI scanclock, or an AO update clock or any external TTL signal.
If you dont have a data acquisition or generation running synchroneously you always can use one of the counters to generate a continuous pulsetrain as a tact.
Here are some links to online examples:
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=E4C68BB4D82A126DE034080020E74861&p_node=%20DZ52321&p_source=External
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=DD535427AB1D5A53E034080020E74861&p_node=DZ52000&p_source=External
Attached you find an example using a counter as timebase
Ingo Schumacher
Systems Engineering Manager CEERNational Instruments Germany