-
Posts
6,469 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Posts posted by attila
-
-
Hi @JonD
Ok. Thank you for the request.
-
"Unknown USB Device (Device Descriptor Request Failed)" could be caused by USB contact problem. Try using different cables. If the problem persists the device is probably damaged. For warranty and replacement contact support.digilent@ni.com, specifying the Date of Purchase, Seller and Purchase Order/ Web order Number.
-
Hi @aaaaa
Calling single will only start one measurement. The data immediately after this still represents the previous measurement. Wait should be used to leave time for the capture to finish.
The wait function in earlier example sleeps the execution for the specified time.
Here instrument.wait() hangs until the measurement is performed and you can control the measurement rate with Averaging option, so this will me more accurate. -
Hi @Mike4354
All editable input fields in the application accept typing in custom values. The presets are just example/convenience values.
Run and wait have system clock resolution, 10ns at 100MHz, up to 2^43 cycles, maximum rounded in the interface to 24hr. This also limits the number of displayed digits. -
-
Hi @Chris B
1. Wavegen ±5V 50Ω 30mA DC
2. I can't find specs for these but here are the measurements on the device I have.
-
Hi @Chris B
This is some internal noise of the device.
I could only find one 50R terminator so I performed the captures separately for each channel.
The first screenshot is with a production device and the second with a prototype without shielding on scope inputs. -
-
-
Hi @bobql
Concatenate rgData1,2,3,4 and insert idle bit(s) between. Use custom pattern also for CS to activate/deactivate this, and for clock if this needs to stop in inactive state.
-
Hi @diego-
The oscilloscope inputs are only rated to 50V and the AWG outputs up to 5V. The IA adapter wires these with switchable reference resistors.
https://digilent.com/reference/test-and-measurement/analog-discovery-2/hardware-design-guide#scope_input_divider_and_gain_selection
https://digilent.com/reference/test-and-measurement/analog-discovery-2/hardware-design-guide#awg_out -
Hi @benclifford
If the DUTs have connection between them, or existence of ground/current loops, will mess up the measurements.
For interference reduction floating power, and for isolation battery powered laptop or USB isolator could be used. -
Hi @Mike4354
Currently the Pattern output delay from Logic Detector trigger is 200ns + the specified Wait time.
The next version, hopefully tomorrow, will allow any DIN/DIO to be used directly as trigger source, reducing the minimum delay to 120ns -
Hi @rjratnip
See the AnalogIn_FFT.py and AnalogIn_Spectrum.py examples, but you can also perform FFT in other libraries.
For single frequency point it would be more efficient to use Goertzel algorithm. -
The average and oversampling needs stable and repetitive trigger. The acquisition will stop if there are no more trigger events and the trigger is set to normal.
To prevent the FFT phase alignment to be used, reduce the number of samples to have less than 8 periods, like for 158kHz signal ~4ki samples, or set the hidden option Scope.Trigger.Phase.text = "Xing" for alignment based on trigger crossing interpolation.
-
Hi @Mike4354
Here the Logic Analyzer detector is set to trigger on DIO 24 falling edge and Pattern Generator outputs a 100ns low pulse on DIO 25 with 200ns (20 cycles @ 100MHz) + Wait time delay.
You could adjust the system frequency to change the delay, 250ns (20 @ 80MHz) +
With ROM logic the delay is lower, 80ns at 100MHz (DIO 26 is used as state bit)
Reducing the ROM frequency will result in delay uncertainty, but delay could be achieved with further state bits.
-
Hi @SpinWizard
1. Adjust the format, channels and frequency according your hardware specs or requirements. The autodetection of this is not working due to the software abstraction layers.
2. Higher voltage rating would require different protection, certification, costs.... 10x probe increases the voltage range but above 50V with 1x can damage the device.
3. I'm not sure I understand what you are asking for. Do you need digital multimeter with USB and software support ? -
Hi @fr.bernardo
You can change the CS in SPI/Custom, but make sure to have pullup on these keep the unused ones idle, or you can control from Script tool the SPI and StaticIO.
You could also have common CS/CLK and separate MISO, supported only by SPI/Spy. In SPI/Custom separate calls are needed like with different CS, eventually calling ReadQuad for 4 sensors and unpacking the bits. -
Hi @linc
With the 50 V range, the resolution decreases, so a larger hysteresis may be required to reject noise.
Use the easier to use acqmodeSingle. The record is only required for streaming for captures longer than the device's buffer size.
Use newer software version which provides simple capture up to 128M samples for ADP3X50 -
-
In Network Analyzer you can set Source: External and control the sweep from Wavegen or external equipment.
The NA will look for peak in the spectrum and consider this the signal frequency. Under Options menu you can adjust the External Threshold, the minimum peak magnitude.
Depending or number of Steps, set the sweep time to seconds or minutes, for wide logarithmic scales you can adjust the sweep frequencies manually. When all the step points are captured it will draw a line, until this only dots. -
This is currently not possible. Do you need a fixed offset between the two frequencies?
-
Hi @gcb
As you can see in the changelog, beta versions are frequent updates that add new features and fix bugs.
The release version comes out about twice a year, usually in sync with a product release, and is tested a bit more. These are useful in class so that everyone uses the version over the course of a semester. -
Hi @AlexMark6
You can use the Sweep mode or Amplitude Modulation or a custom waveform but this later one would be limited in resolution.
Analog Discovery 3 not being recognized by my computer
in Test and Measurement
Posted
Hi @UrekMazino
Since the device works on a laptop but not on a computer, it's probably a cable/contact issue.
Check Windows Device Manager under USB controllers group or Linux lsusb, to see if any device is detected 'Digilent Analog Discovery 3', FTDI, 'USB Serial Converter' or unknown device.
Try using the original cable of the device or other cable you have. It is recommended to use C-C cable, eventually USB A-C, powered USB hub. It is not recommended to use front panel USB connectors of computers, since these may have poor contact and longer internal wiring, cable extenders, adapters, unpowered hubs.
The dimly lit LED indicates power good, the device is receiving power. If it is not lit with auxiliary supply, probably it is not 5V DC, it is out of the expected 4.5V to 5.5V range. The LED is fully lit only on software connection.