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
    • Scopes & Instruments and the WaveForms software
    • 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. I have one of the older Cerebot boards which should be equivalent to the Diglent Pro MX7 Embedded Systems Trainer Board that is currently for sale. I would like to capture CAN traffic using an Analog Discovery module and Waveforms software. I have two basic questions. After studying related posts on this forum, I get the strong sense that Analog Discovery and Waveforms software are better suited for connecting to the "PIC side" of the transceivers (RX and TX), rather than CAN side, where CANH and CANL are differential signals. (1) Is this correct? After studying the Cerebot sche
  2. Hi Guys, I'm new to the AD2 & Waveforms, and in the need of some help. I'm trying to import a csv file into a custom wavegen and then output it. Here is my code: if(!('Wavegen1' in this)||!('Scope1' in this))throw"Please open a Scope and a Wavegen instrument"; var filename = "/Users/PaulBritten/Documents/AFWorkMain/AFWork/Waveform/single_qrst_improved_twave_1khz.csv"; var file = File(filename); print("exists? " + file.exists()); var arr = file.readArray(); print(arr); Wavegen1.Channel1.Mode.text = "Custom"; Wavegen1.Channel1.Custom.Type.set("MyWave", arr); Wavegen1.C
  3. The protocol options and features in WaveForms are great and do just what I need. The only issue it looks like Waveforms only supports one Protocol window, hence 1 UART. I need to monitor serial communications between two devices, which means I need two RX inputs. Is there a way to achieve this with the latest version?
  4. Is it possible to decode scope data using one of the "protocols"? I often need to analyze scope data as inverted UART data (e.g an RS-232 async serial signal).
  5. Hi, I use WaveForm 3.11.5 and I would like to be able to import a previously exported Scope FFT, Impedance Analyzer and Network Analyzer data. The exports work fine, and it's pretty good for working with other tools that can handle .csv. On the other hand, it would be great to have the ability to import these values later to compare them with the ones we are measuring. I could imagine it as a new reference type, so we could import even multiple files, name them and choose colors for them. What do you think, @attila? Regards, Andras
  6. Hello Digilent Forums, I have an Analog Discovery 2 + Impedance Analyzer board, and have been programmatically manipulating the board via the DWF library. I am now trying to plot Input Phase (∠) programmatically. The SDK for Python comes with a ``, which houses values of `c_int()`, corresponding with various measurement types. For example, `DwfAnalogImpedanceImpedance` measurement type corresponds to `c_int(0)`. I do not see a constant for Input Phase inside ``. Is it possible to get Input Phase? Thank you in advance for your help!
  7. Hello Digilent Forums, I am trying to write a Python script for the impedance analyzer. I am reading the WaveForms SDK and following examples. I noticed all methods in the examples that use the dwf (Ex: `dwf.FDwfDeviceOpen`) use positional arguments. In the SDK, it lists the parameter names/types for the method (Ex: `FDwfDeviceOpen(int idxDevice, HDWF *phdwf)`). I have tried and failed to figure out how to specify them using keyword arguments instead. Is it possible? Thank you in advance for your help!
  8. I downloaded the digilent.waveforms_v3.10.9_64bit.exe installer, and got to the window where it asked me where I'd like to install the software. But I can't change from the default C:\Program Files (x86) location. Is there some way I can get around this? I have very little space on my C: drive.
  9. Hello, I'm confused about some of the function descriptions in the WaveForms SDK Reference Manual. I want to set the analog output to dynamically, from the documentation for the function FDwfDeviceAutoConfigureSet it says to set fAutoConfigure to 3. However fAutoConfigure is defined as a Boolean value. There is a similar case for FDwfAnalogOutConfigure Is the documentation incorrect? Or am I misunderstanding how to set this value? Thanks in advance, Richard
  10. Hello, I think I need a bit of help. Then, here goes my case What do I need to accomplish? Read the TSL2561 sensor; ( Here is the help I need now ) Convert the values from the sensor using an exponential equation. (please, point me out some reading on doing so) Export the values to a CSV file; (please, point me out some reading on doing so) What is going on? I'm trying to use the instrument protocol in the custom tab, but I'm having a hard time to figure out why I'm having the output attached for that code. I see that if(!Write(adr, 0x80, 0x03))
  11. Hello Digilent Forums, I am a new user of the Analog Discovery 2 + Impedance Analyzer instruments. I am using WaveForms 3.10.9. I am trying to understand the metrics for Input and Phase. In the docs, `impedance.html`, it lists: Input as showing the "DUT/reference resistor". The Y axis plot is "M Input Gain" with units in dB. Phase as showing the phase angle and Ref RLC input phase. I am assuming θ ("Phase") is the phase difference seen by the Analog Discovery 2's two scopes between V and I. Can you please explain more what the terms mean? M ("M Input Gai
  12. I am a new user and am trying to understand what all the knobs in this program are for. I have an Analog Discovery 2 + Impedance Analyzer board. In `impedance.html` of the documentation, it talks about series resistance/reactance and parallel resistance/reactance. However, it never actually defines what these address. The same thing goes for the Meter's parameters for series model and parallel model. What do these terms refer to? Is it some hardware configuration within the AD2? There seems to be no documentation of these terms, despite me searching through this forum. T
  13. Hello, In my waveforms script I am trying to import and run a saved custom 7-bit bus pattern in csv format that I generated from the custom pattern generator. I am able to read the data from the csv, but when I do: Patterns1.Channels.Bus._custom = data all of the data is just written into the first channel of the bus. Is there another format or syntax that should be used when specifying patterns for custom busses?
  14. Hello, I just purchased a Discovery 2 board and am trying to familiarize myself with it and WaveForms (win 10). When I plug the board's waveform generator (pins 1+ and 1-) into the board's scope (pins W1 and GND) and deliver a sin wave, I can view it in WaveForms. However, when I plug the Discovery waveform generator into my Tektronix oscilloscope, I cannot detect any waveform. Similarly, when I plug my Tektronix waveform generator into the Discovery 2 scope and apply a sinusoid, the Discovery 2 cannot measure any waveform. Does anyone know why the discovery 2 board is able to generate/re
  15. I see in the documentation that the ADG612 gain switch between high gain and low gain to the ADC. I see in Waveforms Spectrum analyzer that there are many gain options: 0.01x, 0.1x, 1x, 10x, 100x. Which hardware gain setting is used in Waveforms for those gain settings? Thanks!
  16. I want to record data on one channel using the scope tool from WaveForms using the Analog Discovery 2. Additionally, I need to record digital signals on 4 channels at the same time in order to delimit windows for post-processing. Even at a (very) low sampling rate, WaveForms displays "Samples were lost! Reduce sample rate." when I attach some digital channels to the scope tool. Even when the sampling rate is reduced to 1Hz, this error still happens. Is this a WaveForms bug? I put my workspace in attachment to reproduce the issue. scope-digital.dwf3work
  17. I'm using WaveForms (and Javascript) for the first time. My problem is really simple; I measure a voltage signal with the Analog Discovery 2, and want to get a "long" file with data over several seconds. When using the record-function and exporting data, I only get 1000.000 data points with the frequency required, and I can't seem to figure out how to save the raw data in the script. If anyone can help this rookie, I'll be very grateful! I think I'll need a whole new script, but it looks like this right now: ch = Scope.Channel1 var newfile = File("~/Desktop/scope/measure.
  18. I need to spy on an SPI connection for a long period of time which will require timestamps on the data to find approximate times of transmission. As this is not possible in Waveforms (which is a real shame) has anyone written any software that uses the SDK to do something similar to this? It would save me a bit a work if there was already an existing solution. - Callum
  19. I'm using the Analog Discovery 2 and on WaveForms 3.8.2 I cannot figure out how to send and receive SPI data. I can read SPI traffic fine through the Logic Analyzer, but I've had no luck with the Protocol analyzer. I have some hardware that I'm debugging that sends commands to a SPI device. The Logic Analyzer tool shows this just fine (below). What I'd like to do is send other SPI commands using the Protocol tab but I've had no luck figuring out how to send commands (properly). As a first step, I'd like to reproduce what I see below in the logic analyzer but do it instead in the protocol
  20. I am using Debian/Jessie on a AMD64 platform. I am unable to use my Analog Discovery because Waveforms does not function any longer. Here are the problems. 1) Both the available versions of Waveforms2 (version 2.9.4 and version 2.7.5) install without problems (using "dpkg -i"). However both versions fail to run because of a missing library. 2) Adept (version 2.16.5) installs without problem. However Waveforms3 (version 3.4.7) fails to install because it is missing a system menu definition. Is there an existing fix or work around for this ? Are these problems likely
  21. I am new to the WaveForms software. In browsing the protocol section, it lists CAN. I'm happy and surprised to see this feature. How is this intended to be used? For example, using an external CAN bus transceiver to DIO 0 and DIO 1? A two wire CAN bus is a differential signal (similar to RS485) with clear limits on dominant / recessive states. I am using the Analog Discovery 2 hardware. What are the recommended connections? I'm hoping any responses to this will also apply to the logic analyzer as well. Having a CAN bus decoder would be awesome. W
  22. Hi, I have been using the Waveforms in Mac to control digital discovery. And I am now familiar with using the scripts in Waveforms. I want to use Tool.start option to run python from Waveforms. Below is the command I am using based on the format. But I haven't been successful with running python. Tool.start("/Users/venkatap/anaconda2/bin/python", "/Users/venkatap/Waveforms_v1/py_files/","/tmp/") As all the examples and discussions about this topic are related to windows machine, I wanted to know how to use the Tool.start option in Mac. Kindly assist me with this.
  23. Hi, I've got a question regarding button mode for pin in Static IO instrument. I select a button in "0/1" mode for some pin and expect pin to be high while the button is pressed (all the time until released), and low once released. Instead of that, pin goes high on first press/release of the button and stays high from now on, no matter of any subsequent press/release actions. Opposite is true in "1/0" mode - pin goes low on first press/release and stays low forever. Pin in switch mode (1/0) works as expected. Either I do not understand the function, or ther
  24. Is there source code available for DWFCMD.EXE? I've found source code examples for many other functions using the C++ and python APIs, so I'm just wondering if source code was available for DWFCMD.EXE. It's a really useful program, by the way, and it's made getting up-and-running with the AD2 much faster. But now we have reached a point where it's too slow to call as stand-alone executable. Thanks.
  25. I have an Analog Discovery 2 and am using Waveforms to test circuits, measure voltage and current, model protocols such as I2C, SPI, and CAN. What would the home edition of Labview do to help me? Thanks