Page 1 of 1

PWM on scpi not working

Posted: Mon Nov 30, 2015 5:39 pm
by james.hugall
Hi,

I have the latest software installed on red pitaya and am using the redpitaya over ethernet through labview. We are having a problem using the PWM generate function. When I select this as the output with whatever duty cycle, there is no output from the fast analog output. If I select square, sine or other it works fine. Is this a software problem in this release? It seems to be sending the correct commands to the pitaya... This happens at whatever frequency.

Thanks,

james

Re: PWM on scpi not working

Posted: Thu Dec 03, 2015 10:19 am
by myoshizawa
Hi

I encountered the same problem. PWM on Web-based software, which may be working with Java, works well. But, PWM of LabVIEW does not work. Generation of Arbitrary wave from CSV file also does not work. Does anyone know the reason?

Masahito

Re: PWM on scpi not working

Posted: Thu Dec 03, 2015 3:02 pm
by redpitaya
Hi,

It seams that we have some bugs in SCPI commands for PWM and arbitrary signal generation.
Currently we are working on that.

Thanks for noticing.

Best, RP

Re: PWM on scpi not working

Posted: Thu Apr 21, 2016 10:33 am
by aschuetz
Is the bug fixed? I can generate a square signal but when I tried to use PWM with a specific duty cycle there is just noise on my scope.

Re: PWM on scpi not working

Posted: Fri Apr 29, 2016 2:18 am
by jerzydziewierz
bump!

I need PWM output to be working for my upcoming project.

is there any (old) version in which it was working?

Re: PWM on scpi not working

Posted: Wed Jun 07, 2017 8:12 pm
by s060340
<Bump>

Any progress on this issue?

Re: PWM on scpi not working

Posted: Thu Nov 14, 2019 8:21 pm
by redpitaya
Tetane from github just posted an easy workaround which is to send a custom waveform ( https://redpitaya.readthedocs.io/en/lat ... -exm4.html ).

Here is the fix that will also be included with the next release.
PWM bug solved with example how to use it:
https://www.dropbox.com/sh/s55nj9qo8vbe ... R3fCa?dl=0