Since 6704 is static AO board. which means you can update the value of AO voltage at the rate of AO loop execution. In Windows, the timing accuracy is about 1ms, and equals to 500Hz square wave when the duty cycle is 50%. However, this does not mean you can generate any squarewave that less than 500Hz, but rather, you can generate the frequency equals to 500 devided by an integer, such as 250Hz, 166Hz, 125Hz, and so on. If you want to generate squarewave, consider using counter when the voltage level is TTL.