Search the Community

Showing results for tags 'waveforms'.

More search options

  • 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
    • LabVIEW
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions


  • Community Calendar

Found 68 results

  1. 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
  2. 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
  3. Measuring Frequency

    Hi Dear Digilent Team, A question concerning the measurement capabilities ot the Analog Discovery 2 and WaveForm software: Is it possible to measure continously and "without losses" a frequency of an analog or digital entry? Goal is to log a frequency over a long period of time between EACH following flanks Optionnaly also measure times between flanks of different channels Examples: - Measure the freq/time between each following rising flanks of a channel - Measure the freq/time between each following falling flanks of a channel - Measure the freq/time between each following flanks (rising and falling) of a channel ... Most scopes measure frequency only "around" the trigger flank Thanks for each feedback Regards
  4. 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!!!
  5. 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 computer plug. - Use the USB plug on the back of the PC, not the one on the front panel. - Use short cable, do not use long cable or cable extender. - Use powered USB-hub, avoid un-powered hub. - Use USB-Y cable to load power from two plugs. Device not detected by WaveForms: Open Windows Device Manager then connect the device and wait up to one minute for a device to appear: - USB Serial Converter, with warning - Connect the device directly to the computer's USB plug without using external hub. - Restart the computer. - Reinstall WaveForms, including the Adept Runtime section. - USB Serial Converter, without warning - Restart the computer. - Reinstall WaveForms, including the Adept Runtime section. - Other application might have erased the USB controller EEPROM (FT_Prog, programming cable drivers...) Ask for the reprogram application from - Unknown Device Check the Hardware IDs under device Properties, Details tab - USBVID_0403&PID_6014 The USB driver is not installed. - Restart the computer. - Reinstall WaveForms, including the Adept Runtime section. - USBVID_0000&PID_0000 Device not identified or malfunction. See "Nothing shows up". - Nothing shows up: - Connect the device directly to the computer's USB plug without using external hub. - Try to use different USB cable and computer plug. The device or its plug might be damaged.
  6. 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
  7. 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?
  8. 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
  9. WaveForms 3.6.8 release

    Dear All, The new software version can be downloaded from the following page: The changelog is available here: See this blog for more details: Please let us know if you have any observation. Thank you, Attila
  10. 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~
  11. 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!
  12. 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
  13. Hi all tagging some experts @jpeyron @attila Thank you for all the help in previous questions! From what I have gathered up till now is that I cannot access the protocol analyzers since they are at the application level and are not exposed to the SDK. However in my application I need a protocol analyzer along with the analog read of the AD2 simultaneously. (attaching previous post) So my only hope is to make a custom protocol analyzer to get the logic bitstream from the digital pins along with the raw waveform data. I tried to do the same in the code snippet attached. However the program hangs at line #79 at FDwfAnalogInStatusData. And also the logic bits i have read at this point do not reflect the right logic levels. Is there something I am missing? What is the right way to get both analog and digital data from the oscilloscope? EDIT: When it is not hanging at that line the digital values i have read from the digital pins are not the right value i am supposed to see (dont see the logic stream of the signal just half 1s and the other half 0s). How does it have to be setup to ready a signal with 500K - 1MHz signal levels? Thanks in advance! Shabbir main.cxx
  14. Hi, I am using the Waveforms APIs to process the raw waveform data from the oscilloscope of AD2 to a C++ code. My other requirement is to use the logic analyzer simultaneously to get the data bit stream of data as well. 1. I was able to do this on the Waveforms 2015 GUI but is it possible using the APIs? 2. There are analyzers (SPI, I2C, Serial, CAN etc.) present in the Waveforms GUI, but is there a preset to do the same in the API? (not just being able to read 0/1 but analyse the SPI/CAN bus) Thanks, Shabbir
  15. Hi I am trying to install waveforms to use the analog discovery box. I am in Linux using Ubuntu and I have downloaded both adept and Waveforms and tried installing both using the terminal and everything seems like it installed but when I search to open Waveforms I can't find it. I'm not sure what is wrong or why they are not installing properly. I'm using the 64 bit for both. Please Help Thanks
  16. 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.csv") if(!nyfil.exist()){ var AllData = Date()+","" nyfil.appendLine(AllData) Index++
  17. Waveforms USB IO

    Hi all, The Waveforms program installed on my 64bit, Win 10 Laptop fails to connect correctly to the Digilent devices. I have tested with an Analog Discovery 2 and Analog Discovery, both were tested in other PC's so there is no external hardware issue. As shown in the attachment, Waveforms is reading the S/N from the device and current draw is within the expected range. My best guess is that there is a USB driver issue, what are your thoughts?
  18. I have been trying to set up the Waveforms Labview toolkit. But it seems that the driver is not compatible with my version of labview (pro 2016). Is this correct? I really need this to work with my version of Labview. Update: I also just tried it with Labview 2014 Pro, with the same issue.
  19. I just got myself an Analog Discovery 2. I tried probing an I2S stream on a CODEC, using the Logic Analyzer function. I noticed that the software is capable of decoding Left and Right channel samples as hex or singed decimal numbers - which is not much help when trying to make sense of audio signals. Is there any way to reconstruct left and right channel audio wave-shapes represented as analog charts for better observation? Can it be exported as channels on the oscilloscope and compared with other analog signals or Is it possible to see the spectrum of the Left and Right channel audio streams from the I2S signals?
  20. I received my Discovery 2 and installed WaveForms, however, the program recognizes the device but refuses to operate in any mode except configuration #4. If I select any other configuration, the error message "Device configuration failed(scope reset verify)". This occurs with or without an auxiliary power supply and on two different computers - Win 10 64bit and Win 7 32bit. Also behaves the same under WaveForms safe mode. I have followed all of the applicable troubleshooting suggestions to no avail. Does anyone have a suggestion as to where to proceed from here? Thanks - David
  21. Is it possible to fill the buffer of a Scope Math channel from a script?[i] = some value Thanks in advance, Greg
  22. This is about the AD2 Waveforms SDK. I've been successfully capturing single pulses by setting up AnalogIn to trigger on a rising edge, waiting 20 ms, then firing a pulse. However, it fails when doing longer pulse widths (>1ms). I found that it stays in the prefill state (DwfStatePrefill = 5) for a long time before it gets into the armed state. See some samples stats below. sampleFrequency = 20000.0 time = 205 ms sampleFrequency = 6666.666666666667 time = 615 ms sampleFrequency = 2000.0 time = 2049 ms Lower than ~5000 Hz sample freq. I cannot even capture a pulse even if I wait until the armed state. Any ideas what I can do? Thanks in advance.
  23. My Analog Discovery 2 was very sensitive to movement, with Waveforms reporting the connection lost at the slightest bump. Merely manipulating the flywire leads was enough to cause a disconnect. I determined that the plug on the USB cable that came with the AD2 was not able to seat completely into the AD2's USB jack. While looking through the top of the AD2's enclosure at the USB jack, I observed that the two metal "spring fingers" atop the USB plug were not inserting deeply enough into the jack to permit them to raise and latch into their corresponding holes in the top of the jack. After disassembling the AD2's enclosure, I used some (mechanical) files and an X-Acto knife to enlarge the enclosure's USB port hole so the entire USB plug can pass through (photo attached). With the enclosure assembled, the USB plug now seats completely into the AD2's USB jack. I can see that the two metal "spring fingers" advance into their intended positions and raise up into the jack's holes. Waveforms has yet to report a disconnect during my experiments with wiggling the USB cable.
  24. Hi, I'm trying to capture a 400kHz I2C waveform for a second or two using the logic analyzer function. Because the AD2 buffer size is small I am using record mode. When I do this with the default device configuration in the device manager (option 1 16x4k for Logic) I get the error "Samples were lost! Reduce sample rate". If I reduce the buffer dize and the sample rate I can change the message to "Samples could be lost! Reduce sample rate". My understanding is that I should be able to operate at 1-2MHz and that it's the USB bandwidth in conjunction with the buffer size that is the limitation. I tried to use the device manager to increase the buffer memory allocated to the logic analyser on the AD2, trying to change to option 4 16x16k, however whenever I do that the AD2 stops capturing data altogether. When I press record it goes to the "armed" state, but the acquisition doesn't trigger. I can change back to option 1 and it captures data again. This seems like a bug to me, unless I am missing something. Any suggestions? 2MHz capture should be sufficient for me and was the reason I bought the device. Less than that isn't much good for my application. Thanks, Ross
  25. Is there a way to execute "Defined Measurement" functions on an analog input stream from inside a custom Waveforms SDK program? I'm particularly interested in running a frequency measurement from my custom application (but ideally all of the factory defined measurement functions would be available). Judging by the SDK documentation, it seems that the only way to accomplish such a feat is to re-implement the calculation by hand such that it runs against an appropriate buffer of acquired samples. I don't want to duplicate this effort unless it's absolutely necessary. Even being able to see how these functions are implemented for the internal Waveforms functionality would be helpful if they can't be made available via the SDK API (apparently these implementations are kept secret; they are not visible in the measurement "Edit" window). UPDATE: I've established that the measurement functions are available from the Javascript API. Is it possible to boot a headless Waveforms and immediately execute a Waveforms "Script"? It doesn't seem to be possible execute a Waveforms "Script" from the normal Waveforms SDK; this would be really useful. But something along the lines of this would be great: /usr/bin/waveforms --run /path/to/MyCoolCustomScript.js where the script file is just a normal Waveforms "Script" like what you would run from the Script device.