Giter Site home page Giter Site logo

Comments (6)

 avatar commented on August 19, 2024

Here's a clearer illustration.

tek00017

class TestDDSPhase(Experiment, AutoDB):
    class DBKeys:
        core = Device()
        dds_bus = Device()
        dds0 = Device()
        dds1 = Device()
        ttl0 = Device()
        ttl1 = Device()

    @kernel
    def run(self):
        self.dds0.set_phase_mode(PHASE_MODE_CONTINUOUS)
        self.dds1.set_phase_mode(PHASE_MODE_CONTINUOUS)
        for i in range(10):
            # force DDSs to be phase synchronized at outset of experiment
            # this is a temporary override of the default phase mode
            with self.dds_bus.batch:
                self.dds0.set(3*MHz, phase_mode=PHASE_MODE_ABSOLUTE, phase_offset=0)
                self.dds1.set(3*MHz, phase_mode=PHASE_MODE_ABSOLUTE, phase_offset=0)

            # emit experiment start pulse on TTL0
            self.ttl0.pulse(1*us)

            # demonstrate simple spin-echo type pulse sequence
            # self.dds0.set(3*MHz, phase_offset=0, phase_mode=PHASE_MODE_CONTINUOUS)
            self.ttl1.pulse(.5*us) # first pi/2 pulse
            self.dds0.set(3*MHz, phase_offset=0.25, phase_mode=PHASE_MODE_CONTINUOUS)

            delay(1*us) # arm time

            self.ttl1.pulse(1*us) # middle pi pulse
            self.dds0.set(3*MHz, phase_offset=0, phase_mode=PHASE_MODE_CONTINUOUS)

            delay(1*us) # arm time

            self.ttl1.pulse(0.5*us) # final pi/2 pulse

            # delay to let Core_uP catch up
            delay(1*ms)

from artiq.

 avatar commented on August 19, 2024

Quick test to see if this behavior is related to the timing of the FTW.

  1. reset power on DDS box and reset DDS
  2. run program above
  3. look on scope

tek00003
tek00005
tek00006
tek00007

from artiq.

sbourdeauducq avatar sbourdeauducq commented on August 19, 2024

Do you still have any issue with a board flashed with the latest runtime from the conda packages? I pushed the bugfixes only recently. Do you have this commit: 87ea143

from artiq.

 avatar commented on August 19, 2024

I will try to two suggestions you made. It will be a day or two. We are
back running on the old DDS system at the moment. -Joe

On Mon, Jun 22, 2015 at 3:39 PM, Sébastien Bourdeauducq <
[email protected]> wrote:

Do you still have any issue with a board flashed with the latest runtime
from the conda packages? I pushed the bugfixes only recently. Do you have
this commit: 87ea143
87ea143


Reply to this email directly or view it on GitHub
#46 (comment).

from artiq.

 avatar commented on August 19, 2024

OK. Resolved in today's conda build.

untitled picture

from artiq.

sbourdeauducq avatar sbourdeauducq commented on August 19, 2024

Good. Thanks for the quick re-test!

from artiq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.