Dear Red Pitaya community,
I'm new to Red Pitaya and still learning the basics. I followed the online guide to duplicate their results. I hooked up the output channel to an oscillocope to see the dynamics. However, when I was using the slow analog output and the GPIOs, the output voltage did not stay at the set points. Instead, the voltage decayed with a RC time about 20 ms. The slow analog input and digital input are working fine. I don't know if I have made some errors in my code or it is something else.
Please let me know if you could shed some light on this matter.
Thank you so much!
I have my code attached here:
#!/usr/bin/python
import sys
import time
import redpitaya_scpi as scpi
import numpy as np
import random
rp_s = scpi.scpi(sys.argv[1])
period = 0.1 # seconds
i=0
while (i<=10):
rp_s.tx_txt('DIG:PIN:DIR OUT,DIO7_N')
rp_s.tx_txt('DIG:PIN DIO7_N,1')
rp_s.tx_txt('DIG:PIN LED0,1')
time.sleep(period)
rp_s.tx_txt('DIG:PIN LED0,0')
rp_s.tx_txt('DIG:PIN DIO7_N,0')
print ("Blinking LED["+str(led)+"]")
time.sleep(period)
i+=1
rp_s.close()
Slow output voltage decays
- redpitaya
- Site Admin
- Posts: 901
- Joined: Wed Mar 26, 2014 7:04 pm
Re: Slow output voltage decays
Thank you for your post.
Please note that the slow analog inputs are not suitable for data acquisition. They are good for monitoring.
More technical details are here https://redpitaya.readthedocs.io/en/lat ... xtent.html
Please note that the slow analog inputs are not suitable for data acquisition. They are good for monitoring.
More technical details are here https://redpitaya.readthedocs.io/en/lat ... xtent.html
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 27 guests