Jump to content

dmangione

Members
  • Posts

    6
  • Joined

  • Last visited

dmangione's Achievements

Newbie

Newbie (1/4)

1

Reputation

  1. 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?
  2. 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?
  3. 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. 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.
  4. @attila, That was my mistake, every thing appears to be working now. Thank you very much for the help.
  5. Hi @JColvin and @attila, We have tried running some of the samples/py/ scripts included with the WaveFormsSDK. I am successfully able to view our device using the "Device_Enumeration.py" example, but we still fail to run examples that try to utilize the device such as "AnalogOutIn.py". Any experience on why it might fail to access our device? I have tried manually targeting our device ID (7), but it still fails. If there is any debug things you'd like me to run please let me know. Thanks
  6. Hello, We are trying to interface with the AWG on our Eclypse Z7. We are able to control it manually using the WaveForms GUI, but would like to use the WaveForms SDK for further use. We have followed https://digilent.com/reference/test-and-measurement/guides/waveforms-sdk-getting-started, but the libraries included don't seem to support the Eclypse Z7. The only devices mentioned within the code are the Analog Discovery and it's derivatives. We've tried multiple examples given in the WaveForms git, but also get back a "Invalid Device Handle" error. Additionally, we have run the Enumerate.py program to try and get our device ID, but the output only shows: FTDI Version: 0x30216 Devices: 0 DMGR Version: b'2.11.9' Devices: 1 1. b'SN:000000000000' b'' PDID: 0x40820110 DWF Version: b'3.20.1' Devices: 1 1. b'SN:000000000000' b'' This doesn't seem to provide us with anything useful. Is there any documentation for using the SDK with the Eclypse Z7 that would be able to assist us? Digilent appears to have no accessible documentation even though the SDK lists it as a supported board.
×
×
  • Create New...