Technical Forum Moderator
  • Content Count

  • Joined

  • Last visited

About attila

  • Rank
    Prolific Poster

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

10196 profile views
  1. Hi @criniod Try using the original or other USB cables you have at hand, other USB socket, HUB...
  2. Hi @su_21 Leave the 100/400MHz ADC sampling frequency and skip the unneeded samples to reduce to the required rate, or perform averaging/filtering. Changing the ADC freq would affect the vertical range (and offset), would require new calibration. The 4x input clock is useful to reduce the jitter, to have better accuracy.
  3. Hi @DurandA I don't notice any shutdown with latest WF version 3.16.3 or 3.16.31 from ctypes import * import sys import time from dwfconstants import * if sys.platform.startswith("darwin"): dwf = cdll.LoadLibrary("/Library/Frameworks/dwf.framework/dwf") else: dwf = cdll.LoadLibrary("dwf") hdwf = c_int() dwf.FDwfParamSet(DwfParamOnClose, c_int(0)) for i in range(10): dwf.FDwfDeviceOpen(c_int(-1), byref(hdwf)) if hdwf.val
  4. Hi @kazu See the Help tab or tutorials at No. The Protocol uses the Pattern Generator and Logic Analyzer device resources, so it can't be used at the same time.
  5. Hi @DurandA Use the following in all apps and scripts using the device: ... dwf.FDwfParamSet(DwfParamOnClose, c_int(0)) # 0 = run, 1 = stop, 2 = shutdown dwf.FDwfDeviceOpen(... dwf.FDwfDeviceAutoConfigureSet(hdwf, c_int(0)) # 0 = the device will be configured only when calling FDwf###Configure ... dwf.FDwfAnalogIOChannelNodeSet(hdwf, c_int(0), c_int(0), c_double(True)) dwf.FDwfAnalogIOChannelNodeSet(hdwf, c_int(0), c_int(1), c_double(1.20)) dwf.FDwfAnalogIOEnableSet(hdwf, c_int(True)) dwf.FDwfAnalogIOConfigure(hdwf) ... dwf.FDwfDeviceClose...
  6. Hi @ABwalker Such configuration is not available. You could use the Scope Record mode to capture more samples at lower rate < 1-2MHz
  7. Hi @bhysjulien Most probably the voltage is out of range on the selected 5Vpk2pk range. Set it to 50V like this: dwf.FDwfAnalogInChannelRangeSet(hdwf, c_int(0), c_double(50)) # channel 1 dwf.FDwfAnalogInChannelRangeSet(hdwf, c_int(1), c_double(50)) # channel 2
  8. Hi @DavidLee1997 dwf.h DWFAPI int FDwfDigitalI2cTimeoutSet(HDWF hdwf, double sec);
  9. Hi @DavidLee1997
  10. Hi @kazu Triggering in Protocol is not supported but you can create a Pattern of such signal and trigger it by Scope like this:
  11. Hi @ZAT Use Record Mode for longer capture.
  12. Hi @DavidLee1997 timeout = normal-i2c-transfer-time + ( 25ms X number-of-bytes) + 1sec The next SDK version will add timeout option.
  13. Hi @Harsh Bolia Next to a blown IC others may be damaged as well. Which IC is blown? The USB connector re-solder or replacement should be viable.