Read ADC-values

Applications, development tools, FPGA, C, WEB
Felix-Peter2000
Posts: 15
Joined: Wed Jun 15, 2022 8:44 am

Re: Read ADC-values

Post by Felix-Peter2000 » Wed Nov 16, 2022 3:02 pm

Thank you very much for your help.

A question would have again. What is the difference between the commands "in2.status_run()" and "in2.trigger()". I can't find anything online where I can read about these commands.

Best regards
Felix

juretrn
Posts: 104
Joined: Tue Nov 16, 2021 11:38 am

Re: Read ADC-values

Post by juretrn » Thu Nov 17, 2022 11:49 am

Hi,
status_run() shows if the acquisition is running - waiting for a trigger or still acquiring data into the buffer.

trigger() is a software trigger - immediate acquisition of data when written.

Felix-Peter2000
Posts: 15
Joined: Wed Jun 15, 2022 8:44 am

Re: Read ADC-values

Post by Felix-Peter2000 » Mon Nov 21, 2022 4:50 pm

Thanks for the answer

Felix-Peter2000
Posts: 15
Joined: Wed Jun 15, 2022 8:44 am

Re: Read ADC-values

Post by Felix-Peter2000 » Fri Nov 25, 2022 4:54 pm

Hello,

why is the "in2.reset()" fixed after the declaration? That doesn't make sense, because then I set everything I have set back to zero. Here is an example on page 10 (http://staff.ltam.lu/feljc/electronics/ ... mary_1.pdf) where the Red Pitaya is used as an oscilloscope.

So why do you use the term "in2.reset()" and especially why at this position? Wouldn't it be better to put it at the beginning?

Best regards
Felix

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

Re: Read ADC-values

Post by redpitaya » Mon Nov 28, 2022 12:43 pm

Hello Felix,

Which page in the document are you referring to - is it page 10?

That is probably a mistake, usually you reset the generator and acquisition at the beginning, right after you establish the connection (normal Python)/set up the FPGA (Jupyter).

The reset just sets everything to default values (which would be a 1 kHz Sine wave).

Felix-Peter2000
Posts: 15
Joined: Wed Jun 15, 2022 8:44 am

Re: Read ADC-values

Post by Felix-Peter2000 » Thu Dec 08, 2022 12:02 pm

Hello, yes I am referring to page 10, thank you for the reply.

Felix-Peter2000
Posts: 15
Joined: Wed Jun 15, 2022 8:44 am

Re: Read ADC-values

Post by Felix-Peter2000 » Thu Dec 08, 2022 12:06 pm

I have a new question because I am a little confused. In this documentation ( https://gzhls.at/blob/ldb/b/c/0/e/0b1db ... f37a6a.pdf ) on page 41 is the specification for the oscilloscope. The bandwidth 40 MHz for the product STEMlab 125-10 is this a default setting? So the maximum bandwidth for this version of the Red Pitaya is 40 MHz, correct?

Best regards
Felix

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

Re: Read ADC-values

Post by redpitaya » Thu Dec 22, 2022 11:42 am

Hey,

Sorry for the late reply.

Yes the input bandwidth of STEMlab 125-10 is 40 MHz (so the Oscilloscope). The output bandwidth (for signal generator) is DC-50 MHz.
https://redpitaya.com/rtd-iframe/?ifram ... ured.html#

For the most accurate documentation please check the documentation on our website.

Felix-Peter2000
Posts: 15
Joined: Wed Jun 15, 2022 8:44 am

Re: Read ADC-values

Post by Felix-Peter2000 » Mon Jan 02, 2023 1:49 pm

Thanks for the answer.

Felix-Peter2000
Posts: 15
Joined: Wed Jun 15, 2022 8:44 am

Re: Read ADC-values

Post by Felix-Peter2000 » Mon Jan 02, 2023 1:50 pm

What is the internal reference voltage of the ADC of the Red Pitaya? I can't find anything about this in the data sheet.

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 26 guests