I am attempting to set up the AWG on my PS2204 using the function: ps2000_set_sig_gen_arbitrary
I do not need any sweeping of the frequency so the value of startdeltaphase and stopdeltaphase must be equal, and the value for deltaphaseincrement and dwelltime must both be 0, am I correct?
Having said that I am finding it cannot manage to calculate of the deltaphase necessary to abtain my desired frequency. I am using the equation as instructed:
outputFrequency = dacFrequency × ( d e l ta P h a s e /phaseAccumulatorSize)× (awgBufferSize/arbitraryWaveformSize)
With the value for the constants given in the documentation:
dacFrequency 2 MHz
Is it possible that these constants are not correct for my model?
I am sure that in my arbitrary waveform file I have a single oscillation and therefore that is certainly not the source of the error.
I am obtaining a frequency 25 times larger than it should be.