Search the Community

Showing results for tags 'ad2'.



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
    • 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 64 results

  1. Hi folks - I have a Mac running 10.10.5 and another with 10.11 both not connecting to the Analog Discovery 2 hardware over USB. What I know: Hardware works fine from a Windows VM on the Mac Plugging in the AD2 loads kext com.digilent.driver.DigilentFtdiDriver AND com.apple.driver.AppleUSBFTDI Neither removing com.apple.driver.AppleUSBFTDI via kextunload nor deleting the kext file helps Following the *awesome* steps at this post didn't help - WaveForms sees and loads the driver (no logs spit out normally; logs spit out when I rename driver) but still no dice Keeping AD2 unplugged while restarting: no dice Reinstalling WafeForms and DigilentFtdiDriver-1.0.3.pkg - no dice Any ideas? Eager to get working on Macs.
  2. Hello, I am currently working with the FPGA Board ZYBO Z7020. Part of my current task is: Apply a voltage to the AD2, the FPGA contains some logic and has to output the same Voltage with a DA2. I configured a VHDL I2C Master for communication with the AD2. I also attached an image with how I added the pullup Resistor in the schematic. I am using the internal voltage reference, which equals VCC = 3,3V. I am also watching the SDA Line with an oscilloscope to have a look at the data the ADC sends to me. I can apply an input voltage (DC) to the AD2 with a Waveform Generator. The AD2 works in High Speed mode (1MHz Clock). The configuration I use is: "00010011". The big problem with the SDA Data from the AD2 is: It reaches its maximum at 1,65V Input Voltage, so at 1,65V input voltage, all bits of the 12 bit data are '1'. I just can't figure out, why that's the case. The jumper on the AD2 board is set to "REF", the configuration tells the AD to use this reference and not an external one and the VCC at the PMOD surely delivers 3,3V. Any idea about what I am doing wrong? EDIT: I am only using Channel 0 for conversion.
  3. Hello everyone, I have problem with impedance data exporting from AD2 and can't find-out the solution. I wasn't lucky to find people who had the same problem. Problem: exporting Impedance measurement data to CSV I got empty rows. Graph looks correct. All data point refer to only one number, so results only horizontal line. I had the same problem with older version WaveForms and from first was thinking that update solved my problem, but it still occurring. I had idea that I save to much reference lines in Workspace, but problem accures with 6 reference lines too. System: MacOS High Sierra. WaveForms 3.10.9 64-bit Qt5.6.3 macOS 10.13 If anyone has any ideas please let me know the solution.
  4. Hey there I'm thinking about to get a AD2 for my project and I want to make sure, if everything will be working fine. I want to achive a closed loop with the AD2. I want to set a PWM to control a motor though the Matlab Data Acquisition Toolbox and check simultaneously the pulse signals of the hall sensor with the ADC. Is this possible? The ADC should work with 10Ms/s to get the data. The PWM will be around 20KHz Square/Sinus output. Thanks in advance
  5. Hello I certainly miss something, but I cannot figure out how to trigger pattern with an AWG output. According to the reference manual: Each instrument generates a trigger signal when a trigger condition is met. It's rather easy to trigger the AWG and the pattern output with the scope, but I didn't figure out how to trigger patterm output with AWG. I certainly didn't found what a "trigger condition" is for an AWG. What I'm trying to do is to have two AWGs synchonized and one positive pulse at phase 0. I can imagine to use Ext trigger, and to wire T1 on T2, but that doesn't seems to make sens. Thanks for your help. default.dwf3work
  6. Hi, I'am currently using my AD2 in Matlab 2018b and altough I'm capable of using some functionalities (the ADCs, for ex), I couldn't find a way of setting the power supply. Which, by the way, is doable in Waveforms. Does anyone know how can I set the DC power supply from Matlab? Thank you in advance for your time!
  7. Hi all I would like to try the Protocol I2C function in WaveForms, and I set DIO7 as SCL, then I connect DIO7 to DIO15, and set Logic analyzer to watch I2C signal. After I clicking Write button on Protocol UI, the Logic UI didn't show the clock signal. Can't I do this? I tried UART also. It work fine. Thanks
  8. Hello, Some days ago I installed the new Waveforms software to update from Waveforms 2015. I have found that when running a loopback to check the Network Analyzer, the signals going to both scope inputs, randomly, stop the data adquisition, resulting in a bad representation of the bode plot. It happens in a random fashion, and when it fails, happens at the beggining of the sequence. I tryied to reinstall an older version of Waveforms and it works flawlessly. Checking the latest version in other computers, it fails too. Best regards Albert
  9. Hi, and thanks for the support so far. After a lot of experimenting and reading the help, I'd like to understand the "envelope" of possible triggered, repeated, logged acquisitions, which can run unattended for days or weeks. We need to leave a system in an inaccessible location and log at least 4 analog channels with at least 100 KHz sample rate, for a time of at least 100 usec after the trigger occurs for each triggered event. We believe these events have a time frame of 5 or so 60 Hz cycles, so that's 85 msec post-trigger and we'd like a cycle or two (16 or 32 msec) of pre-trigger. These events are rare and not on a predictable timetable. So we are rather searching for a needle in a haystack and we hope to find evidence it exists. Here I am talking about Scope function (Logger's sample rate of 100 msec is too slow for this case) and there are still many details I don't claim to understand. But since I need to make a report of what is possible with AD2, here goes. Record mode can capture much longer numbers of samples Device manager determines what is possible (e.g. Patterns) but some things seem ignored (e.g. Scope samples) Sample rate, number of samples, and pre-trigger samples are set with the "Config" button with the green diode-like symbol. This is intuitive with a % of total acquisition setting for trigger location. Zooming and scrolling in the display window does not change what you set with the Config button so subsequent captures use the same config. Actual sample rate and length is limited by USB connection speed to the host PC. On a 1.7 GHz dual core Linux with 16 GB RAM and SSD, it seems to be limited to 200 KHz sample rate. At 100 KHz we can capture up to 10 M samples, for a 100 second acquisition Acquisition in "record" mode can only be started with a button click and cannot be triggered by normal scope triggers even though those settings are still present on the GUI. Pressing Record is the only way to start capture and that immediately captures one acquisition. It can't wait for trigger conditions to be met. An acquisition can be saved using the logging settings if set for "each triggered acquisition", even though it really wasn't 'triggered'. Also "each acquisition" works. In record mode, if Device Manager is set to allow it, Patterns can work to use Scope Detector to make an external trigger output on a DIO pin, and this will trigger on the stated conditions but only *after* the Scope Record button is clicked. And I also have to remember to separately click the Pattern Run button or its output won't generate This can only record a single event and you have to click on the Scope Record button to start the acquisition. So Record mode won't work for us. In "repeated" mode, the scope will use the trigger settings Device Manager determines how many samples can be captured: 8K or 16K are the highest options of the 6 available and those seem to be the only ones possible. so it can wait until trigger conditions occur, then capture each time the trigger conditions are met. Sample length is a max of 16384 samples Settings - Options can make one of the trigger pins "Scope" which generates a single rising edge trigger per acquisition, to trigger other AD2s or other logging devices Sample rate and pre-trigger are confusing in repeated mode. It appears they can be set in the Time dialogs, also number of samples, pre-trigger (the "position" setting), but this interacts with the scope display screen: zooming and panning changes your intended settings. There seems to be no way to lock them like on a traditional desktop DSO. It's nothing like Config in Record mode. The display has 10 divisions so if I want to trigger at 2 divisions I'm better off to drag the white triangle on the top of the scope display to 2 divisions from the left. In repeated mode, Trigger takes place at time 0 and pretrigger time is negative. So for 16K samples at 100 KHz, that is about 16 msec/div. Trigger two divisions from left makes the leftmost time -32 msec and Time "Position" 48 msec, which doesn't make any sense to me. Time Base is 16 msec/div as expected. Don't dare zoom in the scope display or the time settings will also change, changing the next triggered acquisition! If you do this by accident its a tedious, multi-click process to get back to the settings you intended. At 100 KHz 16384 samples is 168 msec, long enough for us, we hope. At 8K samples we'd have to drop to 50 KHz samples Clicking Run button means scope will wait for trigger satisfied, then log both channels to PC memory, auto-incrementing the file name File name can include day hour min sec which is handy. Be careful entering this information or Waveforms will crash. I'll post a bug elsewhere. Full timestamp and setting values are included in the .csv log file You specify how many acquisitions to save, at which point logging halts. 1,000,000 is the largest number I could set. Saving workspace sometimes causes a ghost progress window which can be cleared with another save. So Repeated mode will work for us, with the limits of 16K @ 100 KHz samples Each 2-channel 16K log file is about 984 KBytes. As each 16K sample file is a bit under 1 MByte, you get 1000 log files per GB. Summary: For unattended, auto trigger and acquisition of multiple events, and logging to a computer file, "repeated" mode is the only option. We can log two analog channels per AD2, plus digital inputs if we wish. External trigger output: one rising edge per triggered acquisition. Trigger goes low at end of acquisition. Trigger other AD2s or external equipment. Samples per acquisition are 16K or 8K Logging can occur up to the maximum value you set (up to 1 M acquisitions), or the PC runs out of disk space, at about 1 MByte per 16K acquisition.
  10. I am having an issue generating back to back analog input single-shot acquisitions using the AD2 with Python scripting. Modified the AnalogIn_Trigger.py example script sample as the basis. This script has a comment that acquisition is started automatically after the done state which is causing the AD2 to trigger twice instead of doing a single-shot. Tried several things to configure for single-shot mode but not having any success. What commands are required to configure the device for single acquisition mode?
  11. To have a better FFT resolution we want to reduce the sample rate to around 1Msps either in AD2 or Openscope, can we replace the main clock or have other option to accomplish it? Thanks
  12. Hi, I just added a function generator amplifier to my AD2, and i recognized the following: - When everything is hooked up (function gen + 21W lamp for testing) and i start waveforms, it seems that the output of the AD2 goes unwanted high. (There is some current drawn from the power supply at the same time) - The same thing happens: -when you click in the close window button on the top rigth corner when the window pops up that asks you to save the current workspace. but in this case the current drops much slower. (as seen on the power supply) Waveforms Version 3.8.2 64-bit Windows 10
  13. Hi All I used AD2 with a Digilent Impedance Add-on board, and absent-mindedly pulled it off while it was still on and active! The result is that, although the impedance measuring process works ok, and I can use the wavegen 1/2 on the scope 1/2 with jumpers externally, it won't trigger internally now. A curious thing is that in Static DIO, the pins react with a flickering when I run my fingers along the pins. Looking at the CCT, it seems I could have damaged the internal digital 3.3V supply, IC30 AD2503, which just seems to be for the diode protection ccts of the dio's. What to do do now? I Re-installed Waveforms, reset calibration...
  14. New here in these forums. I have an Analog Discovery 2 for a few months now ... Cheers
  15. Hi all, I am working on SPI transceiver with AD2 in master mode. I am using python sample codes provided. transmitting is working fine but in receiving i am able to get the signals on wire but not to the variable in python rgwRX = (c_uint16*1)() while True: dwf.FDwfDigitalSpiSelect(hdwf, c_int(4), c_int(0)) dwf.FDwfDigitalSpiRead16(hdwf, c_int(2), c_int(24),rgwRX, c_int(len(rgwRX))) dwf.FDwfDigitalSpiSelect(hdwf, c_int(4), c_int(1)) print rgwRX[0] I am getting only '0's corresponding signal while receiving tapped on CRO is attached and it is proper but when i try it using Waveforms software it works but i see same signal on wire
  16. Hello there, I am a new user to the AD2 scene. What I am trying to do is create a parallel wire capacitor that will alternate the charge on the wires at a freq of 200kHz, at a voltage of 2V across the capacitor wires (in this case the wires are the male connectors) My first question is if I use the wavefunction generator as a sine wave, does the ground need to be placed on the adjacent wire to create my capacitor? What I mean is that if the W1 channel is pushing 2V to the W1 wire, is that in relation to the ground wire? Or, do I need to set up a second wavefunction generator to simultaneously be 180 out of phase, and push -2V to the W2 wire, and have that be the wire adjacent to W1 in my wire capacitor to create the E field between the two wire capacitors? I suspected that I would need a wavefunction generator for each of the wires in my system, so this leads me to the next question. If I need to create two sets of alternating parallel wire capacitors, then I will need 4 wavefunction generators at 200kHz, and thus will need atleast two AD2 devices that can trigger one another. I read the tutorial on using an external push button act as the trigger device. Could I buy a external push button that I could link to both devices? If so, could someone show me which one? Secondly, my other question is that if there is a way to use a keyboard button to be your external trigger? Thank you so much for your help!
  17. Hi everyone, I´ve been using AD2 for a while and I know the limitations about ground and the issues related to using the BNC adapter board. Today I´ve made a big mistake, I haven't paid attention so some details and now my AD2 is dead. I was working with my AD2 connected and a micro controller programmer connected to the same USB hub, developing some firmware changes in a device that I was scoping. I was interesting in evaluating the current consumption using a shunt resistor in a power supply used to power the device in test. Unfortunately I put the shunt in the 24V path, not on ground path... I was working fine with only the AD2 connected to the shunt and evaluating the results. The AD2 was with the BNC board and I´ve attached the Ground to one of the legs of the shunt (near 24 volts). In a determined moment I decided to update the firmware to eval-uate a new behavior and connected the programmer to the device! So I attached the programmer to the device! Everything stopped for a moment. Apparently, the programmer when was connected short circuited the AD2 ground, which was the USB ground already attached to the ~24V power supply, with the ground of power supply. Apparently some loop was closed by the USB hub. The USB hub is dead, and the AD2 has some problems connecting to others USBs, I´ve not been able to make it run, and the led does not turn on. I´ve assumed that the the USB chip on AD2 is dead, and maybe some other chips on the board. There is any procedure that I can do, or hardware troubleshoot so I can try to recover the device? Debug if the power supplies are working? Full schematics or so on? My goal is to fix this! I want to evaluate if there is any component sensitive to reverse voltage that has any chance to be damaged too. I´ve got another AD2 here (damaged) in our company, so this would be of a big help to know how to debug and try to solve this. Hope there is some way!
  18. I encountered a peculiar issue when using AWG2 of the Analog Discovery 2. Physical connections were as follows: 1+ to W2 1- to GND When AWG2 is set to generate a sine wave voltage <= 1.00V, the output seems to be a clipped version of a voltage referenced to +5V (USB +ve rail). At any voltage above that (>1.001), the output is fine. I'm using Waveforms 3.8.2 on a 64bit Win10 PC. I've attached a screen capture:
  19. I have two iMac (Late 2009) running MacOS 10.13.4 and 10.13.5. I purchased a AD2, but WaveForm 3.8.2 cannot detect my AD2 in both iMacs. I confirmed it works fine in a Windows PC or VM machine (Parallel Deskop) on my iMac. Attache image is the Device Manager window of Waveform after dismissing "No device detected" dialog. It shows my AD2's serial number but I cannot select it. I read several posts in the forum and try - Restart after installing the driver. - Connect external DC5V. but no change. I'm looking for a help.
  20. In researching simple circuits for low resistance measurements I cam across the attached design Low ohm Measurements.pdf It seems elegant and well suited to enhancing the AD2 and would be a simple add on board Several resistors and an op amp, as shown but may need a digital voltage level shifter if that AD2 output is to0 limited. However the software requirements are beyond my limits. Can it be done in scripting or would it need a new instrument in Waveforms ? I will share a build with anyone willing to help Might be something for Digilent to look at ?
  21. Hello, is it possible to sweep both channels of the Waveform Generator (W1 and W2) where W2 = - W1 (synchronized) and choose W1 for the transmission line relative to Channel2. I need this for the Bode plot of an op amp circuitry with a differential Input stage. Many thanks in advance, Nurseda
  22. Hi, I recently wrote a program that runs on the AD2 to close the loop on a system I am controlling. My problem now is that I will have a person unfamiliar with coding using this. I was wondering if there were options for creating a simple GUI to control inputs into my script. Like polling from a slidebar the frequency of a sine wave, I use in the script or test windows. I am particularly looking at the StaticIO but it seems to be limited to only the digital I/O pins. If it is not available thru Waveforms Beta will the SDK be able to do something like this? Are there any previous posts (i could not find any) or examples you might have on this? Thanks, Ryne
  23. I have a need for small resistance measurement and would prefer to stay with AD2 . A simple circuit addition with just a few components, BNC adapters and Kelvin clips seems simple enough .Controlled current source at approximately 100 MA and 4 point measurement The LM317 can be replaced by alternate devices , designs are common . Calibration and display in ohm unit could be done in the logger function with measurement of the actual controlled output current . It would be nice if the voltmeter function had the capability to adjust the units displayed and capability to do the required basic math . Can anyone validate this approach as compatible with the AD2?
  24. I believe it would be useful to have the same data field description editing and basic math functions that are available in the logger implemented in the voltmeter function. Scripting wouldn't be needed Frequently a voltage is representative of some other physical quantity being measured and there is a simple scale factor that needs to be applied mathematically. All that may be needed at some times is just a single manual measurement . Particularly during setup and calibration. A single value displayed in the engineering unit being investigated is what is desired . I don't see in the logger the ability to do that, minimum samples is 10 , minimum update i 1 s and data must be read off graph ( even in single mode )
  25. Hello, So I am trying to write a script that will be taking advantage of both output and both inputs to the AD2 as well as take select information and send it out to two (for now) serial lines. I have written a script to control everything I need minus the actual setup of the UART settings, sending the data over the Tx line and receiving over the Rx line. Are there any examples of how to send the data over script as opposed to using the built-in GUI of Waveforms? Thanks, Ryne