Example of usage of slow A/D

Just about everything about Red Pitaya
Post Reply
mravenca@gmail.com
Posts: 3
Joined: Sat Mar 04, 2023 3:18 pm

Example of usage of slow A/D

Post by mravenca@gmail.com » Mon Apr 10, 2023 12:21 pm

Hello,

I found this example: https://redpitaya.readthedocs.io/en/lat ... -exm1.html
But there is nothing there about setting up the sampling frequency.
Can you give me advice how to set up the sampling frequency?

Thanks
Vaclav

User avatar
redpitaya
Site Admin
Posts: 904
Joined: Wed Mar 26, 2014 7:04 pm

Re: Example of usage of slow A/D

Post by redpitaya » Wed Apr 12, 2023 2:29 pm

Hello Vaclav,

Currently, there is no way to automatically set a sampling frequency for the slow analog inputs using the SCPI commands.

I would suggest creating a C program running on the Red Pitaya (you should be able to poll the pin at a few kHz). The other option to achieve your goal is reprogramming the FPGA. Reprogramming the FPGA will give you the fastest and most time-accurate results (in case you want to get results at a specific rate).

Here are a few links that might be useful for you:
https://redpitaya.readthedocs.io/en/lat ... /comC.html
https://redpitaya-knowledge-base.readth ... s/top.html

Post Reply
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 71 guests