-
Posts
6,454 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Everything posted by attila
-
Realtime data consumption of a C++ program
attila replied to matt.casavecchia's question in Test and Measurement
Hi @matt.casavecchia The record performs streaming so each FDwfDigitalInStatus/Record/Data returns a chunk of data. This lets you record unlimited number of samples. For low amount of samples, up to device buffer size 4/16k, you can use the normal acquisition. -
24 bit format/bit rate and big fluctuation for Waveforms for Sound Card
attila replied to heretop's question in Test and Measurement
Hi @heretop I've added for the next software build 24bit format option but I don't think this will solve the problem you have. In the 32bit format the 24 effective bits should fit well. You could use the Time and FFT Views to investigate the signals like this: -
24 bit format/bit rate and big fluctuation for Waveforms for Sound Card
attila replied to heretop's question in Test and Measurement
Hi @heretop The fluctuations may be caused by the audio amplifier auto gain. Try disabling it if you have such option in the sound card configuration. Use the 32bit sampling since this fits the 24bits. The other options are just in case there is some compatibility issue. You could try using higher Settle time in Network Options, to see if this makes any improvement. The audio stream latency may vary from systems to system. See the related post: -
-
Waveforms scope averaging does not work for single acquisition?
attila replied to enelson's question in Test and Measurement
Hi @enelson I think you are referring to the noise band. Beside normal samples a smaller amount of noise (min/max) values are stored. This, to indicate glitches or higher frequency components that would be otherwise hidden by normal sampling. This can be disabled individually under each channel option (gear) or under Option dropdown. -
Realtime data consumption of a C++ program
attila replied to matt.casavecchia's question in Test and Measurement
Hi @matt.casavecchia You can use the Tool.exec or .start functions to launch an external application, see the Help in the app You can also use the WF SDK/API and for linking use -ldwf, see the manual and examples -
Workspace "forgets" custom channel scope measurements
attila replied to Rolf_K's question in Test and Measurement
Hi @Rolf_K It is fixed for the next build. Thank you for the observation. Edit: In the current software version when custom measurement is added the internal storage key is not updated, so this won't be saved properly. To overcome this perform a reordering (drag in row header) or add a defined measurement after adding custom(s). -
-
Hi @JuanCar You could use the Window trigger in Scope to detect enter or exit in range. For qualifier you could use some scripting in the Script tool or in the Scope/ View/ Logging/ Script.
-
Hi @mmachtey 1. The low/high warning are shown where the reference resistor and DUT impedance are different by magnitudes, so the result resolution/accuracy may be low. Try reducing the rms voltage value. 2,4. The Constant Voltage/Current implementations are similar to examples, see pic below. 3. The function is for the open/short compensation. https://forum.digilentinc.com/topic/21746-discovery-2-impedance-measurement-and-compensation-issues/?do=findComment&comment=62830
-
Installing an Analog Discovery 2 on a M1 Macbook Air.
attila replied to Albert Terheide's question in Test and Measurement
For the record, here is the same post with answers: -
Installing an Analog Discovery 2 on a M1 Macbook Air.
attila replied to Albert Terheide's question in Test and Measurement
Hi @Albert Terheide The emulated driver is working on Mac mini M1 so it should also work on Air M1. -
Installing an Analog Discovery 2 on a M1 Macbook Air.
attila replied to Albert Terheide's question in Test and Measurement
Hi @Albert Terheide I don't know how much power can this laptop provide. On earlier Air the USB A on one side was limited in power. The USB types/versions are (or should be) compatible. It should work with USB hub or direct connection, if you can find C to micro cable or adapter. If you get error on connection or during usage try powered hub or docking station. -
Installing an Analog Discovery 2 on a M1 Macbook Air.
attila replied to Albert Terheide's question in Test and Measurement
Hi @Albert Terheide Yes, it should work. You can try the WaveForms application in demo mode if you don't have AD2. At the moment WF app is working in emulated mode on M1. Apple provides Rosetta 2 to be compatible with applications compiled for Intel architecture. We've tested this on Mac mini M1 and had no complain about the performance. The low level driver and software for M1 architecture is ready but the high level libraries are not yet available for M1. Due to this external dependency I don't know when we have native M1 build but hope it will be soon. -
multi-user issue: failed to enumberate device
attila replied to BryanS's question in Test and Measurement
Hi @BryanS I've just tested enumeration and connecting sequentially to one device with different users, it is working under Ubuntu 16 but not with 20. @malexander Could you help in this? Edit: With second user getting ERC 3090 on DmgrEnumDevicesEx -
Discovery 2 Impedance Measurement and Compensation Issues
attila replied to Morgan MONROE's question in Test and Measurement
Hi @Morgan MONROE On the IA adapter the contacts are Scope1&2 like in the following setup. You can find the reference manual and schematic at: https://reference.digilentinc.com/add-ons/impedance-analyzer/start The compensation is Zdut = Zopen*(Zshort-Zmeas)/(Zmeas-Zopen) The open/short compensation may not remove the addition capacitance added by the chamber/wiring. You may try to adjust the ProbeCap under Option dropdown to have a flat response. This, with Auto option for AD2 w Adapter is 43pF. -
CAN FD protocol analyzer for Digital Discovery?
attila replied to nburkitt's question in Test and Measurement
Hi @nburkitt It is not yet supported. -
Signals aren't correctly positioned on the timebase when zoomed out
attila replied to duckythescientist's question in Test and Measurement
Hi @duckythescientist Thank you for the observation, it is fixed for the next build. -
Hi @dpalma Copy the dwfconstants.py next to your script. This file is in the WF SDK python examples folder.
-
Digital Discovery Trigger immediately in SDK with C
attila replied to rbt's question in Test and Measurement
Hi @rbt You can use the following: fs = c_uint64() dwf.FDwfDigitalIOStatus(hdwf) dwf.FDwfDigitalIOInputStatus(hdwf, byref(fs)) print("Digital IO Pins: ", bin(fs.value&0xFFFF)[2:].zfill(16)) print("Digital IN Pins: ", bin(fs.value>>16)[2:].zfill(24)) Digital IO Pins: 0000000000010010 Digital IN Pins: 000000000000000000000001 -
quasi-anechoic measurement for Analog Discovery 2
attila replied to RobbN's question in Test and Measurement
Hi @M Eckerson The sample rate can be positive integer divisions of the base frequency, which is 100MHz on Analog Discovery.- 11 replies
-
- stepped sine
- pulsed cw
-
(and 1 more)
Tagged with:
-
Analog Discovery 2 - Impedence Analyser Max Frequency Limitation
attila replied to kashyap's question in Test and Measurement
Hi @kashyap At 13MHz the reference signal (W1) drops 6dB, half of the amplitude which should be fine for such relative measurements.