HV gain Setting

Applications, development tools, FPGA, C, WEB
Post Reply
vimaldobariya
Posts: 4
Joined: Wed Jul 20, 2016 2:37 pm
Location: Germany

HV gain Setting

Post by vimaldobariya » Mon Feb 06, 2017 4:08 pm

Hi,
In hardware I set HV gain. But in software point of view I do not know how to set HV.
I just tried c Example
https://github.com/RedPitaya/RedPitaya/ ... software.c

Here Amplitude is 1.0 v and I am getting the values in terminal -0.2 v to +0.2 v.

I changed parameter of
rp_GenAmp(RP_CH_1, 1.0)
with different values.
So when I tried with 0.4 then value comes between (-0.08 to +0.08)=(0.4/0.08=5)
With 1 it gives (-0.2 to +0.2)=(1/0.2=5)
With 0.7 it gives (-0.14 to +0.14)=(0.7/0.14=5)

So these all situations reading is looking like LV gain.
How can I get real value.


Kind regards,
Vimal Dobariya

Nils Roos
Posts: 1441
Joined: Sat Jun 07, 2014 12:49 pm
Location: Königswinter

Re: HV gain Setting

Post by Nils Roos » Wed Feb 08, 2017 3:34 pm

Hi,

when you set the input jumpers to HV the RP api must be informed of this by calling

Code: Select all

rp_AcqSetGain(RP_CH_x, RP_HIGH);

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