-
Posts
6,668 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Posts posted by attila
-
-
You can use the Logic Analyzer (ASCII/HEX representation looks like this) or the Protocol / UART (for text only).
-
Hi @mkj
The ADP3450 includes embedded Linux and WaveForms SDK/API that can be used for custom application/script.
The same SDK can be run on host computer to control ADP, AD2... -
Hi @DIGI_USER2
Yes, it should work.
The oscilloscope inputs measure voltage. In case you are using low shunt resistor, with low voltage drop, an amplifier would be good to rise the voltage. The AD2 scope input ranges are 5V and 50V pk2pk. -
Hi @moha
It may have something to do with the Ethernet discovery functions.
In the newer beta version the network enumeration can be disabled.
https://forum.digilentinc.com/topic/8908-waveforms-beta-download/
Under options you could also disable the update check. -
Hi @MTA
Yes, with WF app Record 128MiS = 2^27 samples and 16bit resolution with 25/31.25MHz or below.
With custom app/script or the new "Record to File" option "unlimited". -
Hi @mkj
See the following posts:
-
Hi @Leo_W
That is an USB hub branching in 3: to Analog Discovery, external port A and canvas J13.
If you are not using the last 2 you could connect the USB directly to the AD. -
Hi @MTA
The next software version will have "Record to File" with binary, tdms, wav, csv, txt options.
-
-
Hi @mkj
Use Scope.Time.Base.value = 0.001 or Scope.Time.Base.text = "1ms"
See the Help tab, press F1, use Ctrl+Space for code completion.
-
Hi @alexconway
First, to see if the board is alive you could short it.
For more detail see the following post: -
Hi @e0ne199
I don't know what protocol do you want to implement.
The Protocol tool uses the Pattern generator and Logic analyzer device resources, the digital-out/in API. The library and application are written in C.
The java/python/.net solution may have lower performance. -
Hi @e0ne199
You could use the Pattern generator with custom signals and the Script tool or the SDK for custom application/script.
-
Hi @EdWall
Here the GND is highlighted with red and VIN_SC2_P with with contour.
The ground plane around C55 and R40 pads has low clearance. This has solder mask but could have been scratched during rework... -
Hi @LarsB
In demo mode only basic functions are simulated like the earlier simple capture but sync mode is not working, record may work.
-
Hi @CeeKay
Probably under Linux the USB transfer rate is lower or the latency is higher and this result in lower sustainable streaming rate.
Suggestions to improve the script:
1. I suppose you are using trigger position zero (default) (FDwfAnalogInTriggerPositionSet) or no trigger (also default when not configured at all).
This way the streaming will start only when triggered (or immediately), reducing the change of device buffer overflow.
2. Specify the required record length (FDwfAnalogInRecordLengthSet) 10-16k instead of constant 50k.
This way the recording will stop after the needed samples are collected, reducing the chance of overflow.
3. For AD2 you could try to use the 2nd device configuration with double analog-in (Scope) device buffer. Note this will reduce the analog-out (Wavegen) buffer size (resolution).
dwf.FDwfDeviceConfigOpen(c_int(-1), c_int(1), byref(hdwf))The improvements in the latest beta are for the ADP3X50.
-
Hi @jakey
You could use the Sync capture mode, see the post below:
The external clock function is available with Electronics Explorer but not with Digital Discovery. -
Hi @LarsB
You could use the Sync capture. In this mode the sampling condition is executed in the device.
You could also sample all signals (including clock) and decode it in the software using the Bus clock, delay, enable...
Regarding the MSB/LSB indices, by changing these you could decode to fractional numbers. -
Hi @CeeKay
Sorry but I thought this post is about ADP3450 :)
The "invalid data count provided" is when index + count is higher than the buffer size or negative.
See the AnalogIn_Record.py AnalogIn_Record_Trigger.py or the other examples.
How many samples are you capturing? are you using trigger? if so where is the trigger position?
Could you post or send me your record loop code?The device buffer overflow, like here at 5MHz, results is similar data corruption:
-
Hi @FrankS
The 1GHz oscilloscope may be an overkill for such task but you could do something like this with ADP5250.
We are planning on a voltage/current adapter for Analog Discovery but it will take some time to be available. -
Hi @MTA
For performance reasons the application limits the capture to 128MiS and the data can be exported to file.
For larger capture the example Python scripts can be used.
In the future I'll add record to file option for the application.In Standard boot mode (usb and ethernet device) the recording can go up to ~20MSps (4channel x 5MHz) since this uses the device DDRam as 128MS buffer.
In Linux device mode about 4MSps (4channel x 1MSps or 2 x 2MSps or 1 x 4MSps).
These rates depend on the computer. -
Hi @MTA
The mentioned limit is for the Logger tool in the WaveForms application.
For the ADP3X50 the maximum rate for 'unlimited' recording (Scope to PC) over USB or Ethernet is about 4MS/s.
In embedded Linux mode it can capture at much higher rate, depending on storage media (Ram, EMMC, USB...), CPU utilization...
In Standard boot mode it can capture 128MiS at up to 125MHz.
For details take a look at the WF app Help: -
Hi @CeeKay
Have you used USB or Ethernet connection?
Please try the latest WF beta version:
This brings some improvements for recording over Ethernet with Standard boot mode and further optimizations if less channels are used.
If this doesn't help try the Linux boot mode.
The Standard is a baremetal app with USB and Eth (LwIP). The Linux is a bit slower but it could provide better network support. -
Hi @kaamil1984
It can be done.
1. You can use the "Send & Receive" tab of UART.
2. To automate things you can use the Script tool.
3. WF SDK for custom app/scripts.
On 10/5/2021 at 10:45 AM, attila said:
what can be expected for the (nearer) future
in Test and Measurement
Posted
Hi @leonvs
The ADP3450 (also AD1, AD2) can use compression in Record capture.
In Standard boot mode will use up to 64MiS buffer. With compression half used for sample and other half for count.