m-labs / pdq

Pretty darn quick interpolating arbitrary waveform generator
GNU General Public License v3.0
6 stars 3 forks source link

Failure of set frame with pre-programming PDQ in another code #25

Open hpy0226 opened 4 years ago

hpy0226 commented 4 years ago

The function we are trying to implement is to program all frames used for a daily experiment into PDQ once and later just use 'set frame' in experiment codes to change to the desired frame without reprogramming PDQ. We are using PDQ3 and running programs on Artiq-3.7.

I am not sure if PDQ3 supports this function I described but didn't find the documentation says it's infeasible. By programming PDQ in the same code, we are able to set to the desired frame without any problems. However, so far, we are still not able to change the frame without reprogramming PDQ, the frame is always stuck in the default frame.

Wonder what I might have missed accomplishing this task?

hpy0226 commented 4 years ago

In addition, PDQ is programmed via SPI. More details, we also use SPI demultiplexer, and the PDQ box is connected with one of the demultiplexer channels, but this should not cause any problems.

jordens commented 4 years ago

You might have a hard time finding support here. You may have better luck asking the other users of PDQ3 directly or contracting support.

hpy0226 commented 4 years ago

Alright, I don't know if there're others who are also using PDQ3 except us in Boulder. Thanks.