Jump to content

attila

Technical Forum Moderator
  • Posts

    6,956
  • Joined

  • Last visited

Reputation Activity

  1. Like
    attila got a reaction from Nicolas Deup in SDK to measure time between 2 edge events on 2 different channels   
    Hi @Nicolas Deup
    You could use Logging/Custom

  2. Like
    attila reacted to jfdo in Impedance Measurement   
    Thank you.
  3. Like
    attila got a reaction from Nicolas Deup in SDK to measure time between 2 edge events on 2 different channels   
    Hi @Nicolas Deup
    You could use a global custom measurement like this to be very precise:
    const thr = Scope.Trigger.Level.value; var ch1 = Scope.Channel1; var ch2 = Scope.Channel2; var data1 = ch1.visibledata; var data2 = ch2.visibledata; var cnt = data1.length; var i1 = 0; for(; i1 < cnt; i1++){ if(data1[i1]>thr) continue; i1 = i1-(data1[i1]-thr)/(data1[i1]-data1[i1-1]); break; } var i2 = 0; for(; i2 < cnt; i2++){ if(data2[i2]>thr) continue; i2 = i2-(data2[i2]-thr)/(data2[i2]-data2[i2-1]); break; } (i2-i1)/Scope.Time.Rate.real;
     
    Other similar posts with digital data.
     
  4. Like
    attila got a reaction from leonvs in Digital Discovery not recognized by beta 3.19.16 and upward   
    Hi @leonvs
    Thank you for the observation.
    It is fixed in 3.19.23
     
  5. Like
    attila reacted to jfdo in Calculation of the average value of a waveform   
    Thank you very much for the answer and screen shots!
  6. Like
    attila reacted to JAlaj in Import .csv file for Digilent in LabVIEW   
    Thank You,
    Got it working now
    Regards
    Jalaj
  7. Like
    attila got a reaction from artvvb in SDK to measure time between 2 edge events on 2 different channels   
    Hi @Nicolas Deup
    You could use a global custom measurement like this to be very precise:
    const thr = Scope.Trigger.Level.value; var ch1 = Scope.Channel1; var ch2 = Scope.Channel2; var data1 = ch1.visibledata; var data2 = ch2.visibledata; var cnt = data1.length; var i1 = 0; for(; i1 < cnt; i1++){ if(data1[i1]>thr) continue; i1 = i1-(data1[i1]-thr)/(data1[i1]-data1[i1-1]); break; } var i2 = 0; for(; i2 < cnt; i2++){ if(data2[i2]>thr) continue; i2 = i2-(data2[i2]-thr)/(data2[i2]-data2[i2-1]); break; } (i2-i1)/Scope.Time.Rate.real;
     
    Other similar posts with digital data.
     
  8. Like
    attila reacted to Kam in Digital Discovery and SPI MOSI/MISO acquisition   
    That did the trick! Perfect 😁
    Data: b00000001, b00010100, b00010011, b10010000,
    ~Kam
  9. Like
    attila got a reaction from JAlaj in Import .csv file for Digilent in LabVIEW   
    Hi @JAlaj
    For custom pattern up to 32Ki sample, first add signal or bus in Pattern Generator then Edit, select Custom and Import.
    For Play/Record use File/Import in Logic Analyzer.


  10. Like
    attila got a reaction from Philipp in Waveforms SDK run pulse once after waiting for 2 seconds   
    Hi @Philipp
    FDwfDigitalOutRepetitionSet(hdwf, dio, 2*nRepeat) low-high repeat, so 2X period
    FDwfDigitalOutDividerInitSet(hdwf, dio, cDelay) count in system frequency periods
  11. Like
    attila got a reaction from artvvb in Digital Discovery Synchronous Rate Limited to 100MHz   
    Hi @JimR2 @artvvb
    The sync mode implementation can capture up to one sample per system clock, default 100MHz.
  12. Like
    attila got a reaction from cephy in The original analog discovery problem with WF 3.19.19 (windows 10, 64 bit)   
    Hi @cephy
    Known:
    -in Scope under time Options uncheck "Acquire Noise" otherwise it will give an error !
  13. Like
    attila got a reaction from xchg.ca in Looking help how to setup WFs for THD measurement of 315Hz in the range of voltages   
    Hi @xchg.ca
    Please uncheck the "acquire noise".
    Sorry for this issue, but the application is in the middle of implementing few new things and this seems to be broken.

     
  14. Like
    attila got a reaction from xchg.ca in Looking help how to setup WFs for THD measurement of 315Hz in the range of voltages   
    Hi @xchg.ca
    It many be related to the newer driver installation method.
    Did you get any error/warning during installation?
    The FTDI driver should also be installed automatically from Windows Update or you can install it from:
    https://ftdichip.com/wp-content/uploads/2021/08/CDM212364_Setup.zip
    https://ftdichip.com/drivers/d2xx-drivers/
     
  15. Like
    attila got a reaction from xchg.ca in Looking help how to setup WFs for THD measurement of 315Hz in the range of voltages   
    Hi @xchg.ca
    I've added support for this in the latest version:
    Edit: return 0.044 + 1.333 * Step / ( Steps - 1 )

  16. Like
    attila reacted to anne in Multiple curves on XY plot   
    Thanks @attila that's just what I wanted.
  17. Like
    attila reacted to David Aurora in Any way to export multiple file types at once?   
    Man, you always deliver the goods! Thanks so much!
  18. Like
    attila got a reaction from anne in Multiple curves on XY plot   
    Hi @anne
    Combined XY plots are available in WF v3.18.16 and newer.
    https://digilent.com/reference/software/waveforms/waveforms-3/start
    https://forum.digilent.com/topic/8908-waveforms-beta-download/
    Select X2 other than OFF, Y2 option will appear.

  19. Like
    attila got a reaction from s4fq7 in WF 3.19.18 Eclypse Z7   
    https://forum.digilent.com/topic/8908-waveforms-beta-download/
    WaveForms 3.19.18 brings for Eclypse Z7 Zmods the following:
    - deep capture for Scope (Zmod Scope and Digitizer) 256Mi and Logic Analyzer 128Mi samples, all up to 125MHz
    - IIR filter channels performed in the device
    - the Wavegen channels can be controlled from the Scope interface and digital outputs captured
    - the Scope inputs (raw ADC, averaged or filtered) can be output to the Wavegen channels, as signal or as amplitude, frequency, phase modulation or summing
    - DIO 14/15 can be used as trigger IOs
    Limitations:
    - when more than 4 capture channels are enabled the max sampling rate is 62.5MHz
    - the IIR filter is optimized for high speed with lower resolution and due to this in certain conditions it can saturate, like with narrow band or high sample rate/frequency ratio
    The QSPI firmware is updated automatically, for SD card boot mode and initial QSPI programming see the Help tab/ Eclypse Z7
     
    AWG1 -> Scope1 -> Scope3 (Scope1 IIR)
    AWG2 -> Scope2 -> Scope4 (Scope2 IIR)

     
    AWG1 -> Scope1 -> Scope3 (Scope1 IIR) -> AWG2 -> Scope2
    AWG1 -> Scope5 output
    AWG2 -> Scope6 output

  20. Like
    attila reacted to tnt_terri in Device Malfunction?   
    Thank you so much @attila, I appreciate the diagnosis help even though it didn’t end up working out! I will be in touch with customer service shortly!
  21. Like
    attila got a reaction from bryan78 in Script for SPI   
    Hi @bryan78
    Protocol.Debug.value = 0/1

  22. Like
    attila reacted to StephenC in Digital Discovery - Cables supplied?   
    Hi,
    I'm a long time (over 10 years) very happy Analog Discovery user. I just took delivery of a Digital Discovery. A fabulous instrument, but I seem to have only one of the cables for the I/O function (the smaller connectors). Is this a packing error, or is only one supplied? I hope it's the former, as it would be disappointing to need to buy another cable.
    Thanks for reading.
  23. Like
    attila reacted to fredvachelard in Digital discovery drawings   
    Thanks, looks perfect :)
     
  24. Like
    attila reacted to jasm in ADP3250 won't power up   
    Something must be up with the power supply. I haven't been able to measure it yet because I left my multimeter in the office on accident, but the scope powered up with 19V from my benchtop power supply.
    Thanks so much for the quick answers! I'm incredibly relieved it's something so minor.
    Thanks,
    Jason
  25. Like
    attila reacted to David Aurora in Any way to export multiple file types at once?   
    Amazing, will try tomorrow! Thanks 🙂
×
×
  • Create New...