During my first tests in Linux mode with the ADP3450 I received the following error message, when trying out 'test_scope-wavegen.py' from 'WaveForms-SDK-Getting-Started-PY' (Commit #009b7cc):
digilent@ADPro:~/test/WaveForms-SDK-Getting-Started-PY$ python3 test_scope-wavegen.py
Traceback (most recent call last):
File "test_scope-wavegen.py", line 53, in <module>
spectrum = tools.spectrum(buffer, tools.window.flat_top, scope.data.sampling_frequency, start_frequency, stop_frequency)
File "/home/digilent/test/WaveForms-SDK-Getting-Started-PY/WF_SDK/tools.py", line 55, in spectrum
dwf.FDwfSpectrumWindow(window_buffer, ctypes.c_int(buffer_length), window, ctypes.c_double(1), ctypes.c_double(0))
File "/usr/lib/python3.7/ctypes/__init__.py", line 369, in __getattr__
func = self.__getitem__(name)
File "/usr/lib/python3.7/ctypes/__init__.py", line 374, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /lib/libdwf.so: undefined symbol: FDwfSpectrumWindow
pure virtual method called
terminate called without an active exception
Aborted
I guess the function FDwfSpectrumWindow is linked in newer releases of Waveforms.
Question
AnSp
Hej Discovery-Users,
During my first tests in Linux mode with the ADP3450 I received the following error message, when trying out 'test_scope-wavegen.py' from 'WaveForms-SDK-Getting-Started-PY' (Commit #009b7cc):
I guess the function FDwfSpectrumWindow is linked in newer releases of Waveforms.
AttributeError: /lib/libdwf.so: undefined symbol: FDwfSpectrumWindow
On the ADP3450 I installed the latest Waveforms revision 3.18.19 for armhf from 2022/2/23.
Is there a newer version/release fpr armhf available (3.18.59 only for x86?) or is there another solution to update the libdwf.so?
Thanks for your advice in advance,
Andreas
Link to comment
Share on other sites
3 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