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)
Question
Icarus
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
Edited by Icarusclarity
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now