Jump to content
  • 1

Eclypse Z7 Zmod AWG Play function


dmangione

Question

I have a custom waveform (6225920 points @ 4.1 MHz) that is larger than the buffer size allowed with the custom function (65535 points). The play function seems like the solution to this, so I have used the AnalogOut_Play.py demo provided with Waveforms as a reference for implementing it. I am using an Eclypse Z7

Unfortunately it keeps failing at the FDwfAnalogOutNodePlayData function. To double check it wasn't my code, I tried running the unmodified AnalogOut_Play.py, and used a mono 1kHz tone, 44.1kHz sample rate, +/- 1 V, 30 second, wav file as "audio.wav". This also failed at the same function, so it's not a problem with my implementation. The function doesn't provide any error message, but this is the output:

Load audio.WAV file
Rate: 44100
Size: 1323000
Type: int16
Scaling: INT16
DWF Version: b'3.21.3'
Opening first device...
Playing audio...
Length: 30.0
Error
Lost: 17
Corrupted: 0
done

As a further check, I've tried playing the audio file using the Waveforms GUI. The program fails, and mentions that the error is again with the FDwfAnalogOutNodePlayData function. This error will keep popping up and requires a restart of the program.

image.png.d12904af170d454cea7181c58a141b3f.pngWaveformsProgramError.PNG.fbee564193256af25f763688919386c9.PNG

 

Is the Eclypse Z7 Zmod AWG known to work with the play function? I am able to generate any standard function and even custom waveforms using both the GUI and the SDK via Python, so I am not sure what else could be wrong.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 1

Hi @dmangione

The play and record are limited by the USB/ethernet streaming rate if the length exceeds the device buffer size.
On Eclypse oscilloscope capture buffer 256Mi samples total and AWG carrier buffer / channel 64ki (1 AWG Zmod w 2ch) or 32ki samples (2 AWG Zmods w 4ch)

image.png

Link to comment
Share on other sites

  • 0
5 hours ago, attila said:

Hi @dmangione

It is fixed in the latest version:

 

Great, thank you! The play function works on both the GUI and the demo scripts.

I have notice though, that at higher output frequencies a significant amount of the points are lost (Mhz range). I assume this is from the output being faster than the buffer can load new points from the computer. Do you know if this is a limitation of the USB interface, or a limitation of the software?

Link to comment
Share on other sites

  • 0

Hi, @attila

I wanted to follow up on an error I've noticed with the play function on the Eclypse Z7. Using both the Waveforms program and the WF SDK, my signal (custom 4.1 MHz waveform) has occasional discontinuities, circle below in red. Note that I am streaming via ethernet. It appears that the output voltages shifts ~50 mV, but the waveform otherwise stays intact. Is this a consequence of streaming data for MHz-range output, or is this fixable via software?

IMG_8200.thumb.JPG.7526bc700d8c9dde5759fb2f3f63b640.JPG

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...