Piotr Rzeszut

  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Piotr Rzeszut

  1. Hi, Windows 7x64 Waveforms 3.8.22 (beta) Analog Discovery 2 / Digital Discovery Issue: inverting polarity in Protocol has no transfer to Logic analyzer window Steps to reproduce: Run Protocol Select UART Polarity: Inverted Click Logic Analyzer In Logic UART is set to be decoded with Standard polarity Suggestion: UART data should be also available with HEX formatting or other non-ASCII formats. Also an option to break line after N chars received would be nice Kind Regards
  2. Piotr Rzeszut

    Waveforms 3.8.22 UART Protocol/Logic bug + suggestions

    @attila As always: Thank you very much Another suggestion: In scope we do have Average and Oversampling options. None is followed by maximum value, then decreasing to reach 1 (which is equivalent to none). Ex. for Oversampling, we have options arranged like this: None, 16, 8, 4, 2, 1 In my opinion better order would be to place None value next to minimal (and maybe replacing value of 1 by "1 (none)", so it will be: 16, 8, 4, 2, 1, None or 16, 8, 4, 2, 1 (none).
  3. Piotr Rzeszut

    Analog discovery 2 waveform generator

    No it cannot. You may use a mini computer like Orange pi.
  4. Piotr Rzeszut

    Waveforms CAN bus

    You have to connect a CAN transceiver to the AD2 to provide a physical layer.
  5. Piotr Rzeszut

    Analog Discovery 2 as surface scanner (X,Y out; Ch1,2 in)

    Hi, @remalytics It can be definitely done by preparing custom software using Python, LabVIEW, etc...
  6. Piotr Rzeszut

    Analog Discovery 2 Protocol Decoding Add ON Request

    @attila, @Astro-Smart I am referring to Protocol window, where I can see ASCII representation of data. I am not sure if this representation will be visible in Protocol window only when it is selected in Logic, or permanently. If it is visible only when selected in Logic I think it would be ok, but permanently displaying ASCII in Protocol window may be confusing in some general use cases.
  7. Piotr Rzeszut

    Analog Discovery 2 Protocol Decoding Add ON Request

    Hi, @attila Would user be able to disable such decoding in Protocol mode? Sometimes such decoding is usefull, sometimes - it is not. Kind regards and thank's for a great job. PR
  8. Piotr Rzeszut

    Oscilloscope IOs with the BNC adapter connected

    These pins are disconnected from pin header in order to minimise parasitic parameters, I suppose. The only way to use BNC and 2.54 connector would be to solder some wires, but being aware that negative terminals of the scope are hardwired to GND. On the breadboard adapter all signals are routed to connectors. And you can use breadboard adapter with BNC adapter but with analog signals provided and probed using BNC cables/oscilloscope probes
  9. Piotr Rzeszut

    Analog Discovery 2 Protocol Decoding Add ON Request

    That would be suitable. I wonder if decoding some control characters would also be useful (like CR, LF).
  10. Piotr Rzeszut

    Analog Discovery 2 Protocol Decoding Add ON Request

    I also think that ascii representation would be nice as sometimes text data are being transmitted using other protocols.
  11. Piotr Rzeszut

    WaveForms Protocol UART issue

    Hi, I have noticed an issue in WF 3.8.8 (beta) x64 Windows To reproduce: Run WF (device already plugged in - in my case DD) Run Protocol Enter a text in TX window (see attached image) Click send The Send button remains presses Click send again Change the text Click Send button Old text appears again ad. 3. ad. 5. ad. 6. ad. 9.
  12. Piotr Rzeszut

    WaveForms Protocol UART issue

    Thank you for your answer!
  13. Piotr Rzeszut

    Analog Discovery 2 interfacing CAN

    TX and RX channels are defined in Protocol -> CAN Window: Functions for setting Rx and Tx channels are described in SDK Reference Manual: Also, in my opinion, you have to use a proper CAN transceiver for TX, as the transceiver is not only a level shifter, but realizes differential interface. Maybe you can monitor without a ttransceiver, if I/O threshold would be sufficient to voltage levels on one of CAN lines.
  14. Piotr Rzeszut

    Impedance Analyzer Internal Compensation

    Yes. First you should measure your resistance with a precise multimeter and enter it in Compensation window. Then open compensation is without load, and short is with shorted DUT terminals. Please be aware, that compensation should be repeated when you change frequency range, frequency step, etc.
  15. Piotr Rzeszut

    Impedance Analyzer Internal Compensation

    Yes, I meant these options.
  16. Piotr Rzeszut

    Impedance Analyzer Internal Compensation

    Have you performed calibration (open, short, ...)? Additionally such small capacitance can be a parasitic capacitance of cables, AD2 connector etc.
  17. Hi. I think that programming may be implemented quite easily using the WaveForms SDK (and for example a python script). In my opinion debugging would be harder to achieve, because it would require integration with existing debugging drivers.
  18. Piotr Rzeszut

    Software won't recognize AD2

    And also are you using USB cable provided with the AD2?
  19. Piotr Rzeszut

    Auto-calibrate for Analog Discovery 2?

    @gasstationwithoutpumps It has ben just released as a beta:
  20. Piotr Rzeszut

    Analog Discovery 2 vs NI myDAQ

    Hi, NI myDAQ has an input sample rate of 200 kSPS and bandwidth of 400kHz, where AD2 has 100MSPS and 30MHz+ (with adapter) => point for AD2 NI myDAQ has maximum input voltage +-10V, where AD2 has +-25V => point for AD2 NI myDAQ has an output sample rate of 200 kSPS, where AD2 has 100MSPS => point for AD2 NI myDAQ has maximum output voltage of +-10V, where AD2 has +-5V => point for NI myDAQ NI myDAQ has a built-in multimeter (so it is able to measure in addition to voltage, also resistance, current, diode voltage without any additional adapters) AD2 requires separate adapters for such measurements => point for NI myDAQ NI myDAQ has fixed +-15V supplies (32 mA) and +5V (100mA), where AD2 has 0...5V and 0...-5V voltage outputs (700mA max with external power supply) => point for ??? Ni myDAQ has 8 digital IO, where AD2 has 16 of them. Also AD2 IOs can be controlled much faster than ones in myDAQ => point for AD2 This is a fast comparison of a key features. Full documentation of each device are available here: https://reference.digilentinc.com/reference/instrumentation/analog-discovery-2/reference-manual http://www.ni.com/pdf/manuals/373061f.pdf Summing up all above (in my opinion): AD2 is a better choice for debugging fast analog and analog/digital circuits. A software adds a great value by allowing various measurements and tools without any need of programming. Also an interface for python scripting allows designing own applications. There is also LabVIEW interface provided. You can always see all these functions in interactive demo - just download recent Waveforms software. https://reference.digilentinc.com/reference/software/waveforms/waveforms-3/start NI myDAQ offers much slower I/O and less digital channels. At the other hand it can be used as off-the-shelf multimeter`. It also includes basic software and interface for LabVIEW, but lacks for example interface control (I2C, SPI, ...). http://www.ni.com/tutorial/11431/en/ Also AD2 can be purchased in reduced price for academic use. This is of course my private opinion on these devices - you have to decide which one to buy by analyzing use cases.
  21. Piotr Rzeszut

    Show both channels scale

    It looks great! Will there be a switch between new and old mode? Or per-channel option hide/show channel scale? The option may be a thing for users of smaller screens.
  22. Hi, Using python script I want to constantly collect digital data form 6 lines (so 8 lines would be sampled) with a rate of 1MSPS, with transfer to the PC. I have read: And I am not sure if I should use record mode with data compression or scan screen mode. I suppose record mode would be best, but I don't know how to set unlimited number of samples for digital record (there is no function FDwfAnalogInRecordLengthSet for Digital inputs), as the only method to set number of samples is calling dwf.FDwfDigitalInTriggerPositionSet and dwf.FDwfDigitalInTriggerPrefillSet... At the other hand, will scan screen mode allow the sample rate of 1MSPS to be transmitted to PC? I would be grateful for any suggestions @attila. I have searched through the forum but only found mentioned discussion and some materials related to analog acquisition....
  23. Piotr Rzeszut

    Python digital continuous record (AD2/DD)

    Hi @attila, Thank you for your answer. In my next attempts I have removed aligning of the data, and achieved the same using following settings: # number of samples after trigger dwf.FDwfDigitalInTriggerPositionSet(hdwf, c_int(0)) # number of samples before trigger dwf.FDwfDigitalInTriggerPrefillSet(hdwf, c_int(1)) It would be nice to include information what effect have setting one of these parameters to 0 or -1 in the documentation. The explanation of the glitches is very clear, as we are running devices with separate clock domains without any synchronization stages - it turned out to be very nice demonstration of the effect
  24. Hi, I want to make an enumeration, with filtering only Digital Discovery devices. Official documentation (pdf file) says nothing about enumfilter values. In files with constants only three values are listed: #ENUMFILTER enumfilterAll = c_int(0) enumfilterEExplorer = c_int(1) enumfilterDiscovery = c_int(2) I have figured out filter for AD2 devices to be 4, but i am not able to find any filter for DD. Also I have noticed that some SDK documentation is missing or very limited.
  25. Piotr Rzeszut

    Acquiring data until an event occurs

    Well, first of all, as You set trigger to normal, only data before (around) the trigger will be saved. Second question is how fast acquisition do you need? You can always write a python script, as I am doing now. Maybe @attila will give you soon more complete answer