Hi,
I am using digital discovery waveforms SDK, and I'm trying to use the pattern generator function to send a custom signal.
the code I am using:
Device_data = device.open()
logic.open(Device_data, buffer_size=4096)
pattern.generate(Device_data, channel=data_channel, function=pattern.function.custom, frequency=bclk, data=pdm_samples.tolist())
the data I am sending is a list of integers I've created.
I keep getting this error:
WF_SDK.device.error: Error: pattern -> generate -> Invalid bit count provided.
what could cause this error?
thanks,
Noa