I use the legacy model of Analog Discovery in a custom made environment, means, I use only the libraries from adept2 (2.16.6 runtime) and Waveforms to communicate with the device. All happens under Linux by using Python 3.
Usually this setup works very well until I try to use a newer version of waveforms. I checked nearly all available Waveforms versions. libdwf version 3.2.6 is the last version which works without errors. Obviousiy, something must have been changed in the succeeding versions.
The error happens when trying to open the device with FDwfDeviceOpen. The contents of the phdwf pointer is set to zero. Other functions, like the FDwvEnumXX are working correctly as can be seen in the following
linux: load libdwf.so ..
** Waveforms version: b'3.6.8'
** Number of Devices: 1
** ID: 2 , revision: 3
** Name: b'Analog Discovery'
Opening first device
** HDWF: 0
press Enter ..
Device closed
in contrary to
linux: load libdwf.so ..
** Waveforms version: b'3.2.6'
** Number of Devices: 1
** ID: 2 , revision: 3
** Name: b'Analog Discovery'
Opening first device
** HDWF: 1
press Enter ..
Device closed
are there any ideas how to work around this, let us call it a bug? Normally I do not have a problem to use the old version, but what I read so far, the newest versions of Waveforms are intended to support the legacy models, aren't they?
Question
tutu
Hi everybody,
I use the legacy model of Analog Discovery in a custom made environment, means, I use only the libraries from adept2 (2.16.6 runtime) and Waveforms to communicate with the device. All happens under Linux by using Python 3.
Usually this setup works very well until I try to use a newer version of waveforms. I checked nearly all available Waveforms versions. libdwf version 3.2.6 is the last version which works without errors. Obviousiy, something must have been changed in the succeeding versions.
The error happens when trying to open the device with FDwfDeviceOpen. The contents of the phdwf pointer is set to zero. Other functions, like the FDwvEnumXX are working correctly as can be seen in the following
in contrary to
linux: load libdwf.so .. ** Waveforms version: b'3.2.6' ** Number of Devices: 1 ** ID: 2 , revision: 3 ** Name: b'Analog Discovery' Opening first device ** HDWF: 1 press Enter .. Device closed
are there any ideas how to work around this, let us call it a bug? Normally I do not have a problem to use the old version, but what I read so far, the newest versions of Waveforms are intended to support the legacy models, aren't they?
best regards
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.