Jump to content

leboVegitaJA17

Members
  • Posts

    2
  • Joined

  • Last visited

leboVegitaJA17's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. Hello, I am having a problem with: b'Devices are busy, used by other applications\n' error triggered by these lines of code in the Python SDK software samples: if hdwf.value == hdwfNone.value: szError = create_string_buffer(512) dwf.FDwfGetLastErrorMsg(szError); print("failed to open device\n"+str(szError.value)) quit() This is the output: python3 AnalogIn_Trigger.py DWF Version: b'3.19.5' Opening first device failed to open device b'Devices are busy, used by other applications\n' The error occurs regardless of which Python script I run from the sample folder and persists after I close all instances of the Waveforms application It is worth noting that the primary waveforms app on my device shows a similar error (Used by other application): But it can be run if I use the Force Programming option. When I look the processes in use, this process keeps coming up no matter how many times I try to kill it: Process 78 on ps -e: 78 ? 00:00:00 DWC Notificatio I ruled out the serial port and usb cable being the cause for the error. Is there a way to use the 'Force Programming' Option in my python script to make it run and bypass the error above? Also, is there any reason why the Waveforms SDK keeps thinking I have another instance of waveforms running although I have explicitly closed out of them? If so, how do I solve this issue?
  2. Hello, Is it possible get the measurements: rise time, frequency, and fall time provided in the WaveForms application, through the Python SDK?: I'm trying to use it with the rgdSamples list provided in the AnalogInOut_Trigger.py example. Is there an API call of some kind I can use to get these measurements? I was not able to find it in the WaveForms SDK Reference Manual. Any help is greatly appreciated, Thanks.
×
×
  • Create New...