Search the Community

Showing results for tags 'analog discovery 1'.



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

Calendars

  • Community Calendar

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

  1. Hello. I have been using the Analog Discovery 1 (legacy version) as a portable oscilloscope and function generator. I am using the Wavegen as a function generator to test an analog front end (AFE) which includes an integrated instrumentation amplifier and an ADC (http://www.ti.com/tool/ADS1293EVM). Trying to characterise the performance of the AFE, I used the Analog Discovery's function generator to generate sine waves of different amplitudes (between 1mV and 100 mV pk-pk) and frequencies (between 40 and 200 Hz, in steps of 40 Hz). The gain of the instrumentation amplifier is fixed at 3.5 and the bandwidth of the AFE is programmable (ranging between 170 Hz and 340 Hz). I find that the gain of the system varies with frequency and is either 1 or slightly higher/lower than 1, depending on input voltage and frequency. I did not include any load resistance in my measurement circuit since the internal impedance of the voltage generator was 0 (as mentioned in https://forum.digilentinc.com/topic/3203-analog-discovery-2-waveform-output-impedance/ and https://forum.digilentinc.com/topic/18292-impedance-for-analog-discover-2-itself/#comment-47859). I would like to know if it would be necessary to include any load resistance while using the AWG as input to an instrumentation amplifier. If this is not the reason, what could be the reason for this mismatch in gain/amplification factor? I have posted a query in the TI forum (link: https://e2e.ti.com/support/data-converters/f/73/t/898470). I have also attached the WaveForms workspace file I used. Thanks in advance for helping out with this. Best regards, Ganesh Load-resistance-test-2020-05-27.dwf3work
  2. Hello! Due to the Covid-19 crisis and inaccessibility to labs, I have been given an Analog Discovery kit (legacy version) by my university to use as a waveform generator and oscilloscope. While using the scope functionality, I find that when I connect the W1 and W2 terminals to scope channels I get a -6.3 mV offset (average) in CH1 and a -4.5 mV offset (average) in CH2 even when no waveforms has been generated by the Wavegen tab. When the scope channels are left floating or shorted, the offset voltage reduces to around +500 uV . I have attached screenshots of my Scope window for all three situations. I do not have a multimeter to calibrate the kit and I have also tried the solution mentioned in this forum post (https://forum.digilentinc.com/topic/15432-auto-calibrate-for-analog-discovery-2/) but it didn't seem to make a difference. Any help would be greatly appreciated. Thanks in advance!
  3. I've got a problem with using my AD1 board, WaveForms is not detecting it anymore and it seems to be a usual problem with micro usb connector. I've checked continuity between connector pins on the pcb and the usb cable end and there is no connection between black/red wires and sides pins, only green/white seems to be connected to middle pins. Hence next I will try to replace micro usb connector but I couldn't find the same as used on the board. Can anyone have BOM/ part number for the connector?Or can I use any connector like molex (part number 47590-0001)? thanks Robert
  4. I want to be able to output a .wav file. I can output a sine wave just fine from python, but I'm having trouble with this. I am loading the wav file. The array is populated. I've been looking for a funcPlay example, but I have not found any. I am able to import the file into waveforms and send it out using play. Thanks. import numpy as np import scipy.io.wavfile import matplotlib.pyplot as plt import ctypes import winsound from ctypes import * import time from dwfconstants import * import sys rate, data = scipy.io.wavfile.read('/Users/don/1.wav') plt.plot(data) plt.show() sin_data = np.sin(data) if sys.platform.startswith("win"): dwf = cdll.dwf elif sys.platform.startswith("darwin"): dwf = cdll.LoadLibrary("/Library/Frameworks/dwf.framework/dwf") else: dwf = cdll.LoadLibrary("libdwf.so") # declare ctype variables hdwf = c_int() channel = c_int(1) # print DWF version version = create_string_buffer(16) dwf.FDwfGetVersion(version) print("DWF Version: {}".format(version.value)) # open device print("Opening first device...") dwf.FDwfDeviceOpen(c_int(-1), byref(hdwf)) c_double_p = ctypes.POINTER(ctypes.c_double) data_p = data.ctypes.data_as(c_double_p) if hdwf.value == hdwfNone.value: print("failed to open device") quit() print("Generating audio...") print("Configure and start first analog out channel") print("Generating custom waveform...") dwf.FDwfAnalogOutNodeEnableSet(hdwf, channel, AnalogOutNodeCarrier, c_bool(True)) dwf.FDwfAnalogOutNodeFunctionSet(hdwf, channel, AnalogOutNodeCarrier, funcPlay) dwf.FDwfAnalogOutNodeDataSet(hdwf, channel, AnalogOutNodeCarrier, data_p, data.size) dwf.FDwfAnalogOutNodeFrequencySet(hdwf, channel, AnalogOutNodeCarrier, 44100) dwf.FDwfAnalogOutNodeAmplitudeSet(hdwf, channel, AnalogOutNodeCarrier, c_double(2)) dwf.FDwfAnalogOutConfigure(hdwf, channel, c_bool(True)) dataLost = c_int(0) dataFree = c_int(0) dataCorrupted = c_int(0) psts = c_int(0) dwf.FDwfAnalogOutNodePlayStatus(hdwf, channel, AnalogOutNodeCarrier, dataFree, dataLost, dataCorrupted) dwf.FDwfAnalogOutStatus(hdwf, channel, psts) print("psts: {}".format(psts)) print("dataLost: {}".format(dataLost)) print("dataFree: {}".format(dataFree)) print("dataCorrupted: {}".format(dataCorrupted)) while psts != DwfStateDone: dwf.FDwfAnalogOutNodePlayStatus(hdwf, channel, AnalogOutNodeCarrier, dataFree, dataLost, dataCorrupted) dwf.FDwfAnalogOutStatus(hdwf, channel, psts) dwf.FDwfAnalogOutNodePlayData(hdwf, channel, AnalogOutNodeCarrier, data_p, data.size) # if state == c_int(0): # print("state is 0") # dwf.FDwfAnalogOutNodePlayData(hdwf, channel, AnalogOutNodeCarrier, data_p, data.size) # print("Configure and start first analog out channel") # dwf.FDwfAnalogOutEnableSet(hdwf, c_int(0), c_int(1)) # print("1 = Sine wave") # dwf.FDwfAnalogOutFunctionSet(hdwf, c_int(0), c_int(1)) # dwf.FDwfAnalogOutFrequencySet(hdwf, c_int(0), c_double(3000)) # print("") # dwf.FDwfAnalogOutConfigure(hdwf, c_int(0), c_int(1)) time.sleep(10) print("done.") dwf.FDwfDeviceClose(hdwf)
  5. Hello, I'm using Analog Discovery creating arbitrary waveforms and measuring the analog channel with the data acquisition toolbox in matlab. Generating the waveform works really good, but while starting the measurement I get an offset. The attached picture shows the measurement for an open input. Does some else have these problems? In the waveform generator there will be also an offset, but it is smaller. Is there maybe an hardware defect? Thanks, Samuel
  6. Hi all. How to using discovery 1 with the labview or multisim? I don't find any document or video about this. What difference Discovery 1 and 2? This work is not possibble Discovery 1? Regards.
  7. I am trying to control the analog discovery 1 with MatLab commands for the project that i am on. We can control everything except the +-5v power supply. We need it to power an op-amp we have in the circuit. Does anyone know the MatLab command to turn on the Power Supply in the Analog Discovery?