Hi Mark,
The analog output update rate on the 6025E is not fast enough to produce a 500kHz square wave. The update rate is 10kHz.
However, you should use a counter to output the 500kHz square wave. The counter can output up to a 10MHz square wave. There are several shipping examples that you can use to generate the square wave:
LabVIEW 6.1: Generate Pulse Train (DAQ-STC).vi
LabVIEW 7.0 (DAQmx): Gen Dig Pulse Train-Continuous.vi
Essentially, any pulse train generation example using the DAQ-STC counter/timer chipset (used on all E Series data acquisition cards). Hope that helps.
Ron