Hello,

Our ARTIQ version is v7.8166.dbd5a17.
When i used delay_mu() function, The KeyError is occurred.
I attached the test code and errror.



An error still occurred when adding a value to the delay_mu() function.

I removed default value of ‘duration’ argument in test_type.
There was no error.

I tried another way.
I used the self.core.wait_until_mu() function instead delay_mu() function.
There was no error.

I don't know if I wrote the code wrong or if there's something wrong with the ARTIQ compiler.
Do you have any advice?

Thank you.

6 days later

Hi @chanyang,

Thanks for sharing.

I have opened an issue on GH for this. See https://github.com/m-labs/artiq/issues/2219

Seems like a compiler issue for the delay_mu method.

For the mean time, I suggest you should do the suggested workaround on the issue same with your example when you remove the default value in the duration argument.

Will continue to investigate and keep you posted.

    fsagbuya

    Hi, fsagbuya
    Thank you for reply.

    So, i removed the default value.
    I'll wait until this problem is resolved.