Search the Community

Showing results for tags 'ad2'.

  • 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 Attila, A year ago exactly (I really coincidentally just decided to send you this exactly 1 year from when it was posted ... go figure!!!) you posted the following: Posted September 30, 2019 Hi @iDetect Soon you may find devices at Digilent better suited for your needs. I'm planning to add support for lower latency captures with Analog Discovery, but it will take some time to implement it. Thank you for your post. Such feedback/requests direct the soft/hardware developments. Wondering if there is any news in this 'lower latency' realm? I have an appli
  2. Hi all hope you are all doing well. I need to use the SDK and measure all this measurements but apparently there are no functions to calculate for example AC RMS values to call. do i need to come up with my formula or is there any function that can return all the following values ? thank you.
  3. Hi I am new with AD2 and love using is so far. I need to create a measurement script to measure the time between minimum and max values. rise time function does not work correctly for my application for some reason. thank you in advance. thanks
  4. Hello, I see in the specs that the max buffer size is over 16k points, but it seems that I can only get 8192 samples from this code. "FDwfAnalogInBufferSizeInfo" returns 8192. How can I get the 16k samples? I would like to get 16k samples for each ADC channel. I am using the Analog Discovery 2. Thanks! int main(int carg, char **szarg) { HDWF hdwf; STS sts; double* rgdSamples; int cSamples; int cChannel; char szError[512] = { 0 }; int channum = 0; cout << "hello world!"; remove("ADC_results.txt"); print
  5. I am using the AD2 on LabVIEW with dwf.dll. I am using the I2C interface on DIO bits 0 and 1 and the positive power supply. I have configured everything based on the python example code. When I set the power supply and write the I2C data, several other DIO bits go high even though they are not configured in this program. I have auto configuration enabled. I can do the same thing in WaveForms and it works fine. Any suggestions would be appreciated. Thank you
  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 have troubles using the trigger functions in the SDK to align the recording of a signal with the pattern generator (DigitalOut Instrument on AD2). What I want to do is essentially, using the SDK in a python script is: - I record a signal from the AWG on the AD2 I am sending through an analog circuit using two multiplexers. - I control the multiplexers with the digitalOut instrument on the AD2. - I want to align the starting point of the digitalOut-pattern and the starting point of the AnalogIn acquisition (record-mode, int16 data) As far as I understand from th
  8. I am trying to get my Analog Discovery 2 to work with NI LabVIEW 2019. I've searched around and most of the info I see calls for LabVIEW 2014, so it is not clear to me if it does or does not. I have installed the AD2 Toolkit and the Digilent WaveForms VIs. My problem is what is the "Device Name" that need to be entered? I see the AD2 with the WaveForm 3.13.10 x64 using Windows 10 and full LabVIEW 2019 x32. Thanks for shedding any light on the situation. JoeD
  9. I've been trying to learn how to use the AD2 Logic Analyser. I got it to work with Serial.println("Hello world!"). I've learned that the Base: selection is critical to capturing the data. If you get it wrong, you get Framing Errors and the wrong characters. Now I am trying to use the Logic Analyser with an Arduino Uno running a clock/date ino that displays on a 16x2 LCD. I do not have the LCD connected, but when I wrote the program it was and it worked perfectly. I have also tried an ino that displays Hello World on the top line of the LCD. My connection is described below. I h
  10. I just purchased the Analog Discovery 2 and ran through the calibration procedure with no problems. My question is the calibration adjustment reside in the the AD2 or as a file on the computer I ran the calibration on? If it is stored within the AD2 than that should allow me to move it to another computer or must I recal it if I plug it in to another computer. Thanks for any calcification. JoeD
  11. Hi Allita My Analog Discovery AD2 crashes waveforms when I plug in a external +5V psu. My PSU has cable has the deminsions 5V DC voltage supply with at least 3A max current, Outer diameter 5.5 mm and inner pin 2.1mm diameter positive inner pin = 5v Outer case =0 V DC plug connected up as shown the in above photo. This solutions complies to the hand book rules here https://reference.digilentinc.com/reference/instrumentation/analog-discovery-2/reference-manual Normally my Analog Discovery AD2 when just powered by the USB cable works fine without any is
  12. 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
  13. Hi Digilent AD2 Team, I have a simple question, for which I don't find an quick answer. I want to measure the waveform of a the mains voltage 11VAC using the oscilloscope of the AD2. What is the best way, to achieve this? Thanks for your help and with best greetings, Lars
  14. 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
  15. 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?
  16. Hi Guys, I'm new to the AD2 & Waveforms, and in the need of some help. I'm trying to import a csv file into a custom wavegen and then output it. Here is my code: if(!('Wavegen1' in this)||!('Scope1' in this))throw"Please open a Scope and a Wavegen instrument"; var filename = "/Users/PaulBritten/Documents/AFWorkMain/AFWork/Waveform/single_qrst_improved_twave_1khz.csv"; var file = File(filename); print("exists? " + file.exists()); var arr = file.readArray(); print(arr); Wavegen1.Channel1.Mode.text = "Custom"; Wavegen1.Channel1.Custom.Type.set("MyWave", arr); Wavegen1.C
  17. 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 Keepin
  18. 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
  19. 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 H
  20. 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
  21. 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 does
  22. 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!
  23. 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
  24. 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
  25. 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 ev