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
    • Test and Measurement
    • 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. I am trying to use the power supply and I keepy getting this message for V+. V- works just fine by itself. I have tried: reconnecting the Analog Discover 2 restarting my laptop disconnecting every cable and running the AD2 by itself connecting the auxillary supply Any help would be greatly appreciated!
  2. 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:
  3. Good Day Techies, Some background information; I am currently using the SDK and I am running various test before I move forward using this AD2 on a major project. For most of the basic things this device works remarkably. Some questions I would love some insight on: a. What is the maximum amount of Sample Points the Analog Discovery 2 can store/output for a Custom AWG? - Using the API call FDwfAnalogOutNodeDataInfo it returns 4096 Samples as the Max Sample Count. b. Is there any way that this can be increased? c. If this can't be increased, is there a work around th
  4. 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 w
  5. Are there any differences between Python and C++ version of WaveForms SDK API functions with respect to execution time of the functions?
  6. I'm following these instructions: https://reference.digilentinc.com/reference/instrumentation/guides/getting-started-with-labview I installed Digilent Waveforms and the Labview Package Manager (VIPM) and I get to the instructions to double click on Digilent Waveforms VI to install it. It won't install and I get an error 8 which I found information on here: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019Rp8SAE&l=en-US I've tried the suggestion at the above link to allow to run as administrator (doesn't actually say that in the menu options, but I shared
  7. Is there any way to program an interrupt when a digital input pin goes high in WaveForms SDK with Analog Discovery 2 or Digital Discovery? I want to write a code (using WaveForms SDK), with which I wait for a digital input pin to go high. After the pin goes high, I want to continue with the program. Something like the following code: # Some code while (not digitalInputPinIsHigh()): continue # Continue with the program The problem is that the pin's output is a pulse that is only high for 30 μs, so if I continuously check the digital input pin until it goes high, I think I can
  8. I want to do the following with WaveForms SDK: communicate through 1.8 V SPI read 2 digital 1.8 V inputs generate a digital 1.8 V output generate a digital clock of 32768 Hz (low level 0 V and high level 1.8 V) Is this possible with a Digital Discovery or with an Analog Discovery 2 (or both)? I wanted to use an Analog Discovery 2, but I think I cannot set the digital voltage to 1.8 V (it is always 3.3 V). On the other hand, I do not know if a Digital Discovery does the trick, since: (Source: https://reference.digilentinc.com/reference/software/wave
  9. 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
  10. Hi I'm a happy owner of an Analog Discovery 2. I bought it mainly to do frequency response measurements on power supplies with the Network function. It happens that the dynamic range isn't always sufficient so I would like to design a new BNC connector board with a programmable gain stage in the same fashion as the Impedance Analyzer for Analog Discovery board is connected and controlled via the GPIO. Is it possible within the Waveform software to include logic that will set the gpio pins (change the gain) depending on the previously measured signal level without having to write a new Net
  11. I currently have a Raspberry Pi 4B with Waveforms installed connected to a Digilent Analog Discovery 2. The device works as intended, and I have a VNC connection set up so that I can remotely use it. The Waveforms software itself has a weird feature where the keyboard seems to be mapped incorrectly. For example, the key '1' returns '9', '2' returns '0', etc... I have used a web browser and a terminal on the RPi and neither had the same feature. Any advice?
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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!
  18. 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?
  19. 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
  20. 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
  21. 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-
  22. 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
  23. 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 /
  24. 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