Jump to content

attila

Technical Forum Moderator
  • Posts

    6,476
  • Joined

  • Last visited

Everything posted by attila

  1. Hi @ManonH In the latest version the rate limit is removed for sampling clock with delay between -180ns and +120ns @ 100MHz. Edit: Your setup should work even with 0ns delay.
  2. Hi @ManonH The problem is that the ADC has a delay of about 18 cycles, 180ns at 100MHz. When setting the Delay to 0ns internally it will take sample 180ns after the trigger to be in phase and this limits the sampling clock to about 5MHz. The solution is to set Delay to None, which sets -180ns, and delay the Trigger2 signal accordingly. Another solution would be using the Trigger2 as reference clock input (10-50MHz) for the device. The system frequency should be between 50-125MHz so low freq reference clock will be upscaled and triggered should be used to sync with the source.
  3. Hi @SHall Reference channels can be added as copy of another channel or imported from file in Scope, Spectrum, Network, Impedance Analyzer and Tracer instruments.
  4. Hi @adsaba What kind of machine and operating system are you using? Have you tried the device with other computers? You could try to reprogram the USB controller like it is shown here:
  5. Hi @bhayesoberst Use Record mode or the Protocol tool.
  6. Hi @adsaba Probably you are getting error due to insufficient power. Try using the original USB cable the device came with, other USB socket, powered USB hub or 5VDC supply.
  7. Hi @soak The TimeOfIndex() refers to the sample index position in the capture. The Time.taken for AD2 is software capture time and for ADP3,5 high precision software trigger time. For high refresh rate set no trigger, high sample rate and low number of samples. Use config() to apply the Wavegen changes immediately otherwise sometime during a wait() will be applied. Scope.run(); Wavegen.run(); var last_time = 0; var last_voltage; while(true){ if(!Scope.wait()) throw "Stopped"; var time = Scope.Time.taken; var voltage = Scope.Channel1.measure("Average"); if(last_time){ ... Wavegen.Channel1.Simple.Offset.value = err; Wavegen.Channel1.config(); } last_time = time; last_voltage = voltage; }
  8. The new sw version shows buffer size info in import and edit.
  9. Hi @emartine The measurements are performed in the WF app and not in the device. If you want to send these over SPI you can do it like this using the Script and Protocol tools. Here I used Logic Analyze to verify the SPI transmission.
  10. Hi @emartine The measurements in the WaveForms application are accessible from the Script tool. The newer WF beta adds FFT functions to SDK but not the measurements. - SDK: functions FDwfSpectrumWindow, FDwfSpectrumFFT; examples AnalogIn_Spectrum.py AnalogIn_FFT.py
  11. Hi @maling For AnalogDiscovery2 the custom waveform is stretch-fit to the available device buffer size, like loading 32Ki samples in 16Ki buffer only every 2nd sample will be used. There is no option to use both AWG buffers for one channel. In play mode the device buffer is used as fifo and samples are streamed through USB. Under WaveForms app Device Manager various configurations can be selected with different buffer size allocations.
  12. Hi @WojtekO For custom board you could use 3.3V relays so you don't have to boost to 5V.
  13. Hi @WojtekO To test this I've hooked the IA module to ADP3 with some wires. I let the relays driven by 3.3V which is much lower than the 3.75V relay spec but it is switching.
  14. Hi @A_Beta AD2 and ADP3 can capture up to 100/125MHz. The Scope can be used in mixed mode by adding Digital channels. The AD2 can record/stream up to around 1MHz. Depending on computer and available USB bandwidth. The ADP3 in standard can record up to 128MiS@500MBps, for 2 Scope and digital channels about ~40MHz rate, for 4+digital ~20MHz. The digital bandwidth usage with data compression depends on signal activity rate. As a last minute change, in the latest version the digital rate/samples adjustment is enabled for recording but it is still automatically set to analog values if these are changes. So adjust digital rate/samples under Options every time before starting a record and make sure it is not longer than the analog time. I'll try to optimize this in the next versions.
  15. Hi @YYY hzTry = c_double(99e6) dwf.FDwfAnalogIOChannelNodeSet(hdwf, c_int(0), c_int(6), hzTry) # FDwfAnalogIOConfigure(hdwf) if you are using dwf.FDwfDeviceAutoConfigureSet(hdwf, c_int(0)) hzDev = c_double() dwf.FDwfAnalogIOChannelNodeStatus(hdwf, c_int(0), c_int(6), byref(hz))
  16. Hi @PPanther The beta version containing this will be released tomorrow. I wanted to build it earlier but got distracted by other projects and wanted to finalize a new feature.
  17. Hi @Andrzej If you are looking for the board size, see the 3D models at the bottom of the page: https://digilent.com/reference/test-and-measurement/analog-discovery-2/start For troubleshooting: For fixing information with some layouts:
  18. Hi @PPanther The next version will have Script functions for SPI and CAN receive/spy. There are endless feature extension possibilities so these are prioritized and implemented on requests.
  19. Hi @PPanther Script receive function is not available for Protocol/CAN.
  20. Hi @johndah Is it safe to switch off the ADS while it is connected by USB to a powered PC? Yes Does the headphone jack have an audio amplifier? Can the headphone jack drive a 4-8 ohm speaker directly? Yes, see: https://digilent.com/reference/test-and-measurement/analog-discovery-2/hardware-design-guide#audio Is it safe to have an external audio amplifier powered on and connected to a powered off ADS? Yes, but the make sure the equipment has the same grounding as the ADS and computer since these will be connected via audio and USB cables. Is the USB A port a functional hub node? Is it safe to plug a USB FT232RL dongle on the hub while the ADS is powered on or off? Note that I don't intend to use the ADS as host. Yes, the USB is plug and play. I would like to replace the breadboard canvas breadboard with another one. Is it safe to remove the screws from the canvas? Yes, but while powered off to prevent accidental shorts on the pogo pins.
  21. Hi @WojtekO It will be in the next version. The AD IA Adapter could be hooked to ADP3X50 using the DIOs (4-7, 12-15), 2 Scope, 1 Wavegen channel and 5V from the USB connectors at the back. https://digilent.com/reference/_media/reference/instrumentation/analog_discovery_impedance_analyzer_sch.pdf To fine tune the setup use a pF capacitor, Ref 1M and adjust the Options/ ProbeCap to have a flat response.
×
×
  • Create New...