Jump to content

Alec

Members
  • Posts

    1
  • Joined

  • Last visited

Alec's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. Hi all, I have an application where I need to generate two signals with a phase shift of different values between them for different measurements. For example For 5 seconds - W1: 0.04V 60Hz @ 0 Degrees , W2: 0.25V 60Hz @ 30 Degrees For 5 seconds - W1: 0.04V 60Hz @ 0 Degrees , W2: 0.25V 60Hz @ 60 Degrees For 5 seconds - W1: 0.04V 60Hz @ 0 Degrees , W2: 0.25V 60Hz @ 90 Degrees This test involved another instrument which is reading the phase of these two signals, and we are trying to confirm it's operation. The problem is, I am running these outputs from the Waveforms SDK (will attach script below), and I have a feeling that something is not working properly. When I read the output, In terms of phase, there seems to be a delay when the phase is changed (E.g. from 30 to 60), or occasionally, the phase does not change at all for 1/3 changes. When I run the same tests using the Waveforms GUI, there are no issues. I am looking for someone with more knowledge of the SDK to review my commands here, in case there is something obvious that I am missing (delay required between acquisitions (?), not shutting off output correctly (?), need to keep output on for the tests (?), etc. Additionally, my colleague noticed that when changing phase between two output signals in the Waveforms GUI, there is some inconsistency unless the outputs are disabled before changing the phase setting, before enabling the outputs again. Any help is appreciated. digilent_ctrl.py
×
×
  • Create New...