Hi,
I am working through some of the Waveform SDK examples on an Analog Discovery 2. I can get all of the samples in the SDK/samples/py directory to work. Then i progressed to the "WaveForms-SDK-Getting-Started-PY-master" samples. None of these are working due to the error below. Any help would be appreciated!
XXX-MacBook-Pro-2:~ XXX$ /usr/bin/python3 /Users/XXX/Downloads/WaveForms-SDK-Getting-Started-PY-master/test_device_info.py
Traceback (most recent call last):
File "/Users/XXX/Downloads/WaveForms-SDK-Getting-Started-PY-master/test_device_info.py", line 1, in <module>
from WF_SDK import device, error # import instruments
File "/Users/XXX/Downloads/WaveForms-SDK-Getting-Started-PY-master/WF_SDK/__init__.py", line 15, in <module>
from WF_SDK import tools
File "/Users/XXX/Downloads/WaveForms-SDK-Getting-Started-PY-master/WF_SDK/tools.py", line 29, in <module>
class window:
File "/Users/XXX/Downloads/WaveForms-SDK-Getting-Started-PY-master/WF_SDK/tools.py", line 31, in window
rectangular = constants.DwfWindowRectangular
AttributeError: module 'dwfconstants' has no attribute 'DwfWindowRectangular'