Thank you for the awesome updates!
I've been working on the python api to generate and measure AWG signals.
There seem to be a limit with the AWG memory as I can only upload 16384 data points.
The code below generates a full sine wave.
from scopefun import *
import numpy as np
# ... initialization lines here
generator = sfCreateGenerator()
x = np.linspace(0, 2*np.pi, 16384) # <--- only 16384 samples
y = 2047*np.sin(x) # 12 bit AWG
y = np.array(y, dtype=np.short).byteswap()
for i in range(len(y)):
self.generator.analog0.bytes[i] = y[i]
sfHardwareUploadGenerator(ctx, generator)
but when I change the number of samples to 32768 it only generates half the sine wave
x = np.linspace(0, 2*np.pi, 32768)
I've tried turning off the second generator but to no avail? Any way I can access 32768 or more?