Jump to content

Caleb Messerly

Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Caleb Messerly's Achievements

Newbie

Newbie (1/4)

1

Reputation

  1. @attila This worked, and the FFT script ran. Thank you so much for your help!
  2. @attila Thanks for the response. Apologies for the delay. I am a little confused as to how I should update those two files. I ran an FFT in standard mode in waveforms and it works as expected, but as I mentioned I am attempting to run the FFT in linux mode on the device. Could you briefly explain how I would go about updating those files using the downloads from the links you sent me? Thanks so much.
  3. I am currently running my ADP3450 in Linux mode. I have uploaded the python samples located in .\Digilent\WaveFormsSDK\samples\py onto the device, and running several scripts provides correct results. However, when running AnalogIn_FFT.py via the command python3 AnalogIn_FFT.py, I run into an error, which is pasted directly below: digilent@ADPro:~/wf$ python3 AnalogIn_FFT.py Loading libdwf.so DONE LOADING DWF Version: b'3.17.1' Opening first device fpga_manager fpga0: writing design_1_wrapper.bit.bin to Xilinx Zynq FPGA Manager Generating sine wave... Samples: 32768 Starting oscilloscope Acquisition done Traceback (most recent call last): File "AnalogIn_FFT.py", line 106, in <module> dwf.FDwfSpectrumWindow(byref(rgdWindow), c_int(nSamples), DwfWindowFlatTop, vBeta, byref(vNEBW)) 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.3.17.1: undefined symbol: FDwfSpectrumWindow As can be seen, the device loads in, and the sine wave is generated. However, something with the linker library appears to not be working? I located the libdwf.so file in the lib directory, but opening the file just shows garbage data. There were two other versions of the file in the lib directory, libdwf.so and libdwf.so.3, but changing the AnalogIn_FFT.py to reference those still gets the same error. Is anyone aware of why the FDwfSpectrumWindow is not appearing? Any help would be appreciated, and if any other information is provided, please do not hesitate to ask. Thanks again, Caleb
  4. Hello all, I am using the waveforms sdk (linked here) to program my ADP3450 in standard mode, with the goal of eventually moving those scripts to linux mode. My question is as follows: What version of python is recommended for the SDK I linked above? I have looked somewhat extensively, but cannot find an answer. The ADP Linux mode comes preinstalled with Python 3.7, but I would like to install the recommended version if possible. Thank you for your help!
  5. Hello, I am attempting to use the embedded systems/linux mode on my ADP3450. Unfortunately, when trying to mount some files from a flash drive while in Linux mode, I copied over the entire contents of the flash drive onto the device. This put the device at 100% storage capacity. I am debating between deleting the files manually vs. just loading the Linux recovery mode and reuploading Linux onto the device, as detailed in this tutorial I found provided by Digilent. Should I go into Linux Recovery mode? Or should I attempt to manually delete all the files? Thanks for your help Caleb Messerly
×
×
  • Create New...