Jump to content
Fourth of July -- Digilent US offices closed ×

attila

Technical Forum Moderator
  • Posts

    6,662
  • Joined

  • Last visited

Everything posted by attila

  1. Hi @lucasj Could you test it with another computer ? If it is still not working, for warranty and replacement contact support.digilent@ni.com, specifying the Date of Purchase, Seller and Purchase Order/ Web order Number. To prevent further problems, could you describe the test setup ? How was the device/circuit under test supplied ? Did it had the same ground connection as the AD2 and computer, ground wired from circuit to AD2 ? Independently supplied device can have different ground voltage levels, like due to faulty earth connection, or connecting external power supply rail to AD2 ground which is connected to computer over USB can damage the devices.
  2. Hi @Effedipi The I2C master (with clock stretching) and slave mode can work up to 2.5MHz but this requires stronger pullups. Without clock stretching option it can theoretically work up to 25MHz but this may not respect the timings. This mode simply generates the pattern without waiting on SCL to go high or handshake.
  3. Hi @scootergarrett If you have problem accessing the device after Linux update, reinstall digilent.adept.runtime to make sure the udev rules are properly set. This is needed for Analog Discovery 1,2,3 and Digital Discovery.
  4. Hi @Effedipi Yes, the Patter Generator and Logic Analyzer can work in parallel in the device, using common and/or DIO DIN lines. The Protocol uses the Pattern Generator for transmission/write (driving the DIO lines) and the Logic Analyzer device resources for reception. With the "Logic Analyzer" option the reception is disable, the Logic Analyzer can be used to interpret the transfer/reception and to verify signal timings.
  5. Hi @Christian Lindenblatt It could. This could indicate a grounding problem. The AD2 ground is connected to the PC over USB cable. When working with multiple device make sure these use the same earth connection, like supply these from the same socket. For protection (and noise filtering from PC) an USB isolator can be used.
  6. Hi @Hamza Oncuer It is possible with custom project, using EclypseZ7 as development board, but not with WaveForms. I don't think it should bother you that only half of the samples are actually used. WF provides min/max pairs but you can capture up to 256Mi samples or 'unlimited' at lower rate (<20Msps) using streaming/recording. The WF app limits the captures to 200M samples / channel.
  7. Hi @TanTAH Based on your needs, any T&M tool seems appropriate. The Network Analyzer can use the device's AWG channels as excitation sine wave (Wavegen C1, C2 or Differential) or rely on external excitation (or custom configured AWG). The Ref selects the reference oscilloscope channel for phase measurement. With "Relative to Ref" the other channels measurements are reported to this channel. For external source the Ref channel measurement is also used for frequency step identification.
  8. Hi @Analog The application/script runs on the host/computer and not in the device. The WaveForms application Script tool can be used to automate tasks.
  9. Hi @Ergest The AWG -3dB BW is 9-12MHz https://digilent.com/reference/test-and-measurement/analog-discovery-2/hardware-design-guide#awg_spectral_characteristics Have you tried the Play in WaveForms application Wavegen ? Please provide more information so I can help you, like the file samples, script, workspace...
  10. Hi @Analog What do you mean "output of code" ? A device can be controlled by one application at a time. It is not possible to connect to the same device at the same with WF app and Python script. The Wavegen preview is not available in API. This is just an informative preview. To see the actual output of the AWG wire it to Scope input, control the output with analog-out and capture using analog-in functions, as it is done in the examples.
  11. Hi @Ergest The WF app uses the same API but I was referring that it is easier to control the device with the app, adjust parameters... In the first (default) configuration of AD2 the AWG has 4Ki and in the 3rd 16Ki samples of device buffer allocated. For lower sample rates (<1MHz) you can also use the Play/streaming mode for 'unlimited' length. See Play in WF app/Wavegen and example Python scripts: AnalogOut_Play.py AnalogOutIn_PlayRecord.py AnalogOutIn_PlayRecordStereo.py AnalogOutIn_RecordPlay.py
  12. Hi @aanaRichard The next software version 3.21.17 (probably next week) will log more time stamps "to File". Thank you for the observation.
  13. HI @Analog If you want to capture the output of the device use the analog/digital-in functions, see AnalogInOut_Trigger.py AnalogIn_Trigger.py AnalogOut_Sweep.py DigitalIn_Acquisition.py ... which control the output and also perform capture on the inputs.
  14. Hi @Ergest I would recommend to use the WaveForms application where it easier to setup such tests. The 3rd device configuration for AD2 provides more buffer for the AWG.
  15. Hi @SSassen The schematic/layout is not public but here you can find troubleshooting info:
  16. Hi @SSassen Is the device listed in Windows Device Manager, under USB group as "USB Serial Converter" ? or with lsusb if you are using Linux Have you tried in WaveForms Device Manager the "My device is not listed" option ? What does the "Find Devices" report ? (The LED in AD1,2 is activated only after software connection so this is not helpful in troubleshooting.) If not under warranty, you can find troubleshooting and repair instructions here:
  17. Hi @kirgro 1. No. The FPGA in the device is relatively small for such purpose. 2. The EclypseZ7 in first place is a development board. With custom project and hardware acceleration it could perform measurements much faster. This requires Zynq/FPGA development knowledge. The WF support for EclypseZ7 provides similar features as for AD3, with some extras like: deep buffer (256Mi samples), device buffering (0.5us capture latency). These features are also available for ADP3X50.
  18. Hi @kirgro The latest version software version lets you adjust the number of samples also for the impedance analyzer functions and the data processing is improved. In earlier versions (now only by default) it used up to 32ki samples, limited by the device buffer size, like with AD3 1st configuration 16ki samples/channel. The period option only specifies the minimum number periods. The ADC sample rate set to about: samples x frequency / period, limited to maximum supported by the device (like 100MHz or 125MHz). This basically applies to lower signals frequencies. At high signal frequencies the ADC rate is at maximum so it will capture more periods. So, earlier (by default) for 330kHz it captured 16ki samples at 100MHz, a span of 163.84us or ~54 periods. 1,2. With AD2,3 and low number of samples (like 128 samples * 16bit * 2 channels = 512Bytes or up to about 8 times this which fits in one usb microframe) I've measured above 3000 captures / second, see AnalogIn_Wps.py example. Now the impedance analyzer function can reach similar rate. Note that the number of samples influences the measurement accuracy ! It depends on your requirements, but usually at least 8 periods should be captured, like 4096 samples for 330kHz signal, ~13 periods. See the newly added AnalogImpedance_Average.py, which sets FDwfAnalogInBufferSizeSet to 1024 samples: 3. The data processing is performed on the computer, in the dwf library.
  19. Hi @diligent1 Yes, see the WF SDK manual and Python examples.
  20. Hi @nott1999 To overcome the problem, in case of error you could try to reconnect to the device (close and open), but this would interrupt (need to restart/resume) the recording.
  21. Hi @Hamza Oncuer You can use a script like this: if(Index > Maximum) return; var data = Scope.Channel1.data; var c = data.length; var dmax = []; for(var i = 0; i < c; i+=2){ dmax.push(max(data[i], data[i+1])); } FileWrite("~/Desktop/scope/acq"+Index+".txt", dmax); Index++;
  22. Hi @xchg.ca See the Peak hold option in Spectrum Analyzer Trace and Scope FFT view.
  23. Hi @timnrp Try to use an external pull-up. The inter pull-up on PB2 may be activated only after programming. During and before this the very low (~1M) pull-down from AD2 DIOs may hold the signal low.
  24. Hi @Mavitaka The GPS satellites use atomic clocks which are extremely precise and these also take in account the time dilation. I don't know how accurately does the receiver forward the signal but probably it is still more precise than any device using crystal oscillator.
×
×
  • Create New...