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 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

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 145 results

  1. 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
  2. Is it possible to fill the buffer of a Scope Math channel from a script? Scope1.Math1.data[i] = some value Thanks in advance, Greg
  3. 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.
  4. 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
  5. 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.
  6. I'm just playing around for now but in the future I have vague notions of learning music theory.
  7. Question from the customer: Can you add a math channel which depends on more than one sample of the input channel. For example, applying a window function to calculate the average of the last 10 samples, FIR filtering, etc. Would also be nice to see some basic support for FIR and IIR filters in the oscilloscope math channels; Answers: For such purpose the Scope Logging tool can be used. The following script applies a filter to one channel data and saves it as reference channel. function doRef(ch, ref, fir){ var cfir = fir.length; {// normalize window area var vol = 0; fir.forEach(function(v){vol+=v;}); for(var i = 0; i < cfir; i++){ fir[i] = fir[i]/vol; } } ref.enable = true; // clone to have proper information (sample rate...) // save and restore offset value var voff = ref.Offset.value; ref.Clone(ch); ref.Offset.value = voff; // workaround to get all data not only visible one var sb = Scope.Time.Base.value; Scope.Time.Base.value = 1; var rg = ch.data; Scope.Time.Base.value = sb; var rgf = []; var crg = rg.length; var crg1 = crg-1; var cfir2 = round(cfir/2); for(var i = 0; i < crg; i++){ var v = 0; for(var j = 0; j < cfir; j++){ var ij = i+j-cfir2; if(ij<0) ij = 0; if(ij>=crg1) ij = crg1; v += rg[ij]*fir[j]; } rgf[i] = v; } ref.data = rgf; } // source store fir window doRef(Scope.Channel1, Scope.Ref1, [1,2,1]); doRef(Scope.Channel1, Scope.Ref2, [1,2,4,8,4,2,1]);
  8. How many AD2s can be connected to one computer and ran simultaneously in WaveForms 2015? For example: I need to monitor 10 signals. If the signal is good, then an output is sent from the AD2.
  9. I am unable to make Waveforms working with my Analog Discovery on Linux. I installed Adept 2 and Waveform, when I plug my device in the usb port I have it recognized. It seems it is Waveforms that refuse to recognize the device or something bad happen as soon as I start Waveforms to the USB connection. Here is the log output when I connect the device in the USB port: oct 06 20:49:09 feynman kernel: usb 2-1.7.4: USB disconnect, device number 11 oct 06 20:49:09 feynman dbus[1324]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service' oct 06 20:49:09 feynman dbus[1324]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service failed to load: No such file or directory. oct 06 20:49:13 feynman kernel: usb 2-1.7.4: new high-speed USB device number 12 using ehci-pci oct 06 20:49:13 feynman kernel: usb 2-1.7.4: New USB device found, idVendor=0403, idProduct=6014 oct 06 20:49:13 feynman kernel: usb 2-1.7.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 oct 06 20:49:13 feynman kernel: usb 2-1.7.4: Product: Digilent USB Device oct 06 20:49:13 feynman kernel: usb 2-1.7.4: Manufacturer: Digilent oct 06 20:49:13 feynman kernel: usb 2-1.7.4: SerialNumber: 210244540938 oct 06 20:49:13 feynman kernel: ftdi_sio 2-1.7.4:1.0: FTDI USB Serial Device converter detected oct 06 20:49:13 feynman kernel: usb 2-1.7.4: Detected FT232H oct 06 20:49:13 feynman kernel: usb 2-1.7.4: FTDI USB Serial Device converter now attached to ttyUSB0 oct 06 20:49:13 feynman mtp-probe[14777]: checking bus 2, device 12: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/2-1.7.4" oct 06 20:49:13 feynman mtp-probe[14777]: bus: 2, device: 12 was not an MTP device oct 06 20:49:13 feynman dbus[1324]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service' oct 06 20:49:13 feynman dbus[1324]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service failed to load: No such file or directory. oct 06 20:49:28 feynman kernel: ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0 oct 06 20:49:28 feynman kernel: ftdi_sio 2-1.7.4:1.0: device disconnected From 20:49:09 to 20:49:13, these messages are issued when I plug the device. At 20:49:28, these are the messages when I start Waveforms. Anyone can tell me what is wrong? Why the device get disconnected when I start Waveforms? And why do I get the device reported in the Waveforms GUI anyway? As shown on the attached screenshot, the serial number of the device is reported correctly. Any help to resolve this issue would be appreciated.
  10. I'm trying to find a way to include the Analog Discovery's serial number when exporting images of the oscilloscope in Waveforms. My lab instructor requires us to include the SN in each of our 'scope captures, but i can't find an option to include it (online or in the reference manual). Right now I'm resorting to hitting printscreen and editing in mspaint Does anyone know of a better way to get oscilloscope captures from Waveforms with the serial number showing?
  11. Installed WaveForms 3.3.7 (64bit) on Ubuntu 16.04 recommended adept runtime. However waveforms failed to run indicating that it required a library (libdmgr) requiring installation of adept runtime 2.16.5 (64bit). The adept.runtime should be marked as required instead of recommended for waveforms.
  12. I'm trying to use an Analog Discovery 2 on linux Debian 8.5 (jessie). I recently upgraded from 7.9 (wheezy) because I couldn't get the AD2 usb to work reliably. But I seem to have the same trouble here. $ dpkg-query -l 'digilent*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-============================-===================-===================-========================== ii digilent.adept.runtime 2.16.5 i386 Digilent Adept Runtime ii digilent.adept.utilities 2.2.1 i386 Digilent Adept Utilities ii digilent.waveforms 3.3.7 i386 Digilent WaveForms In particular, the AD2 is not found at boot time, but unplugging and then replugging the usb cable causes it to be detected. Once the os knows the device is there, 'dadutil enum' will answer back a device and serial number. But eventually (haven't found a pattern yet but current max is 26 minutes, min < 2 minutes) the device disconnects from the usb. After that 'dadutil enum' says 'No devices found'. Using 'lsusb' shows the device is gone. Physically unplugging and replugging usb brings the device back for a while. 'waveforms' will work for a while, but I believe the usb disconnect makes it die. E.g. from /var/log/messages, grepping for 'usb.*2-2' Sep 6 16:27:29 deb85-Iguana kernel: [ 7974.156045] usb 2-2: new high-speed USB device number 8 using ehci-pci Sep 6 16:27:29 deb85-Iguana kernel: [ 7974.293336] usb 2-2: New USB device found, idVendor=0403, idProduct=6014 Sep 6 16:27:29 deb85-Iguana kernel: [ 7974.293345] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Sep 6 16:27:29 deb85-Iguana kernel: [ 7974.293351] usb 2-2: Product: Digilent USB Device Sep 6 16:27:29 deb85-Iguana kernel: [ 7974.293356] usb 2-2: Manufacturer: Digilent Sep 6 16:27:29 deb85-Iguana kernel: [ 7974.293361] usb 2-2: SerialNumber: 210321A1A55D Sep 6 16:27:29 deb85-Iguana kernel: [ 7974.296225] usb 2-2: Detected FT232H Sep 6 16:27:29 deb85-Iguana kernel: [ 7974.296234] usb 2-2: Number of endpoints 2 Sep 6 16:27:29 deb85-Iguana kernel: [ 7974.296242] usb 2-2: Endpoint 1 MaxPacketSize 512 Sep 6 16:27:29 deb85-Iguana kernel: [ 7974.296249] usb 2-2: Endpoint 2 MaxPacketSize 512 Sep 6 16:27:29 deb85-Iguana kernel: [ 7974.296255] usb 2-2: Setting MaxPacketSize 512 Sep 6 16:27:29 deb85-Iguana kernel: [ 7974.296752] usb 2-2: FTDI USB Serial Device converter now attached to ttyUSB0 Sep 6 16:27:29 deb85-Iguana mtp-probe: checking bus 2, device 8: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2" Sep 6 16:34:32 deb85-Iguana kernel: [ 8398.020689] usb 2-2: USB disconnect, device number 8 My system info: $ uname -a Linux deb85-Iguana 3.16.0-4-686-pae #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) i686 GNU/Linux All of this happens to be on a VersaLogic Iguana board. Thanks for any help.
  13. Hello, I'm using the AD2 and the waveforms SDK. What I need to do is create a single square pulse, non-repeating. Is it possible with the SDK to do this? In other words, I need it to run for only a single period. Turning the generator on and off in software is just too imprecise. Thanks in advance!
  14. I'm working with the AD2 and the Waveforms SDK. In the reference manual (https://reference.digilentinc.com/reference/instrumentation/analog-discovery-2/reference-manual?redirect=1id=analog_discovery_2:refmanual), it says: Scope input impedance = 1MOhm || 24pF Two different attenuations for high-gain/low-gain (10:1) Does this imply that for the high-gain setting in the SDK, the scope acts like a BNC probe that has 1x and 10x modes? I really need that high-impedance (reduced capacitance) mode for the signals I'm trying to measure, but without using a 10x probe, just a direct connection to the AD2. Any advice would be appreciated!
  15. I am trying to download Waveforms 2.9.4. I am logged in to reference.digilentinc.com. When I right click on the blue Windows icon and click Save As, I get a message "... couldn't be downloaded". I am using Windows 7 and IE11. Yes, I am trying to download the legacy version, I do prefer it. Any ideas as to what I am doing wrong?
  16. Hi there, after buying the Analog Discovery 2, I installed Waveforms without any problems, but when starting Waveform 2015 v3.3.5 it crashes immediately on Windows 7 Enterprise 64 Bits. I also tried v3.3.3 getting the same result. Getting two problem reports immediately one after the other: Problemsignatur: Problemereignisname: APPCRASH Anwendungsname: WaveForms.exe Anwendungsversion: 3.3.3.0 Anwendungszeitstempel: 57332ffc Fehlermodulname: ntdll.dll Fehlermodulversion: 6.1.7601.23455 Fehlermodulzeitstempel: 573a54b7 Ausnahmecode: c0000005 Ausnahmeoffset: 000000000004ba71 Betriebsystemversion: 6.1.7601.2.1.0.256.4 Gebietsschema-ID: 1031 Zusatzinformation 1: 6844 Zusatzinformation 2: 68446d351aa0616ef4ad51f70ac1e6ae Zusatzinformation 3: 43b5 Zusatzinformation 4: 43b5d2ec0051e95cf2b7acee2fe203a8 Problemsignatur: Problemereignisname: APPCRASH Anwendungsname: WaveForms.exe Anwendungsversion: 3.3.3.0 Anwendungszeitstempel: 57332ffc Fehlermodulname: ntdll.dll Fehlermodulversion: 6.1.7601.23455 Fehlermodulzeitstempel: 573a54b7 Ausnahmecode: c000041d Ausnahmeoffset: 000000000004ba71 Betriebsystemversion: 6.1.7601.2.1.0.256.4 Gebietsschema-ID: 1031 Zusatzinformation 1: d30d Zusatzinformation 2: d30d5fccfe290dfec9f2cf555e634978 Zusatzinformation 3: ba06 Zusatzinformation 4: ba0672fff19d12af57868c0783d4e1fe Any help appreciated. Rolf
  17. We got the following question: Hi,I'm using your software WaveForms 2015 coupled with your Electronics explorer board to generate 2 synchronised wave form. Now I need to automate my test in which I have a sine1 as reference and a sine2 used as signal. In my automated test I want to change the phase of my sine2 from 0 to 360 and make measurements for each phase shift. My goal would be to have an input and each time my input has a raising edge my sine2 will be shifted by 1 degree. Is it possible to script with this tool under Linux or Windows? Or are there a way to do this with the electronics explorer board?Thank you for your help.
  18. I just purchased an Analog Discovery and have been enjoying it so far. The OSX Waveforms2105 app works flawlessly. I'm now trying to run the python example code in the SDK in order to write my own software. If I run `DigitalOut_Pins.py`, I get the following: DWF Version: 3.3.5 Opening first device failed to open device Any ideas? Can I debug this in any way? Thanks.
  19. Hello there, I am using Analog Discovery 2 and WaveForms software. I was wondering either there is any way to export the scope view to pdf or eps format? Or any other vector graphics format. That would be great for papers. If there is no such feature, maybe developers would consider this option? I would appreciate all help.
  20. When I open Waveforms 2015 and connect the AD1 or AD2, I can click on the status button on the bottom of the main window and it will pop up a system monitor that allows a quick view of the USB voltage and the total current draw from the device. If I attach a separate AUX 5V power supply to the AD2 (awesome feature!), it will display AUX voltage and AUX current. I tested it with a high W resistor and easily pulled 1100mA with no issues and was able to observe that value through the system monitor (see image "AD2"). My question is why doesn't this feature work for the Explorer Board (see image "EE")? At first I thought it might be related to the power running exclusively through the USB with the AD1/AD2, which is why I tested it with the AUX power supply on the AD2. Since that worked, my only thought is that the hardware and/or software on the Explorer Board doesn't allow that type of data to be returned to the system monitor. If it is software, is it possible to add this feature? All it tells me right now is that my board is on/off, which I can see from the bright green "ready" LED on the board itself, so that doesn't help me much. I realize there are multiple ways that I could either use external tools, or even utilize the tools on the EE board to figure this out, but it would be nice to just be able to see total system voltage/current at a quick glance. Thank you.
  21. Hello, I'm trying to rename my Analog Discovery 2 in WaveForms 2015 3.3.3 but have been unsuccessful. When I type in a new name it says "rename failed." This seems to happen no matter what I name it, just letters, letters and numbers, and with special characters. I am working in Windows 8.1 Kaitlyn
  22. Digilent Waveforms depends on xdg-utils which depends on x11 and many things. Can I install waveforms without all of this and how? Is anyone using this on an embedded device like the Beaglebone Black or Rasberry Pi?
  23. I'm using the original analog discovery module and have captured scope plots that I want to play out using the waveform generator. I could do this with the older software, v2.62 but after upgrading to waveforms 2015 (v3.26) I cannot seem to do the same thing. or maybe I just haven't found the right way to go about it in waveforms 2015. I have a csv file that I have previously converted from the scope capture. 1. How can I play out the waveform using the csv file (file attached)? 2. How can I read old scope captures in waveforms 2015 (file attached)? thanks, tim field data test 1.csv 4_6_2016 field data with comparator input and board input ch2 take 5 with glitch.dwfscopedata
  24. I have an Analog Discovery 1. I have been using it successfully under Windows for some time. I would now like to use it under Linux - Ubuntu 14.04 LTs (64-bit) . I have installed digilent.waveforms_3.2.6_amd64.deb When I start the program I get three error messages 1) WaveForms > dlopen libmgr.so Reinstall Digilent Adept Runtime 2) WaveForms > No device detected 3) Device Manager > Adept NOK No device appears in the list of available devices in the Device Manager. Running dmesg I can see that the device is recognized by the operating system. When connecting I get - "FTDI USB Serial Device converter now attached to ttyUSB0" When disconnecting I get - "FTDI USB Serial Device converter now disconnected from ttyUSB0" Does anybody know how to solve this issue? Regards, Ben