Search the Community

Showing results for tags 'analog discovery 2'.

  • 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

  1. Hi, I am looking for an easy way to implement an i2c negative tester with analog discovery 2. The intention is to corrupt i2c telegramms, e.g. pull clock line low, to validate the handling of the affected microcontrollers. Therefore it is possible to analyse the clock and data lines and trigger on specific content. Does anybody already implemented and published it? Best regards Steffen
  2. I am trying to find the script commands to access the Spectrum Analyzer in the Analog Discovery 2. I would like to specifically access the THD function to read a series of values at different frequencies (using the Wavegen), plot them and save them to a file. I am generally familiar with the use of scripts and have made them work on the scope, wavegen, etc. but cannot seem to find the commands to access the Spectrum Analyzer in Waveforms 2015. I have also used the debug function as well as the plot function so what I need are the specific access routines for the spectrum analyzer and its subfu
  3. Not sure if this is the correct thread, just made the account to post this since I cannot find anyone having a similar issue. So I am trying to install Waveforms. I am running a 64 bit operating system with Windows 10. Basically everything seems fine until after install. Any time I try and run Waveforms it doesnt run and I get an error message that reads exactly as: "The code cannot proceed because VCRUNTIME140.dll was not found. Reinstalling the program may fix this problem." Issue is I have tried un-installing and re-installing around four times now, including just re-installing wi
  4. Hello, I am building an SPI proof of concept for the Analog Discovery 2 in LabVIEW and I am unable to get the entire thing working, despite other successful LabVIEW projects that use the Analog Discovery 2. The issue I am having is that I am capable of generating an SPI message output where the AD2 is the master, but I am unable to get the expected response in the Rx array. The pinout is the clock is on pin 2, the chip select is on pin 1, the MOSI_SISO is on pin 4 and these three outputs are connected to an oscilloscope for observation. The MISO is on pin 7 and is connected to a pu
  5. I am a hobbyist, new to oscilloscopes. I recently purchased the Analog Discovery 2, the BNC Adapter and the BNC Oscilloscope 1X/10X Probe pair. I've read this post and this post, and followed this video on calibration, but, I'm not sure the AD2 and/or the probes are measuring properly or not. I cannot get square off the signals. The screenshots indicate the maximum I am able to deflect the signal when rotating the screw within the probes. From my understanding, rotating the screws in the probes should make the signals become square. Here's other information which may be indiscern
  6. We're excited about using the AD2 for a whole bunch of courses in our college as we teach online for the foreseeable future. One useful feature would be if we could get the raw A to D data from the scope channels so we can use them in LabVIEW. At this point, niVB_MSO_ReadAnalogDigitalU64 provides the voltages, all cleaned up, instead. Is there another dwf that provides the raw data, or could this feature be added to the next revision? At this point, I'm taking the voltage and converting it back to a step count using the step size, but we'd be just a bit more accurate if we had the raw
  7. Hi, I would like my Scope acquisition to start when I hit "Run" on Channel 1 of my Wavegen. How do I set up this trigger? This is for Waveforms 2015. Thank you so much!
  8. I assume that the Analog Discovery 2 detects an external 5V supply when it initializes and then uses it instead of USB power. Is this correct?
  9. Hello, bloody beginner here, I was wondering if it is possible to measure and tune an RFID HF antenna with the Analog Discovery 2. The documentation for the network analyser says it tops out at 10Mhz. The RFID antenna is at 13.56Mhz. Is it still possible to measure the antenna with the Discovery 2? Any help and advise is welcome on where to get started. Cheers
  10. The DIO0 and DIO1 pins (leads) on my Analog Discovery 2 seem to be frozen. I was trying to read digital signals and they stopped working like they did before. So I opened StaticIO on Waveforms and tested it. The other DIOs seem to read OK, but DIO0 is stuck high and DIO1 is stuck low. I don't remember doing anything that would fry these inputs, but it's certainly possible. Is there anything I can try to check this, or fix it? Thank you! Robert
  11. Hello, What is the difference between the "custom" and "sensor" tabs on the Protocol Analyzer in Waveforms? Are they used together? Where the custom tab gives the user the ability to write their own custom SPI Protocol and use it in the Sensor tab? And can I use them to develop a script that would control an SPI compatible 12-bit DAC. The goal is to read the 12 bit digital data from a file, with data ranging from 0x0000 to 0xFFFF (16 bits technically since the 2 MSB determine the DAC Power Modes and the 2 LSB are don't cares) and outputting that data from the Analog Discovery 2 to the 12-
  12. Hello there, I am a student and have recently purchased the Analog Discovery 2 for my bachelors-thesis. I have been using scripts to take measurements with the Impedance Analyzer Tool for some time now but I cannot get the desired amount of impedance samples per second. I would like to ask any competent member of this board how I can achieve a higher sampling rate regarding the Impedance. Simply put, what would you do to get as many samples of Impedance per second. This is what I have tried so far: -Switching between the different buffer sizes upon initialization of the AD2
  13. Hi everyone, just a quick message to present myself: I'm a professional IT-er and an amateur electronics enthousiast. My website can be found at: Website Some of my electronics projects are: Visitekaarduino Retro Z80 computer with stackable segments and memory mapping "War Dogging", the new war driving in miniature The reason I came to this forum is that I really like the AD2, using this device is like coming home. However, when going into scripting, I find the documentation rather non-existent. I know 18 different programming languages (ECMA-script /
  14. Is it possible to control the power supply and set the voltage of the positive and negative respectively? The aquisition toolbox of matlab (2019a) doesn't allow the possibility of controlling the power supply. The closets solution seems to be to use a h-file library from the SDK (see below). However the header of the h-file (dwf.h) says "This spans all 4 main instruments supported by the WaveForms system: Analog In, Analog Out, Analog I/O, and Digital I/O", the text doesn't leave any information about that the supply can be controlles as well. Further, looking through the functions in t
  15. Hi, I'm considering buying one of these to play with but I was wondering which version is best: the one from Digilent, or the NI edition from National Instruments. What exactly is different between both? Thanks! Stuk
  16. Hello, I am using Digilent Analog Discovery 2 and I began to explore its scripting capabilities. Do you know if there is a way to make calculations between the measurements between the 2 channels of the scope? In my case, I have 2 different sine waves and I need to subtract the Peak-to-peak value of channel 1 from Peak-to-peak of channel 2. Is there a way to do this in script? Thanks Karl
  17. Hi With the waveforms tool is it possible using python scripting in the Waveforms platform to do the following ?? Use the Digilent Analogue discovery 2 - Attach a device like a PMOD device eg accelerometer https://store.digilentinc.com/pmod-acl-3-axis-accelerometer/ using the Analogue discovery 2 ability to chat SPI & IC2 - pmod DEVICES SUPPORT 12-pin Pmod connector with SPI interface and 2×4-pin I²C interface - Then using the read information from the PMOD device treat it like an extra oscilloscope channel . Either as a Analog channel
  18. Greetings! i'm working on a project involving the use of the Logic Analyzer function of the Analog Discovery 2. I have observed that its Record Mode can be used to capture huge samples of data. The only problem that I'm having is it takes too long for the Record Mode to fill its memory before returning results even when the sample size used is 20k. I would like to know if it is possible to make the Record Mode of the Logic Analyzer intelligent in a way by making it stop filling its memory when the data to be transmitted has already been received. Because the application that I'm usi
  19. Hello, We have two analog discovery 2 devices. both are not able to use it or detect. One device is not getting detected, and temperature is going upto 50 degree C near usb connection. 2. 2nd one is telling already an device is connected Please help to solve this issues. I tried reinstalling the waveforms software, using device fix i programmed still no solutions. Regards LT
  20. My project end goal is to log 9-bits data from an FPGA. The Analog discovery 2 can log data but I was wondering if it could for digital data as well. Thank you in advance
  21. Hi, I would like to measure control loop gain of DC-DC converter using AD2 network analyzer. Is it possible to add a digital filter to input channels of AD2 and measure gain and phase shift after digital filtering?
  22. Hello Community I am using the Analog discovery 2 controlled by a C# Software. At a certain point of the software, I need to check the length of a detected pulse. Before this, I prepare the digital in component of the device. private const uint BUFFER_SIZE = 4000; private const uint DIGITAL_IN_DIVIDER = 1000; private const uint CLOCK_FREQUENCY = 100000000; public void prepareForPulseDetection( int digitalIoIndex ) { checkDigitalIoIndex( digitalIoIndex ); // sampling frequency = 100 MHz / 1000 = 100 kHz (-> 10 us) dwf.FDwfDigitalInDividerSet( device, DIGITAL_IN_DIVIDER ); // j
  23. Hi, I am trying to synchronize two sine waves referring to the sample file "analogout_sync.cpp" using the master and slave technique, but I feel like there is too much of a delay before the second wave is generated still. When I use an external oscilloscope, it shows that the sine waves are not in sync and the phases change for the waves every time the program is rerun, so I can't hardcode a phase to fix it. Is there any way to make sure I can sync the two waves using C++ code? Thanks
  24. Hi all, I use Analog Discovery 2 to generate a ramp up waveform and observe synchronously the response in the scope. The wavegen output W1 is wired to the scope input Ch.1. I want the scope to be triggered by the generated waveform, so that subsequent acquisitions yield signal that starts exactly in the same moment. I attach the VI that I have made to achieve this (testscope3.vi). I use Configure Digital Edge Trigger.vi to set up triggering. What I expect is that on each loop repetition the acquired signal would start in the same moment, but this is not the case. Each acquisition starts a
  25. Hi there, Until here, I've done quite a few things, with the magnificient help of attila. I've done a lot a threads that can use the AD2 to record the analog inputs, or the digital inputs, that can configure the analog outputs or the digital outputs. When I run all of those threads together, it works perfectly fine (except for the tick of my PC, that doesn't allow me to be really fast with the digital outputs, but it's not a big problem for the moment). And then, the UART appeared. I have to say, it works great. The problem is with the UART and the digital outputs. When bot