Technical Forum Moderator
  • Content Count

  • Joined

  • Last visited

  • Days Won


attila last won the day on May 30

attila had the most liked content!

About attila

  • Rank
    Prolific Poster

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

5698 profile views
  1. 1. In Wavegen, select Auto Synchronized to make sure the output period is 1ms/1kHz otherwise it might generate 1.000000001 kHz signal 2. select to Trigger on Patterns 3. un-check repeat trigger, to synchronized only once on start 4. start Wavegen 5. start Patterns
  2. We got the following question: I am trying to synchronize a 1kHz sinewave to a 1kHz pattern of random bits so that the bit transition occurs at 0 degrees on the sinewave. I have set the wavegen so that it is synchronized with the pattern trigger’s rising edge but still the two are not properly synchronized. Could you please suggest what settings would enable me to achieve the desired result?
  3. Hi @akeener The .customz is used as a mask. Bits of ones make the output high impedance Z, where it is zero the bit of .custom is used to drive low/high, 0/1 Here for instance the last .customz sample is 2 which makes bus[1] Z and the last .custom is 1 makes bus[0] 1, and the other bus[3-2] will be 0.
  4. Hi @jamesbraza Yes, you are right. The application, the IA measures the DUT relative to a reference resistor, using the Scope Channel 1 vs 2 inputs. From this it can calculate the voltage/current. Taking in consideration the scope probe impedance and open/short compensation can calculate further values: impedance Z/Rs/Xs (Rp/Xp rarely used); admittance Y/Gp/Bp (Gs/Bs rarely used); series or parallel equivalent inductance or capacitance... See the following documents: 1.6 Equivalent circuit models of components, page 13 :
  5. Hi @user2051 The Digital-Out (Patterns) can be trigger by a digital line, through the Digital-In (Logic Analyzer) trigger detector like this: dwf.FDwfDigitalInTriggerSet(hdwf, c_int(0), c_int(0), c_int(1<<7), c_int(0)) # DIN7 rising edge dwf.FDwfDigitalOutTriggerSourceSet(hdwf, c_ubyte(3)) # trigsrcDetectorDigitalIn See the related posts: You might be interested in the ROM logic feature too:
  6. Hi @JeffKlaas Here you have the SPI Spy example for Digital Discovery: The FDwfDigitalInInputOrderSet with 1 will align Digital-In bits like [DIO 24-39 DIN 0:15], with 0 you will get [DIN 0:24 DIO 24:31] The 32bit sampling and DwfDigitalInSampleModeNoise is required for Digital Discovery Digital-In Sync mode.
  7. Hi @JeffKlaas See page 114 of the SDK manual and the example. # set digital voltage between 1.2 and 3.3V dwf.FDwfAnalogIOChannelNodeSet(hdwf, c_int(0), c_int(0), c_double(1.8))
  8. Hey, I just got my AD2 and it's not outputting any voltage.  It says it's connected just isn't outputting any voltage (I checked with a multimeter). Any idea why it isn't working?



  9. Hi @michaelvv It can be done like in t he following example: >python DWF Version: b'3.11.8' Opening first device Generating AM sine wave... Press Ctrl+C to stop DC:0.002V DCRMS:0.048V ACRMS:0.048V DC:0.502V DCRMS:1.140V ACRMS:1.024V DC:0.501V DCRMS:1.040V ACRMS:0.912V DC:0.502V DCRMS:0.916V ACRMS:0.767V DC:0.501V DCRMS:0.801V ACRMS:0.625V
  10. Hi @m72 The preview will represent such corner cases correctly in the next software release. Thank you for the observation.
  11. Yes, you need one stimulus signal.
  12. Hi @michaelvv According the Scope screenshot the Channel 2 is working, only the polarity is inverted relative to Channel 1. Make sure you have the scope input polarity 1/2 +/- connected correctly. In the Network Analyzer it looks like Channel 2 is connected to a different signal or you have very effective bandpass filter at 1kHz. The setup for such measurement should look like this: Wavegen = W1; Scope 1 = 1+; Scope 2 = 2+; 1- and 2- GND Could you post a photo or sketch about the wiring and test setup?
  13. Hi @JamieJ Yes, AD2 43pF/1.04M The AWG output of the AD/AD2 has theoretically zero impedance. The signal source quality/impedance is not important since the measurements in the Network Analyzer by default use the difference between Scope inputs 1 and 2. The Impedance Analyzer fine tunes the above relative measurements taking in account the scope probe impedance as well the optional open/short compensations.
  14. Hi @akeener You could parse the text binary represented numbers like this: var rgsz = String(FileRead("~/Desktop/default.csv")).split("\n") // split by separator var rg = [] // integer array rgsz.forEach(function(el){ el = el.substring(1) // to remove prefix like: B0101 var v = parseInt(el,2) // binary text number to integer if(!isNaN(v)){ rg.push(v) } }) print(rg)