Search the Community

Showing results for tags 'waveforms'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

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

Calendars

  • Community Calendar

Found 83 results

  1. Hi everyone, I need to write a script to control the UART Protocol so that I can simulate a serial conversation. So far, I've got just this code: var MyString = "@T00."; function Serial_Send(){ print("Automated Serial Writer"); for(;;) { // Loop at 0.1 sec rate wait(0.1); Protocol.UART.Send(MyString,false); } } if(!('Protocol' in this)) { throw("Please open Protocol instrument"); } Serial_Send(); The configuration of my serial is attached Of course, the endless loop didn't allow me to stop the Script or even abort it. But, it was sending data correctly. To stop the script I had to kill waveforms IDE (v3.7.9). How can I improve it so that I can stop the program anytime I want? Will I have to set a trigger for that using a StaticIO button? Thanks, João Paulo
  2. Hello, I may have a bug to report. It appears that the latest version of Waveforms 3 on Windows 7 and 8 does not support the python hooks and API. I have rolled my version back to the previous version and it appears to work fine. We just wanted to make sure to bring this to light as it hopefully will not continue through future versions of Waveforms. Thanks, Dylan
  3. WaveForms beta download

    3.7.12-2 digilent.waveforms_v3.7.12-2_64bit.exe Fixed: - Analog Discovery 2 configuration file descriptions 3.7.12 digilent.waveforms_v3.7.12_64bit.exe digilent.waveforms_v3.7.12_32bit.exe Added: - Scope sampling clock under time options, for Analog Discovery 1 & 2. The trigger IOs can be used as sample clock with delay and edge options. - Logic Analyzer data compression for recording, for Analog Discovery 1 & 2 Changed: - Windows installer: - embedded prerequisites: Windows Installer, Visual C++ Redistributable 9 32/64bit, 12 64bit - split installer for 32bit and 64bit WF applications, but the included WF runtime for custom applications support both architectures Fixed: - Logic Analyzer UART frame error threshold 3.7.10 digilent.waveforms_v3.7.10.exe Added: - Spectrum Analyzer Markers Fixed: - SDK Electronics Explorer enumeration - Scope Math channel unit presets 3.7.9 digilent.waveforms_v3.7.9.exe Fixing: - Logic Analyzer Event view double click for signals 3.7.8 digilent.waveforms_v3.7.8.exe Changed: - Impedance Analyzer: - view names - solid line for magnitude Fixed: - Impedance Analyzer admittance |Y| value 3.7.7 digilent.waveforms_v3.7.7.exe Added: - Scope and Logic trigger detector for trigger source Fixed: - warning message when connecting to EExplorer - Patterns trigger on Digital Discovery
  4. Hi, I am working on a project and I want to incorporate the Discovery for Data Collection. I was wondering is there a way to automate the collection of data using analog discovery so I don't have to launch Waveforms each time to collect data? My project will only include the Analog Discovery as another puzzle piece, there are other boards and chips that will be connected to the discovery for data collection. Once I collect data I would want to pass it on for processing and interpretation. I am hoping to use Python to control the whole system if possible and make most of the processes automated. Eventually I would want to display results to a user in a graphical form (hence the need for Python)
  5. Can someone please point me to a manual for the Protocol section of the Waveforms software? I would like to send an I2C command over a bus but I am getting an I2C bus error. Verify the signal pull-ups error. I do have the appropriate pullup resistor however. Also, it's not clear how the interface works. A manual would be useful. Thanks, Dave
  6. Hello, I have found this topic with script for counting edges of digital signals and I wonder if it's possible to modify it somehow (or use completely different approach) to read quadrature encoder signals with Analog Discovery? Most important thing, I think, is that I have to compare signals state at current event (i.e. I have "1" on signal A and need to know what is the state of B signal in that particular moment) and be able to compare it with previous state (event) to decide if I should increment or decrement my counter. And it should be triggered with both edges but I assume that trigger options on DIO line decides when events are generated. Is it possible to capture and count edges without sample count limit? I mean something like hardware triggering on digital inputs instead of starting on first trigger and sampling defined number of samples with defined frequency (Stream mode). At the moment it looks more like signals recording and post-processing (offline) and I wonder if it is possible online to execute encoder script live on each trigger? It's not a must but would be nice And one more thing - I have downgraded my WaveForms to version from mentioned topic because in newer version there is no Stream mode. Was it renamed or replaced by something better?
  7. Hello all. New to WaveForms, so excuse me if this is too easy. I'd like to capture an analog channel, and two digital ones - where information is encoded into the width of the pulses. Sure enough, I can do this. But of the digital, one is PWM, which I'd like to manipulate into the corresponding stream of percentages (or 8-bit values, does not matter); the other one encodes the duration of something - therefore I'd like to measure their positive duration, as in a timer/counter... Can this be done in WaveForms with the AD2?
  8. In due course, it would be nice to have Mozilla Quantum compatibility. Just thought I would throw this out there....🤔 Mike
  9. Hello - trying to install waveforms on Ubuntu. Downloaded the .deb package but it has a myriad of conflicts and dependencies. Any help around? Thanks,
  10. Hello, I'm starting to work with custom scripts on my discovery 2 (with oscilloscope extension + probes). I'm trying to setup a measurement environment using the AnalogIn_Acquisition.py sample script. I have a power supply with output voltage at 4V. When I run the scope at WaveForms I get 4V reading, however, when I run the acquisition script I get 2.72V as average voltage. I also tried with the AnalogIn_Sample.py script and also get 2.73V. I wonder why such different results. Pictures bellow:
  11. Save an acquisition

    Hi all, I'm trying to save data from an acquisition but I'm not getting it. I mean, I want to document my tests and measurements. So, I wish to save the data in a way that I can later open it in WaveForms and navigate the capture. For now, I have only image but this does not help much. Does anyone know if WaveForms supports it? Thank you, João Paulo
  12. I would like to use waveform to log the digital output of 8 channels over a period of time. I currently manually record the output events for the 8 channels, but I would like to have the PC take a 100 ms measurement every 10 minutes and export this data to a new file every 10 minutes. Essentially, I would like to know if the waveforms software can automated run a measurement and export it to a tdms file every 10 minutes over a few days. Thanks
  13. Hello, For one of my school projects we were asked to find the minimum signal that will give a signal to noise ratio of 10 dB. How would I go about finding this? I know that the Spectrum Analyzer for the Analog Discovery would be used but I am unsure of how to find the signal to noise ratio of a signal. Thank you, cjobi247
  14. Hello, I'm a newbie using the Analog Discovery (Legacy), and attempting to run through a few experiments. When using the Power Source or "Supplies" tool in Waveforms 2015, all the directions and manuals show a dropdown menu where you can adjust the voltage (0-5V). The manual from Digilent's own website SPECIFICALLY regarding the Analog Discovery Legacy shows this as an option as well. I can't find any such option however in my program, it just isn't there. I should mention that I am powering the AD itself via USB from my laptop, but I don't think that is the issue as according to the status I am outputting ~5V via USB just fine, and the manual also shows the dropdown while being powered by USB. I also don't know what the little green bar underneath is supposed to represent, as it moves up only partially seemingly to random places when I turn on the "Master" enable, in case that it something to be concerned about. Any help is appreciated. Thanks!! P.S. Sorry for the re-post I realized I put this question outside the "Waveforms" Forum.
  15. Hello folks, I'm a newbie using the Analog Discovery (Legacy), and attempting to run through a few experiments. When using the power source tool via Waveforms 2015, all the directions and manuals show a dropdown menu where you can adjust the voltage (0-5V). The manual from Digilent's own website SPECIFICALLY regarding the Analog Discovery Legacy shows this as an option as well. I can't find any such option however in my program. I should mention that I am powering the AD itself via USB from my laptop, but I don't think that is the issue as according to the status I am outputting ~5V via USB just fine. I also don't know what the little green bar underneath is supposed to represent, as it moves up only partially seemingly to random places when I turn on the "Master" enable. Any help is appreciated. Thanks!
  16. Running 64-bit Ubuntu 16.04 and having trouble getting the .deb file to work to install Waveforms 2015. When I open the .deb file and click install, I see a progress bar briefly (<1 second) and then it disappears and the installation process doesn't start. Is this an issue on my end or with the .deb file on the website? Thanks edit: Having the same issue with Adept 2
  17. 3.6.8 SDK release

    Dear Digilent, I've been exploring the 3.6.8 features and love the impedance analyzer. What's the schedule for updating the Waveforms SDK and its Reference Manual? I'm very interested in automating some impedance measurements using python. If this has been done already, I apologize for not finding and asking this question. Thanks for the awesome tool. Craig ps. here's my video I created a couple days after 3.6.8 release, Analog Discovery 2 Impedance Analyzer, OPTs and What Tube Plates Really See!!!
  18. Hi folks, I'm currently hacking a 433Mhz temperature probe, and attempting to intercept the reading using a standard 433Mhz receiver, such as the Sparkfun RF Link Receiver. Using WaveForms (desktop) I can record the Logic Analyzer output, and can see the single fine. I'm currently in the process of parsing the bit stream. The signal is repeated every 59 seconds. However I need more samples, and the manual translation of the square wave to 0/1's is tedious and time consuming (and error prone). I'd like to create a script that will read the 'repeated' (not recorded, realtime) Logic1 data, look for the periodic transmission bursts, convert the encoded waves to a binary character stream (ex: "0101001010") and print it to the screen (or log to file). Is this approach possible, in the way I'm thinking of it? Or is there an easier/better way to approach it? Also, I haven't been able to find many Script samples around the Logic# object. I understand it is similar to the Scope# (for example), but still a closer sample wound be great. Any tips/suggestions? Thanks -John
  19. Hi , Is it possible to sweep up the frequency then down in a continuous run ? like sweep the frequency from 5 kHz to 100 kHz then back to 1 kHz. regards
  20. I have been using my Analog Discovery to measure output signals from a 3-axis accelerometer (Adafruit ADXL377) during an impact test event. Being a 2-channel device I have to first measure the X+Y outputs then repeat the impact event measuring the Y+Z outputs. I export these data then use a bit of Python code to combine two tests into a single result whereby I calculate the total acceleration by summing the squares of each axis (X+Y+Z). I trigger the scope off the Y-axis and make the assumption that the Y-axis acceleration is the same in each of the paired impact tests (which seems a reasonable assumption for these initial tests). For any given "impact test" I repeat the test 10 consecutive times measuring the X+Y outputs then 10 consecutive times measuring the Y+Z outputs then combine these data onto 10 X+Y+Z data set for analysis. I see some differences in the combined X+Y+Z data depending on which set of Y output data is used for the combined X+Y+Z data. The impact test itself has some inherent variability so this dual measurement just adds to the "noise" so the number of experiments needs to increase in order to make the experiment results valid. It seems at first glance that if I bought a second Analog Discovery unit I might be able to simultaneously measure the X+Y outputs on unit "A" and Y+Z outputs on unit "B". I would setup each scope to trigger off the same Y output so presumably they would trigger at the same time. Has anyone tried this before?
  21. I'm confused ... should I be downloading and using waveforms2015 or waveforms? waveforms2015 seems to be the name of a program that is two years out of date, however @jpeyron just recommended that this is the newest version of the waveforms software. Am I missing something? Thanks! Dan
  22. WaveForms 3.6.8 release

    Dear All, The new software version can be downloaded from the following page: https://reference.digilentinc.com/waveforms3 The changelog is available here: https://reference.digilentinc.com/reference/software/waveforms/waveforms-3/change-logs/3-6-8 See this blog for more details: https://blog.digilentinc.com/software-update-waveforms-3-6-8/ Please let us know if you have any observation. Thank you, Attila
  23. In Waveforms 2015, is it possible to set up a wave in the AWG to be triggered by every other pulse in the scope? I'm currently trying to use a 10 Hz external pulse connected to the Analog Discovery's scope as the trigger for a 5 Hz waveform from the AWG, but I need to have the event trigger only once the 5 Hz waveform has finished one pulse. Effectively, I'm putting together a slower trigger for one device that's triggered from the AD's scope using a faster external pulse. It appears that Waveforms 2015 has some logic capabilities incorporated into the software, but as I don't have a background in logic circuits I'm not even sure if the logic circuit feature can work this problem out. Any help with this will be much appreciated~
  24. Hi, I'm trying to use the Analog Discovery 2 to control a stepper motor driver board. All I need to do is send an output (5V) signal using a DIO. I find the Waveforms 2015 manual to be lacking in terms of documentation for this - it does not explain how to give an output signal. How do I do this? Thanks! For instance, the reference manual has this sample code: function doStaticIO(){ print("Running StaticIO script"); StaticIO.Channel0.Mode.text = "IOs"; for(var c = 0; c < 8; c++) { StaticIO.Channel0.DIO[c].Mode.text = "Switch"; } But it is never explained what a Channel is either. What is a Channel and how is it different from DIO1, DIO2, etc.? Thank you so much!
  25. I seem to be having trouble getting the AD2 to trigger on a repeated pulse. If I trigger on the edge of DIO 7 then it triggers OK (see logic_trigger_simple), problem is that power up sends spurious signals sometimes and so I'm tring to pulse on the counter. I have the counter set up as the other screenshot but it just will not trigger like that. There is no reset so I've set reset to DIO 15 which is unused and tied to ground. How can I get this to trigger on the number of pulses. Also, in the protocol triggeringl, is there any way to trigger on a sequence of hex values, rather than just one - if not in the main software - can this be done with the SDK? Thanks, Matt