-
Posts
6,589 -
Joined
-
Last visited
Reputation Activity
-
attila got a reaction from JeromeBoateng in multiple Digital Discovery logic analyzers via Python
Hi @JeromeBoateng
See the WF SDK/ samples/ py/ DigitalIn_Trigger.py or other similar examples and the pdf manual.
Remove or set to zero option to have DIN0... order:
dwf.FDwfDigitalInInputOrderSet(hdwf, c_int(0))
Set sampling format to 32 bit and use c_uint samples:
dwf.FDwfDigitalInSampleFormatSet(hdwf, c_int(32))
To trigger on any rising edge on DIN0-19:
dwf.FDwfDigitalInTriggerSet(hdwf, c_int(0), c_int(0), c_int(0xFFFFF), c_int(0))
-
attila reacted to LarsB in List view for bus data (or any protocol)?
Oh yes, I didn't notice that all data is shown if I leave the entry field blank. Perfect! And the bidirectional navigation will be really helpful, thanks!
-
attila reacted to Kurt Blum in Creation of Bode plots with an external generator
Thanks for your informantion
Kurt
-
-
attila got a reaction from pablo_gatearray in Configure ADP5250 as single channel
Hi @pablo_gatearray
For WF v3.18.29 or newer disabling of one of the channels will allow 1GHz, for earlier versions use the second configuration under Settings/ Device Manager.
-
attila reacted to Icarus in How should I interpret the returned value for FDwfDigitalInAcquisitionModeInfo(hdwf)?
Got it. Thank you for the info. And thank you for responding so quickly!
-
attila got a reaction from latot in Analog Discovery 2, Waveform Generator Resistance
Hi @latot
There should be one ground, the external circuit/device GND should be the same as the AD2 GND and this is connected to the computer via the USB cable.
The Wavegen output is protected for shorting it the ground, to the other Wavegen or to the device's +/-5V supplies.
I've just measured the short to ground current of +55mA and -45mA, with slightly higher peak (~65mA) until the PTC kicks in.
-
attila got a reaction from AlexanderGDean in AD2: Switching Digital Inputs Induce Noise on Analog Inputs
Hi @AlexanderGDean
This crosstalk could between the wires which act as antennas.
This could be highly reduced by shielded cables but twisted wires also help a lot.
Twist the positive and negative scope inputs together and for single ended usage connect the negative to the ground near the test point; twist each of the used digital, trigger, wavegen and supply wire with ground.
-
attila got a reaction from Paul45011 in Multiple signal triggers
Hi @Paul45011
Such trigger sequencing is not supported but it could be done with software validation.
With a setup and Script like this:
Logic.run(); while(Logic.wait()){// exit on Stop var data = Logic.Channels.Bus.data; if(data[data.length-1] != 0){ // last sample not zero print("last Bus sample not zero"); break; } }
or with conditional export:
if(Index > Maximum) return; var data = Logic.Channels.Bus.data; if(data[data.length-1] == 0) return; // do not save Logic.Export("~/Desktop/logic/acq"+Index+".png"); Logic.Export("~/Desktop/logic/acq"+Index+".csv", "Raw Data"); Index++;
-
attila got a reaction from Tamires in Divergent sample count for digital and analog acquisition using python SDK – Analog Discovery 2
Hi @Tamires
The analog-in-record should work at up to 1-2MHz and digital-in-record around 2MHz but it depends on the system.
The sync rate is specified by the external clock rate.
See the earlier post:
-
attila reacted to latot in Analog Discovery 2 is affected by the notebook that we use
awww, there is no contact or resistance, like is not connected u.u
Put a ground connector in the note and my hand helps to reduce the interference.
-
attila got a reaction from bremenpl in IO logic implementation using Analog Discovery 2
Hi @bremenpl
The state option is available in newer software version:
-
attila reacted to Olivier Gombert in Silent install WaveForms
Thanks a lot Attila, all is fine.
Olivier
-
attila reacted to Paul45011 in 1.8V signal inputs
Thanks @attila, all working now. Turned out the FPGA only outputs signals when a particular register is set properly (doh!). After I confirmed the DD was working properly (using your test setup above), is was easy to backtrack to why there was no data coming in.
Thanks
-
attila reacted to mturner in ADP3540 - slow acquisition rate
Success!
What you said about the trigger made me second guess how patterns was triggering the scope. I probed that clock signal with channel 2 and it's collecting the data smoothly
We were using these settings before, with patterns selected as the trigger in the scope
In any case, we're up and running again, thanks for the support
-Mike
-
attila got a reaction from Paul45011 in 1.8V signal inputs
Hi @Paul45011
The input logic threshold can be adjusted in the Supplies tool.
You could test it by connecting DIO to DIN line, generate signal with Pattern Generator on DIO and capture it with Logic Analyzer on DIN line.
-
attila got a reaction from johannsi99 in Really weird oscilloscope results when using Discovery Board with Python
Hi @johannsi99
The record streams data over USB which limits the sample rate to about 1-2MHz.
Use the default (single) acquisition mode to capture up to device buffer (8-16Ki) samples at up to maximum sample rate (100MHz).
-
attila got a reaction from Toberius in [Solved] Impedance Analyzer not in device manager list on Waveforms
Hi @Toberius
Not the IA Adapter but the Analog Discovery device is listed in the Device Manager.
The Adapter can be selected in the Impedance Analyzer as Order option:
https://digilent.com/reference/add-ons/impedance-analyzer/getting-started-guide#settings
-
-
attila got a reaction from Psoas in New Analog Discovery 2, PLL not Locked
Hi @Psoas
The IC20 switch limits the initial USB power consumption. Bypassing it will exceed the initial/unconfigured USB spec of 100mA (~50mA with IC20 and ~220mA with bypass) but I'm unaware of any host using such limitation so the device should work normally with the bypass.
https://digilent.com/reference/test-and-measurement/analog-discovery-2/hardware-design-guide#analog_supplies_control
http://www.analog.com/en/switchesmultiplexers/analog-switches/adp197/products/product.html
-
attila reacted to adsaba in DptiIo Failed ERC: 2 ou:8 in:8
Sorry for the late response. I tried linux and windows, and it was a same result. I also tried programming and using 5V power supply, that didn't work.
I will contact support.digilent at ni.com.
Thank you so much,
Adonay
-
attila got a reaction from Tamires in Configure device buffer sizes using the Python API - Analog Discovery 2
Hi @Tamires
Use the following shown in some examples:
# 2nd configuration for Analog Discovery with 16k analog-in buffer
#dwf.FDwfDeviceConfigOpen(c_int(-1), c_int(1), byref(hdwf))
-
-
-
attila reacted to maling in How does the WaveForms App achieve 32k-length funcCustom wavegen?
That's helpful :)