In the example code DigitalDiscovery_RecordToFile16.py, the acquisition mode is set to Record with dwf.FDwfDigitalInAcquisitionModeSet(hdwf, acqmodeRecord) [ line 84 in my attached version].
However, function "dwf.FDwfDigitalInAcquisitionModeInfo(hdwf) ", returns c_int(3), which I thought from the SDK manual meant only acqmodeSingle and acqmodeScanShift were valid (see attached SDK exerpt)
Am I miss understanding something in the Manual?
My device info here:
=======================================================
device ........... : 4
version .......... : 2
open ............. : True
user_name ........ : 'DDiscovery'
device_name ...... : 'Digital Discovery'
serial ........... : '210321B320D4'
Analog-in information (obsolete API)
------------------------------------
number of channels ...... : 0
buffer size ............. : 0
bits .................... : 14
frequency ............... : 100000000.0
Configuration: 0
---------------------- --------
TooltipText [0]
OtherInfoText .
AnalogInChannelCount 0
AnalogOutChannelCount 0
AnalogIOChannelCount 1
DigitalInChannelCount 24
DigitalOutChannelCount 16
DigitalIOChannelCount 16
AnalogInBufferSize 0
AnalogOutBufferSize 0
DigitalInBufferSize 67108864
DigitalOutBufferSize 32768
digital_record.py