It worked, here's how:
uInt8 data[8];
char chan[256] = "/Dev2/port1/line0"; //exact port location
data[0] = 0; //binary value, the port will output 0 or 5 VDC.
DAQmxCreateTask("",&taskHandle);
DAQmxCreateDOChan(taskHandle,chan,"",DAQmx_Val_ChanForAllLines);
DAQmxWriteDigitalLines(taskHandle,1,1,10.0,DAQmx_Val_GroupByChannel,data,NULL,NULL);
BR,
concordian