Search the Community

Showing results for tags 'waveforms'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News
    • New Users Introduction
    • Announcements
  • Digilent Technical Forums
    • FPGA
    • Digilent Microcontroller Boards
    • Non-Digilent Microcontrollers
    • Add-on Boards
    • Test and Measurement
    • LabVIEW
    • FRC
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







  1. Hello, while waiting for my hardware to arrive I play with WaveForms a bit and found some things that don't work out as they should. I use the 64bit WaveForms 3.16.17 rpm from the beta page on Fedora 27. For my tests I always started it with vanilla settings by deleting static.dwf3 1. On startup the application tells me that no device could be found and presents the "Device Manager" window, in which I select a demo device. When I select DDiscovery, sometimes (not always) a half transparent window "Opening device" stays open. This seems to not happen when I select a different dev
  2. I use WaveForms 3.17.18 on Windows 11 with Analog Discovery 2. The wave generator output (W2) is directly connected to scope input CH1. W2 is set to 123.4567 Hz Sine wave with 500 mV amplitude. I set the Scope to 1kHz and its rage to 200mV/div. I use the built-in FFT in the range of 120 - 130 Hz with the Peak(V) setting. It normally looks good but periodically I get a strange reading like this: I'm not sure what is happening here, could you help me find out? I also made a screencap of this and uploaded here:
  3. Hi, I have a small problem with I2C master tab. I am at waveforms 3.17.1 and I am trying to use the protocol tab with DD device. My intent is to read an address on a device, which is 16bits wide address. It happens that I can only read the first address 0000h. Even if I change the SubAddress to 0001h, it will still read 0000h. I made it work in the custom tab, but not in this. Is it supposed to be this way? Thanks,
  4. This is no important issue, I'm just doing some finger exercises with Waveforms. The thought behind my actual problem: When signals enter the analyzer through different ways like isolators and such, they gather different time offsets. As the Waveforms logic analyzer provides no timeshift functionality out of the box I came to think about a custom logic script to move the data of one channels rgData array to rgValue with an offset index. But to calculate the array offset from the expected time offset I would need to know the actual sample rate of the data. This data I don't have becau
  5. Hello Forum :-) I will first wish all a happy new year :-) One question is it possible to set really complex-trigger-scenarios in waveform at osciloscope? E.g. trigger fire when: Ch1 <= 20 and Ch2 == 10 E.g. trigger fire when: RisingEdge(Ch1, 20) OR FallingEdge(Ch2, 2) E.g. trigger fire when: (Ch1 + 3) == 8 E.g. trigger fire when: (Ch1 + 3) == SQRT(Ch2) E.g. trigger fire when: (Ch1 + Ch2) == (Ch3+ 10) E.g. trigger fire when: (Ch1 / Ch2) <= (Ch3 + Abs(Ch4)) ...such things (in any compexity, combinations and deepnees) I work in
  6. Hi Analog Discovery 2 with impedance adapter. I am trying to use the digital I/O (as output) that are not used by the impedance adapter 0-3 and 8-11. I mainly need 4 to control a front-end multiplexer for the impedance adapter. The adapter use I/O 4-7 and 12-15 as output. As soon the Impedance measure is triggered, these I/O goes to zero. Is there a way to control them or I need to use a second Discovery 2 to control the multiplexer and found some way to operate them in sync? Thanks in advance for any suggestions.
  7. I know the likely answer is no - due to limits of and script looping in terms of window timer etc accuracy. But I'm always surprised by the capability in this thing. But any simple way to do a PI loop closure ? Like measure on CH1 and CH2 and command? It can certainly do "seconds" for things like temp control but I'm looking for less than 10 ms delay lag.
  8. Hello, I'm using a Digital Discovery with Waveforms 2.16.40 in Logic mode and I want to make a longer scan at a low rate using the full 256 Mi sample space by limiting the inputs to 8. But when I zoom in to reaquire a higher resolution detail view the sample rate goes up to 800 MHz. Maybe it makes sense to add an option to limit the maximum rate. From your company view this could be a checkbutton in device configuration "High speed adapter" yes/no. With which you set the maximum to 200 MHz when no, even in "800MHzx8" mode. From a user point of view this could be a number entry o
  9. Dear Attila Please find enclosed the following . This took more than 4 hours to prepare all the documentation please treat as such. I am using the latest version of Digilent Waveforms and the latest Waveforms SDK. - Master Javascript driver for Digilent Analogue Discover AD2 which can be used inside Waveforms - SPI Setup , read & write & Initialise (1) . Status NOT Working . Needs Digilent Help to fix (%%) - I2C Setup , read & write & Initialise (2) . Status NOT Working . Needs Digilent Help to fix - UART Setup , read & write &
  10. Hello Friends, I am using Waveforms ver 3.14.3 with the Analog Discovery 2. I would like to create a custom measurement that utilizes the frequency value in the defined frequency measurement. How can I refer to this value in script? The original plan was to copy and modify the script in the defined frequency measurement but when I open the Modify window only a comment is present in the script.
  11. Hello, I'm doing my first steps with Waveforms and a Digital Discovery and found a curious situation where single data lines where out of sync depending on zoom. Have a look at the screenshots to see that I configured a 10 second record of various data. The record has been stopped manually. If you look at the first screenshot the Serial Out and its related Data line are askew. When I zoom in a bit via mousewheel they are in sync. This effect does not occur after I saved and reloaded the data.
  12. The actual beta version of Waveforms is 3.16.35, but the last one featuring a Linux rpm is 3.16.17. Overall these betas are released as a wild mixture sometimes with only the Windows version. Why is that so? I would like to testdrive, but need rpm. Thanks
  13. Hi With the waveforms tool is it possible using python scripting in the Waveforms platform to do the following ?? Use the Digilent Analogue discovery 2 - Attach a device like a PMOD device eg accelerometer using the Analogue discovery 2 ability to chat SPI & IC2 - pmod DEVICES SUPPORT 12-pin Pmod connector with SPI interface and 2×4-pin I²C interface - Then using the read information from the PMOD device treat it like an extra oscilloscope channel . Either as a Analog channel
  14. // This posted here so that Google and Bing search the script to help other users of Digilent Analog Discovery AD2 // and Digilent wave forms find programming examples which are very difficult to find. // This driver is work in progress . SPI & I2C functionality not working yet . // for use with Digilent Analog Discovery AD2 script engine. // // Attila : Please leave this post up on the forum as I spent a very long time curating the script to find all the // small example pieces of code . // // ------------------------------
  15. Hi, while measuring the I-V characteristic of a two-terminal current source with my Analog Discovery 2, I noticed the vertical position of the trace in the x-y plot is not quite correct. In the following screen capture, CH1 (yellow) is the voltage across the source plus a current measurement (shunt) resistor, and CH2 (blue) is the voltage across the shunt resistor. The x-y plot on the right looks fine on this vertical scale. For example, the CH2 peak is 300 mV in both plots. When I zoom CH2's vertical scale to more closely examine the difference between the rising and fall
  16. I am trying to read 16bit integers sent to an Analog Discovery 2 over UART using the Protocol section in waveforms. The integers are sent in two bytes, 8 bit high byte then 8 bit low byte. When I set the RX to binary and the bits to 8, I can receive all the bytes correctly. When I set it to receive 16 bits, then errors occur because I am sending the data as two 8 bit messages. I want to be able to set RX to decimal and have the Protocol correctly convert two 8 bit transmissions to a single 16 bit decimal integer. Is this possible? Note: I cannot send a full 16 bit message, my
  17. The oscilloscope channel signals don't stay aligned with the cursors, grid, and reference waveforms when zoomed out. The image "zoomed_in.png" has a signal (yellow), a reference waveform created from that signal (green), and two cursors. The signal and reference waveform are perfectly overlapping as expected. This is at 1ms/div. When I zoom out one step to 2ms/div, the signal becomes misaligned with respect to the reference and the cursors. In the third image, "badly_aligned.png", I have a capture of a periodic signal. I zoomed in on two of the pulses and placed the cursors in the m
  18. I'm not sure if this is the right place to report what I think is a bug in waveforms. I'm using version 3.16.3 64-bit on windows 10. I was having difficulty using averaging in the scope timebase controls to eliminate some noise. When I click on 'single' acquisition, the scope appears to trigger the appropriate number of times (e.g., 100) before displaying a new trace. But the noise is not reduced, as if the scope is showing me just the trace from the first (or maybe the last) trigger. Clicking on 'run' similarly counts the appropriate number of triggers and then displays a new trac
  19. During device opening internal chips are enabled and configured. This results in consumption increases, specially when the 100 MHz clock (PLL) is started. The needed current increases from 100mA to 500mA. In case the USB can't provide enough current the voltage drops below the minimal required for the device to operate and communication fails. In case you get “Device configuration failed (PLL 1)" or "Communication with the device failed.” error message: The device needs at least 2W/400mA from USB cable. To satisfy this: - Try to use different USB cable and com
  20. Hi, I'm running into an issue when using Python3 with Analog Discovery 2 on Ubuntu 20.04 LTS box. Platform: AD2 on Ubuntu 20.04 LTS. Here is a dump for a small 'enumerate' script used to identify the device and software, let me know if you need anything else. FTDI Version: 0x10408 Devices: 1 1: SN: b'210321A36017' : b'Digilent USB Device' Flags: 0x2 Type: 0x8 ID: 0x4036014 Loc ID: 0x10c DMGR Version: b'2.9.3' Devices: 1 1: SN: b'SN:210321A36017' : b'Analog Discovery 2' PDID: 0x40300360 DWF Version: b'3.14.3' Devices: 1 1: SN: b'SN:210321A36017' : b'Analog Discovery 2' Goal:
  21. josif


    Hallo Atilla, I find the possibility to use a low cost USB sound card with WaveForms for some simple student experiments at home, during this pandemic, very engaging for the students. Unfortunately those sound cards have only one input channel and cannot display time delays or phase shifts. I was thinking if there is a possibility to add cross-triggering between the generator (sound card output) and the oscilloscope (sound card input), it would provide them additional insight into circuit behaviour. Thank you, J.Kjosev
  22. please visit <a href="">this page</a> to see the phase measurement error in Scope function of AD2. Notes2100/Lab IV - Op Amp_page_a.html Student users can be disturbed (and distressed) because of this error. Either changing the code or informing the user that the phase calculation works only for sinusoidal signals with zero DC offset. Here is the suggested code: var sum1 = 0 var sum2 = 0 var sum12 = 0 var mea
  23. I currently have a Raspberry Pi 4B with Waveforms installed connected to a Digilent Analog Discovery 2. The device works as intended, and I have a VNC connection set up so that I can remotely use it. The Waveforms software itself has a weird feature where the keyboard seems to be mapped incorrectly. For example, the key '1' returns '9', '2' returns '0', etc... I have used a web browser and a terminal on the RPi and neither had the same feature. Any advice?
  24. Waveforms stopped working for me recently on one of my Linux machines (it still works on other machines with same Analog Discovery unit, same distro & kernel). On the one machine, I now always get an error dialog: Device opening failed. The device is being used by another application. Device programming failed. I've checked, and AFAICT, it is not being used by another application. The ftdi_sio driver has disconnected as it should, and no other application aside from waveforms has that usb device open. Any ideas on what might be causing this error? The only thing that cha
  25. Hello, I was wondering if there are any plans in the future to make the WaveForms software support the Ni-VirtualBench HW? I mean, if you want an upgraded version of the AnalogDiscovery 2 the only similar "all in one" product on the market is the VirtualBench, and fortunately Digilent is "A National Instruments company". To be fair, the VBench does come with a default app that lets you control it, but the WaveForms software is light years more advanced. I think it would make the VB far more usable and user friendly if it could be controlled by WaveForms or something similar. Thank yo