-
Posts
6,956 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Posts posted by attila
-
-
Hi @Jonathan MB
Internally in Digital (Logic Analyzer) the decoded data is stored as bit sequence and the Format options (Decimal/Unsigned, Two's Complement, Hex...) are only applied for display.
The Scope/Math channel takes the raw decoded data which is unsigned... I'll try to solve this problem.Thank you for the feedback.
-
Do you want to generate 100MHz rectangular signal, with 5ns low and 5ns high ?
The AD3 system frequency is adjustable up to 125MHz. With this it could generate pulse up to 62.5MHz
As you can see in the earlier screenshots the rise/fall time are ~20ns so a 20 MHz square wave would be more like a sine wave than a square wave.
(The red square wave in the second screenshot was the digital loopback capture of AWG/DAC data, but the analog output is always slower, attenuated...)See 5,10,20,25MHz square waves
-
To reduce ringing enable output resistance on the signal generator or use termination on both sides. This should reduce ringing but also soften slopes.
-
-
Szia @Gergö
I don't know what kind of pulses you want to generate and how to measure the SND on this.
Here is a 50ns pulse, captured with the AD3's scope, then with 2GHz 500MHz device with 10X probe then 50R termination:
-
Hi @QTang
Each DIO can generate custom pattern up to device buffer size (up 32ki) even at different rates.
The Play mode with DigitalDiscovery reads samples (1,2,3,4,8,16 bit) from deep DDR-RAM (up to 256MiB), so these are output at the same rate for the given number of DIOs. This can be used for finite or infinite run (with pattern repeat). -
Hi @hemalarora
See the following example: AnalogIn_Devices.py
I tested it with 2 AD3s but it should also work with ADP3X50, just the trigger delay compensation (- 10/hzRate) may need to be adjusted.
It can done also with manual trigger, but using the default none trigger the capture starts immediately on software call.
-
Hi @attila,
I wanted to reach out for some help with the waveforms SDK. Any help would be much much appreciated!
I have two ADP3450s and all 8 analog input channels on them are being used to record signal measurements. I want the two ADP3450s to trigger and start recording simultaneously with manual input from my laptop. My problem is I'm unable to decipher the meanings of the different functions like FDwfDeviceTriggerSet, FDwfAnalogInTriggerSourceSet etc. How do I implement this in python?
What I want to do is use one of the ADP3450s to receive the trigsrcPC signal and then use one of its trigger pins (connected to the second device) to send that trigger signal to the other ADP3450 such that both can start recording simultaneously. I'm unsure of how to set up the trigsrcPC correctly on the first device, how to set up the trigger pin as an output for sending the signal to the second device, how to correctly configure the signal to be sent between the devices, and then how to correctly receive that transmitted signal as the trigger on the second device.
Thank you so much in advance!
-
Hi @diodo93
As the name should suggest the "DigitalDiscovery_RecordToFile.py" is an example for the Digital Discovery and not Analog Discovery.
See the DigitalIn_Acquisition.py DigitalIn_Trigger.py ... examples -
Hi @Alexa
Are the jumpers behind the Scope BNC connectors in DC position?
For such measurements you should also set the jumpers behind the AWG BNCs to 0R -
Use the second device configuration for 2x 32768 oscilloscope sample device buffer.
If one channel is enabled will let you capture up to 65536 samples.
For more samples at lower rate (<=10MS/s) use streaming mode, see AnalogIn_Record.py .... AnalogOutIn_PlayRecord.py examples -
/Library/Frameworks/dwf.framework/dwf
-
-
-
It could be a powering issue, the USB supply voltage drops and the device gets reset.
Try using powered hub or 5VDC auxiliary power for the AD3.By the way, you can set a parameter to continue running on close, so the device will continue to generate the output after device close and app exit.
...
dwf.FDwfParamSet(DwfParamOnClose, 0) # 0 = rundwf.FDwfDeviceOpen
dwf.FDwfDeviceOpen...
...
dwf.FDwfDigitalOutConfigure...
dwf.FDwfDeviceCloseAll()
exit -
Hi @AdamN
The FDwfDigitalI2CRead/Write expects address in 8bit format, like it is in the examples:
# 8bit address
dwf.FDwfDigitalI2cWrite(hdwf, c_int(0x1D<<1), rgTX, c_int(16), byref(iNak)) # write 16 bytes
-
Hi @fleanme
Yes, it is possible.
The device implements logic analyzer and pattern generator. The protocols (UART,SPI,I2C...) use generator device resource to send and analyzer to receive data, so one protocol/setup can be used at a time. The SPI signals can be assigned to any DIO. When switching between the used IOs make sure not to cause glitch on the output with: pull-up from device or external, or configure the DIO properly using digital/static-io functions.
The Digital Discovery beside 16 DIOs also has 24 DIN lines which can be used only for logic analyzer, high speed capture, deep memory and DIO voltage adjustment.
If you need analog signals you may also consider the Analog Discovery 3 which has 16 DIOs, 2 oscilloscope, 2 AWG, +/- supplies, but less memory and fixed 3.3V DIOs -
Hi @constantina
https://www.google.com/search?q=inductor+resonant+frequency
A coil is not an ideal inductor. It can be modeled with series resistance and parallel capacitance, or with additional components if you want to be more precise. As the frequency increases, the impedance of the inductor increases and the impedance of the capacitor decreases. The crossing point is the self resonant frequency. The inductance should be measured at lower frequencies, before this point. Like here 1mH with 1k reference around 100kHz, between 20k and 200kHz. If you want to measure it at lower frequency use lower reference resistor value. -
Hi @br3
You can use file io, serial port, named pipe, tcp to interface Script with other applications, devices... execute/call external apps.
The application has arguments to load and run scripts, or use the eval function to execute script in script. -
Hi @Jurek
The commands are not 'replaced' just executed in sequence.
For easier testing of sequence of commands you can use the Custom tab.
Are you taking the DAC out of reset ?
-
Hi @br3
Try updating the software, 3.20 is quite old.
JTAG interpreter is only available in the WaveForms app. It could be implemented with custom application like the SPI is in DigitalIn_Spi_Spy.py -
Hi @AlejoAl07
It is normal.
To reduce the captured noise: use twisted wire 1+/1-, W1/GND or BNC cable and make sure you have good ground connection, no ground loops, no nearby radiation sources. -
Hi @br3
Which software version are you using ?
The JTAG TDO data can be accessed with Logic.Channels.JTAG.DO.events or using the Protocol/JTAG -
Hi @warpigs330
Such measurements you can find in the Spectrum and Network Analyzer interfaces.
Users working with such testing have said that sound cards, audio ADCs/DACs are not the best for such measurements, as they have limited bandwidth and no flatness. This why they use Analog Discovery.
How do I automatically start a scope run upon startup with Waveforms and Analog Discovery 2?
in Test and Measurement
Posted
Hi @Rumi_The_Isotope
The following should work:
waveforms myworkspace.dwf3work -runscript