Search the Community

Showing results for tags 'analog discovery'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

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

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

  1. Hi, I'm using Analog Discovery 2 to perform data acquisition through the two channels of the Oscilloscope, using the AnalogIn_Record.py code available in the SDK as a base. However, when the sampling frequency is greater than 600k Hz, samples are always lost and corrupted. For sampling periods longer than 120 seconds the losses are increased. Writing to a file takes almost the same time as acquisition, which makes the program uninteresting for the application I need. To minimize the effects of such a delay, I use a Thread that writes to file 'in parallel' with acquisition. With this, the problem of delay in writing to the file is satisfactorily minimized. However, the problem regarding corruptions and losses is not solved. The example program AnalogIn_Record.py does not present any solution to this problem. It only requests that the sampling frequency be reduced, which is not satisfactory. After all, Analog Discovery 2 supports frequencies higher than those I want to use. Is there any implementation better suited to mitigate such an error? Thank you in advance for your help.
  2. Hi, I was wondering if anyone can recommend self-study instructional materials which use the Analog Discovery. Things I would be interested include: - text books and lab exercises which specifically use the AD - tutorials on how to use the special capabilities of the AD Imagine you've given an AD to a bright high school kid who has an avid interest in electronics. What instructional materials would you give them so they can learn on their own what all the AD can as well as learn some electronics? Thanks!
  3. Hello all, I need to use the AD2 / AD Pro for some analog/digital signal measurements. I have a few questions before I make the purchase. Can I acquire both the Analog as well as Digital input channels simultaneously with MATLAB? Can I change the Gain of an Analog Channel from MATLAB? If so, how? After changing the gain, does the resolution of 14bit apply to this amplified value? i.e. if with 1X gain the input range is +-25V, and the 14 bits are mapped to this voltage range, Does making the gain 10X, make the 14bits map to the new range? i.e. +-2.5V? Thus increasing the precision of the system to low voltages? In my test setup I need to probe (2 analog) signals which will vary in terms of mV (lets say 1-2mVs) and 2 Digital signals simultaneously. Will I be able to measure these small signals with AD2 or AD Pro, If so, which one will be better?
  4. I'm on the hunt for a logic analyzer to debug digital protocols. I plan to use it to debug high speed SPI busses (up to 50-80MHz) and USB 2.0 FS (I want to write my own USB stack for a STM32 as a learning experience). My eye is particularly drawn to the Digital Discovery, as for the price it has very high sample rate. I still have to buy a LA though, as I'm still scouting around what works best for me. Therefore, I installed the Waveforms software as a demo, but did not find the USB protocol in there. Obviously it would be complex to write a custom decoder while simultaneously also writing (and learning) a USB stack. However I do know that open source packages (Sigrok) has support for it, so that makes me wonder if it's also possible to use the Digital Discovery with sigrok (e.g. directly capture within Sigrok). I had a look at the Sigrok wiki; and there is a page for the Analog Discovery 1: https://sigrok.org/wiki/Digilent_Analog_Discovery However, it says it's WIP. I cannot find any device driver in Sigrok or the github repository. So I wonder, is there any plan to add Sigrok support? If not by Digilent's efforts, is there any documentation available on how the interfacing to the device works, perhaps even at a USB level, such that it could be ported? I think it would be a huge addition to the product, as the Sigrok CLI and GUI is equipment agnostic and could be used in many test/development automation setups as well. Thanks in advance ?
  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...) Use the "My device is not listed" button in WaveForms application Device Manager to reprogram the EEPROM. - 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. If I configure the SPI with mode 0 (polarity=0 and phase=0) and LSB in WaveForms SDK in the Digital Discovery or Analog Discovery 2, and I send the byte 163=0xA3=b10100011; I would see the following: Is it guaranteed that when there is a falling edge of SCLK, the MOSI takes the value just before the transition (the SCLK edge)? What I mean is; is the following image accurate:
  7. I have a device that has a single 16-bits SPI shift register (for both transmissions and receptions). It responds to falling edges of SCLK. The input of the shift register is connected to MOSI and the output to MISO, as the following figure. As the MOSI signal is input to the first flip-flop of the shift register, it should remain stable (not change) during a falling edge of SCLK, while MISO changes its value during a falling edge of SCLK. This way, MISO and MOSI signals are not synchronized. I want to communicate with this device using WaveForms SDK. Is there a way to configure the SPI communication correctly? With this I mean: is there a way of generating the SCLK and MOSI signals as shown in the figure above, and sample the MISO data in each rising edge of the SCLK? I suspect functions FDwfDigitalSpiRead16 and FDwfDigitalSpiWrite16 assume MISO and MOSI signals are synchronized; so no SPI polarity and phase configuration would work correctly.
  8. Are there any differences between Python and C++ version of WaveForms SDK API functions with respect to execution time of the functions?
  9. Hello, I have a first generation Analog Discovery, S/N 210244626692. It recently stopped communicating with my computer. I have tried different USB ports, different cables, and tried a classmate's AD on my computer. The classmate's AD was recognized by Waveforms, but mine was not. Nothing shows up in the Device Manager when my AD is plugged in. -Nat
  10. I am finding that if I set the sweep time to anything over about 20ms, the sweep winds up corrupted. Have updated to current (3.12.2, 64-bit) - no change. Please advise.
  11. Analogue Discovery 2 https://forum.digilentinc.com/applications/core/interface/file/attachment.php?id=12669 https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019Ls1SAE&l=en-US Hi Firstly I would like to say what great product the Analogue Discovery 2 is, I have used it for 8 months to develop a product. It is by far the best PC scope that , I have used. Far better than a PICOSCOPE from the UK company PICOSCOPE or any of the Chinese PC scope knock offs. Analogue Discovery 2 is a serious peice of professional kit and not a toy. This a summary of all of the useful information I found when working with the Analogue Discovery 2 for 8 months 1. Always use the latest WaveformsSDK https://forum.digilentinc.com/topic/8908-waveforms-beta-download/ 2. vb.net driver rapper https://forum.digilentinc.com/applications/core/interface/file/attachment.php?id=9726 https://forum.digilentinc.com/topic/17736-digilent-analog-discovery-2-dll-driver-for-vbnet-and-c-in-visual-studio-2017/#comment-45135 3. C# complete .net rapper than can be used for vb.net as well as C# https://github.com/Andrei-Errapart/WaveFormsSDK It is possible to take full control of the Analogue discovery 2 using C# or vb.net or python or labview. 4. C# oscilloscope GUI panel that works and can be used in both VB.net and C# https://www.codeproject.com/Articles/16350/High-Speed-Feature-Rich-and-Easy-To-Use-Graphs-and I have tested this C# plugin and it works really well . 5. KICAD PCB tool projects that are very intersting This way you can make your own projects which plug onto the analog discovery 2 https://github.com/jubeormk1/AnalogDiscovery_x20_powerMainsProbe https://github.com/jamescarruthers/analogdiscovery2io https://github.com/james-everitt/AnalogDiscovery2Eurorack https://reference.digilentinc.com/_media/reference/instrumentation/analog_discovery_impedance_analyzer_sch.pdf 6. General https://github.com/Elektrolab/AnalogDiscoveryScope https://github.com/AndrewQM/AnalogDiscoveryScripts https://github.com/bienata/AnalogDiscovery2 https://github.com/pascalhuerst/FreqResp https://github.com/HutzlerLab/AnalogDiscovery https://github.com/holla2040/ad2 https://github.com/ATPanetta18/ADAP https://github.com/michael-christen/digilent_interface <<<<-- linux command line interfasce for AD2 The question ============= Will the waveforms SDK every be compiled to work on the Windows10 ARM64 platfrom. ?? see https://www.altomdata.dk/guide-koer-komplet-windows-10-paa-raspberry-pi
  12. Hi, First, The Analog Discovery 2 is a very handy device and i am very pleased with all the functionality it offers. I got a problem with my device. The channel one of the wave form generator is not working any more. Here is the full the story. i mixed up the scopes for the signal generator and the oscilloscope and i ended up trying to measure a voltage of about 80v with the scope connected to waveform generator. As a result the device disconnected from my laptop. I noticed my mistake, unplugged the scope and tried to reconnect the device. It does show up in the list of available devices with all values of the register, S/N, state... But once i have clicked on 'select', an error pops with 'communication with the device failed'. I connected an external power supply to Analog D and this device can now be connected to Waveform (?!). If I try to set a sinusoidal signal on the channel one of the waveform generator, it shows either a clipped signal or absolutely nothing depending on the Vpp voltage. Also, their is a spurious 3V drop between ground and the output of the channel 1 To finish, the device warms up very quickely. Does anyone has an idea how to fix that ? To be honnest, i have made an huge mix-take with the device, do you think that someone at Digilent will agree to have look at the device ? Edit: Waveform indicates a consumption of 800mA / 4.8V on the AUX power supply, the temp is around 50 °C. Also there is a sound emitted by the device when connected, like a whistling. Best Regards, Nicolas