Jump to content

attila

Technical Forum Moderator
  • Posts

    6,469
  • Joined

  • Last visited

Posts posted by attila

  1. Hi @UrekMazino

    Since the device works on a laptop but not on a computer, it's probably a cable/contact issue.
    Check Windows Device Manager under USB controllers group or Linux lsusb, to see if any device is detected 'Digilent Analog Discovery 3', FTDI, 'USB Serial Converter' or unknown device.

    Try using the original cable of the device or other cable you have. It is recommended to use C-C cable, eventually USB A-C, powered USB hub. It is not recommended to use front panel USB connectors of computers, since these may have poor contact and longer internal wiring, cable extenders, adapters, unpowered hubs.
    The dimly lit LED indicates power good, the device is receiving power. If it is not lit with auxiliary supply, probably it is not 5V DC, it is out of the expected 4.5V to 5.5V range. The LED is fully lit only on software connection.

    image.png

    image.png

  2. Hi @aaaaa

    Calling single will only start one measurement. The data immediately after this still represents the previous measurement. Wait should be used to leave time for the capture to finish.
    The wait function in earlier example sleeps the execution for the specified time.
    Here instrument.wait() hangs until the measurement is performed and you can control the measurement rate with Averaging option, so this will me more accurate.

    image.png

  3. Hi @brandonhill7

    The average and oversampling needs stable and repetitive trigger. The acquisition will stop if there are no more trigger events and the trigger is set to normal.

    To prevent the FFT phase alignment to be used, reduce the number of samples to have less than 8 periods, like for 158kHz signal ~4ki samples, or set the hidden option Scope.Trigger.Phase.text = "Xing" for alignment based on trigger crossing interpolation.

    image.png

  4. Hi @Mike4354

    Here the Logic Analyzer detector is set to trigger on DIO 24 falling edge and Pattern Generator outputs a 100ns low pulse on DIO 25 with 200ns (20 cycles @ 100MHz) + Wait time delay.

    image.png

     

    You could adjust the system frequency to change the delay, 250ns (20 @ 80MHz) +

    image.png

     

    With ROM logic the delay is lower, 80ns at 100MHz (DIO 26 is used as state bit)

    image.png

    image.png

     

    Reducing the ROM frequency will result in delay uncertainty, but delay could be achieved with further state bits.

     

  5. Hi @SpinWizard

    1. Adjust the format, channels and frequency according your hardware specs or requirements. The autodetection of this is not working due to the software abstraction layers.
    2. Higher voltage rating would require different protection, certification, costs.... 10x probe increases the voltage range but above 50V with 1x can damage the device.
    3. I'm not sure I understand what you are asking for. Do you need digital multimeter with USB and software support ?

  6. Hi @fr.bernardo

    You can change the CS in SPI/Custom, but make sure to have pullup on these keep the unused ones idle, or you can control from Script tool the SPI and StaticIO.
    You could also have common CS/CLK and separate MISO, supported only by SPI/Spy. In SPI/Custom separate calls are needed like with different CS, eventually calling ReadQuad for 4 sensors and unpacking the bits.

    image.png

  7. In Network Analyzer you can set Source: External and control the sweep from Wavegen or external equipment.
    The NA will look for peak in the spectrum and consider this the signal frequency. Under Options menu you can adjust the External Threshold, the minimum peak magnitude.
    Depending or number of Steps, set the sweep time to seconds or minutes, for wide logarithmic scales you can adjust the sweep frequencies manually. When all the step points are captured it will draw a line, until this only dots.

×
×
  • Create New...