For 1-bit output, I modified the DigitalDiscovery_Play.py only one line to
dwf.FDwfDigitalOutPlayDataSet(hdwf, byref(rgwPlay), c_int(1), c_int(int(nPlay)))
and it generated something unexpected. Should the type of rgwPlay get changed as well? Do you have an example of single channel output?
Thanks..