Jump to content

attila

Technical Forum Moderator
  • Posts

    6,453
  • Joined

  • Last visited

Community Answers

  1. attila's post in AD PRO 3000 AnalogIn Coupling Waveform SDK was marked as the answer   
    Hi @DZe

     
  2. attila's post in ADP3450 connect to device using sudo was marked as the answer   
  3. attila's post in ADP3450 device open failed on Raspberry Pi 4 was marked as the answer   
    Hi @AbbyM
    For 64bit ARM the arm64 and for 32bit ARM the armhf should be used.
    You have in message the links to a newer release candidate version.
  4. attila's post in Waveforms 3.8.1 64bit crashing on Mac OS was marked as the answer   
    Hi @rim
    This seems to be a bug in the underlying libraries, Qt5.12, when 3D plots are above each other.
    It is solved in Qt5.15 and this will be used in the next installer if all other things work correctly.
    Thank you for the observation.
  5. attila's post in Waveforms 3.18.57 64bit crashing on windows 10 with AD2 when setting up Wavegen to sweep with custom was marked as the answer   
    Hi @rim
     
  6. attila's post in Using SDK function FDwfAnalogInStatusData16() in C++ was marked as the answer   
    Hi @AbbyM
     
  7. attila's post in ADP3450 voltage range setting in script was marked as the answer   
    Hi @AbbyM
    See the Help and reference page:

  8. attila's post in Using Linux Mode fully autonomous was marked as the answer   
    Hi @AbbyM
    1. For better ethernet performance use a local switch or direct connection.
    With AD2 USB I can get 1-2MSps, this device always records at 2 channels.
    With ADP3X50 the earlier mentioned DDRam buffered recording limits (128MSps@125MHz/1ch...) and for longer or through linux mode 2-4MSps for 1 channel, this device will record on the enabled 1,2,4 channels.
    The sustainable streaming rate depends on the computer, available usb bandwidth, controller performance, cpu...


     
    2. Yes, see the WF app Help

     
    The instruments (Scope, Wavegen...) are implemented in the Zynq Programmable Logic. The standard firmware or embedded Linux runs in the Zynq Processing System. The PL and PS communicates through AXI.

  9. attila's post in Control power supply using script in AD2 was marked as the answer   
    Hi @Ricky
    Sure, pic 1
    With the 6th device configuration the supplies can also be used as slow AWGs, pic 2


  10. attila's post in Updating ADP3450 Linux image failed was marked as the answer   
    Hi @AbbyM
    See the application Help

  11. attila's post in Adjust Digital IO system frequency in Python API was marked as the answer   
    Hi @HarissonJones
    dwf.FDwfDeviceParamSet(hdwf, DwfParamFrequency, c_int(83360000)) # 8x 10.42MHz
    dwf.FDwfDigitalOutEnableSet(hdwf, c_int(0), c_int(1)) # DIO (0) 24
    dwf.FDwfDigitalOutDividerSet(hdwf, c_int(0), c_int(4)) # /4
    dwf.FDwfDigitalOutCounterSet(hdwf, c_int(0), c_int(1), c_int(1)) # /(1+1)
  12. attila's post in WaveFormsSDK - beta install consequences was marked as the answer   
    Hi @crile
    Yes and that is the default path, which can be changed on the first installation.
  13. attila's post in Some math on scope channels behaves strangely was marked as the answer   
    Hi @Anthocyanina
    Yes. It depends on the noise. What you are seeing is the derivative +/- sample to sample noise it captures. In M1 I didn't multiply it with the rate so you can see a +/-~2mV noise.
    You probably want if(isNaN(prev)) prev = C1; and having the initializer code var prev = NaN;  for the first sample to be zero.
  14. attila's post in Deprecated code in dwfcmd.cpp, dwf.cs was marked as the answer   
    Hi @crile
    You can use it if you need it.
    I've written this dwfcmd long time ago when the WF app was only for Windows to have some Linux support.
    This dwfcmd app can be simply used (with arguments or command file) to control the devices (generate signals and capture) or its source code can be modified for specific tasks.
  15. attila's post in API FDwfEnumDeviceIsOpened returns true after FDwfDeviceClose was marked as the answer   
    Hi @crile
    The device should be closed when calling the close function. Are you calling the enum function again when before the isopened one because the infos are collected during enum ?
    Device_Enumeration2.py

  16. attila's post in Typo in Dwf.cs was marked as the answer   
    Hi @crile
    I don't know which software version are you looking at but it seems to be ok in the latest version.
     
     
  17. attila's post in Naming conventions in sample code was marked as the answer   
    Hi @crile
    I'm not a Python expert either. The prefixes are from my Hungarian notation coding habit...
  18. attila's post in C# sample code or resources was marked as the answer   
    Hi @crile
    You can find a C# wrapper in the WF SDK/ cs/ dwf.cs, add this to your project. The examples are under py/ and some under c/ which can be used as pseudocode for examples for other languages.

  19. attila's post in Custom waveform was marked as the answer   
    Hi @crile
    For digital output see the WF SDK/ samples/ py/ DigitalOut_Custom.py, DigitalOut_CustomBus.py ...
    and for analog AnalogOut_Custom.py, AnalogOut_Pattern.py ... examples.
  20. attila's post in Sample custom waveform file was marked as the answer   
    Hi @crile
    You can use csv or a simple new line delimited list of values: default.csv
    The source code of the dwfcmd app is also there.
  21. attila's post in Help with WaveForms SDK input frequency sweep was marked as the answer   
    Hi @Davidson.Cassagnol
    You could use network/impedance functions. Take a look at the examples in WF SDK/ samples/ py/ 
    AnalogImpedance_Analyzer.py
    AnalogImpedance_Compensation.py
    AnalogImpedance_Input.py
    AnalogImpedance_Measure.py
    AnalogImpedance_Meter.py
    AnalogImpedance_OffsetSweep.py
    AnalogImpedance_OffsetSweepCp.py
    AnalogImpedance_ThinkSpeak.py
    AnalogNetwork_Analyzer.py
  22. attila's post in Digilent Discovery Pro Trigger delay issue was marked as the answer   
    Hi @LJH
    See the following: ex1.py (changed to sine to be easier to verify)
    If you are capturing less than 32Ki samples/channel you can use single capture mode.
    You could use up to 32Ki samples for analog-out custom for higher resolution signal.
    I recommend using the latest version sine beside other things it fixes some related to ADP3000 recording.
     
  23. attila's post in Reconstruct a waveform from parallel data from the logic analyzer was marked as the answer   
    Hi @Anthocyanina
    Just increase the height of the Bus or the interpreter you are using, specify format, skip bits if needed...
    Alternatively in the Script tool you can add plots or transfer the Logic Analyzer data to Scope channel data or Wavegen...

  24. attila's post in Digital Discovery Play Mode not outputting was marked as the answer   
    Hi @AlanB
    Here you can find the new version in which there is no need for DataSet after Configure:
    Try with param stop. With run option, if the previously used application exited with shutdown the IO voltage level translators remain disabled.
    dwf.FDwfParamSet(DwfParamOnClose, c_int(1)) # 0 = run, 1 = stop, 2 = shutdown
    If the run option is needed, after open use the following to set the IO voltage and enable the translators:
    # set digital voltage between 1.2 and 3.3V
    dwf.FDwfAnalogIOChannelNodeSet(hdwf, c_int(0), c_int(0), c_double(3.3))
    dwf.FDwfAnalogIOConfigure(hdwf, c_int(0)) 
    The Digital Discovery play output captured with Analog Discovery:

  25. attila's post in Recording a custom signal to output once was marked as the answer   
    Hi @LJH
    See the following: adp3450.py
    I've added trigger for analog-in, changed analog-out to custom mode since the number of samples fits in the buffer, changed the rate and run length

×
×
  • Create New...