Thank you for the reply, I've already went through the code but still couldn't find where can I initialize certain port to have an output 1. I guess maybe this one, but I am not sure...
/* put all 1's single value */
CHECKERROR (olDaGetResolution(board.hdass,&resolution));
value = (1L<<resolution)-1;
CHECKERROR (olDaPutSingleValue(board.hdass,value,channel,gain));