minimal sweep frequency of Pitaya RCL meter???

Tell us how your experiment is running with Red Pitaya
Post Reply
accobrasp
Posts: 4
Joined: Thu Jun 04, 2015 2:07 pm

minimal sweep frequency of Pitaya RCL meter???

Post by accobrasp » Fri Jan 06, 2017 9:53 am

Hello,
We need to use a bridge RLC with frequencies of sweeping ultra low, ideally down to the millihertz.
Which is the usable minimal frequency at present, and can one intend to modify the application to reach such frequencies

Thank you

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

Re: minimal sweep frequency of Pitaya RCL meter???

Post by Nils Roos » Fri Jan 06, 2017 10:08 pm

Hi,

from a look through the impedance analyzer sources (web-app controllerhf.so and lcr program), I'd expect that the application will not work correctly below 1Hz, because the sampling logic will be misconfigured at smaller frequencies.

The lowest frequency that the generator logic of the RP can produce is 0.116Hz. It is possible to adapt the application to work at that frequency, but if you need to go lower, you would have to design your own generator FPGA logic.
All in a day's work for Bicycle Repair Man

amin
Posts: 53
Joined: Mon Feb 06, 2017 12:31 pm

Re: minimal sweep frequency of Pitaya RCL meter???

Post by amin » Mon Feb 13, 2017 8:14 pm

Hii Nils Roos,

I want to edit https://github.com/RedPitaya/RedPitaya/ ... Test/lcr.c by my self.
i want to make some modification about increase sweep speed frequency.
can you teach me about how to edit lcr.c and install in redpitaya?
until now i can generate matlab initial lcr and matlab initial bode sucessfully, but i need more sweep speed more faster.

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

Re: minimal sweep frequency of Pitaya RCL meter???

Post by Nils Roos » Wed Feb 15, 2017 8:19 pm

Hi,
the easiest way to do it is in a remote shell on your STEMlab:
1. follow these instructions to check out the sources onto your STEMlab
2. go into the RedPitaya/Test/lcr directory and edit the sources
3. when you are finished, call "make" in that directory to generate the modified lcr application
4. execute "rw" to make the SD-card writeable, then copy the new lcr binary to /opt/redpitaya/bin
All in a day's work for Bicycle Repair Man

amin
Posts: 53
Joined: Mon Feb 06, 2017 12:31 pm

Re: minimal sweep frequency of Pitaya RCL meter???

Post by amin » Sat Feb 18, 2017 4:15 am

Nils Roos wrote:Hi,
the easiest way to do it is in a remote shell on your STEMlab:
1. follow these instructions to check out the sources onto your STEMlab
2. go into the RedPitaya/Test/lcr directory and edit the sources
3. when you are finished, call "make" in that directory to generate the modified lcr application
4. execute "rw" to make the SD-card writeable, then copy the new lcr binary to /opt/redpitaya/bin
Nils Roos,
i already make fork https://github.com/amin3vdc/RedPitaya
and I already finished doing practice modifying https://github.com/amin3vdc/RedPitaya/b ... ed_blink.c
and then i already get respond from update of github which is after i click commit
but when i try to compile with this step:
git clone https://github.com/RedPitaya/RedPitaya.git
cd RedPitaya
cd Examples/C
make digital_led_blink
cat /opt/redpitaya/fpga/fpga_0.94.bit > /dev/xdevcfg
LD_LIBRARY_PATH=/opt/redpitaya/lib ./digital_led_blink

i did not get difference respond, still default blinking led.
i try modified
root@rp-f044db:~/RedPitaya/Examples/C# fatal: destination path 'RedPitaya' already exists and is not an empty directory.
-bash: fatal:: command not found
but the respond is command not found

i try scp digital_led_blink root@192.168.11.12:/opt/redpitaya/lib/
the respond is
root@rp-f044db:~/RedPitaya/Examples/C# scp digital_led_blink root@192.168.11.12:/opt/redpitaya/lib/
root@192.168.11.12's password:
digital_led_blink: No such file or directory
but the respond is No such file or directory

please need advice

amin
Posts: 53
Joined: Mon Feb 06, 2017 12:31 pm

Re: minimal sweep frequency of Pitaya RCL meter???

Post by amin » Sat Feb 18, 2017 6:50 am

amin wrote:
Nils Roos wrote:Hi,
the easiest way to do it is in a remote shell on your STEMlab:
1. follow these instructions to check out the sources onto your STEMlab
2. go into the RedPitaya/Test/lcr directory and edit the sources
3. when you are finished, call "make" in that directory to generate the modified lcr application
4. execute "rw" to make the SD-card writeable, then copy the new lcr binary to /opt/redpitaya/bin
Nils Roos,
i already make fork https://github.com/amin3vdc/RedPitaya
and I already finished doing practice modifying https://github.com/amin3vdc/RedPitaya/b ... ed_blink.c
and then i already get respond from update of github which is after i click commit
but when i try to compile with this step:
git clone https://github.com/RedPitaya/RedPitaya.git
cd RedPitaya
cd Examples/C
make digital_led_blink
cat /opt/redpitaya/fpga/fpga_0.94.bit > /dev/xdevcfg
LD_LIBRARY_PATH=/opt/redpitaya/lib ./digital_led_blink

i did not get difference respond, still default blinking led.
i try modified
root@rp-f044db:~/RedPitaya/Examples/C# fatal: destination path 'RedPitaya' already exists and is not an empty directory.
-bash: fatal:: command not found
but the respond is command not found

i try scp digital_led_blink root@192.168.11.12:/opt/redpitaya/lib/
the respond is
root@rp-f044db:~/RedPitaya/Examples/C# scp digital_led_blink root@192.168.11.12:/opt/redpitaya/lib/
root@192.168.11.12's password:
digital_led_blink: No such file or directory
but the respond is No such file or directory

please need advice

OK problem is solved,
i to do this step:
i using eclipse and i can root and connect my github forx to eclipse.
Then i edit examples/digital_led_blink.c using eclipse and then with easily only need save as
goto remote shell of eclipse and doing this step:
root@rp-f044db:~/RedPitaya/Examples/C#

make CROSS_COMPILE=arm-linux-gnueabi- clean all
make digital_led_blink

cat /opt/redpitaya/fpga/fpga_0.94.bit > /dev/xdevcfg
LD_LIBRARY_PATH=/opt/redpitaya/lib ./digital_led_blink
Blinkbro LED[0]

Thanks!!!

amin
Posts: 53
Joined: Mon Feb 06, 2017 12:31 pm

Re: minimal sweep frequency of Pitaya RCL meter???

Post by amin » Sat Feb 18, 2017 7:12 am

amin wrote:
amin wrote:
Nils Roos wrote:Hi,
the easiest way to do it is in a remote shell on your STEMlab:
1. follow these instructions to check out the sources onto your STEMlab
2. go into the RedPitaya/Test/lcr directory and edit the sources
3. when you are finished, call "make" in that directory to generate the modified lcr application
4. execute "rw" to make the SD-card writeable, then copy the new lcr binary to /opt/redpitaya/bin
Nils Roos,
i already make fork https://github.com/amin3vdc/RedPitaya
and I already finished doing practice modifying https://github.com/amin3vdc/RedPitaya/b ... ed_blink.c
and then i already get respond from update of github which is after i click commit
but when i try to compile with this step:
git clone https://github.com/RedPitaya/RedPitaya.git
cd RedPitaya
cd Examples/C
make digital_led_blink
cat /opt/redpitaya/fpga/fpga_0.94.bit > /dev/xdevcfg
LD_LIBRARY_PATH=/opt/redpitaya/lib ./digital_led_blink

i did not get difference respond, still default blinking led.
i try modified
root@rp-f044db:~/RedPitaya/Examples/C# fatal: destination path 'RedPitaya' already exists and is not an empty directory.
-bash: fatal:: command not found
but the respond is command not found

i try scp digital_led_blink root@192.168.11.12:/opt/redpitaya/lib/
the respond is
root@rp-f044db:~/RedPitaya/Examples/C# scp digital_led_blink root@192.168.11.12:/opt/redpitaya/lib/
root@192.168.11.12's password:
digital_led_blink: No such file or directory
but the respond is No such file or directory

please need advice

OK problem is solved,
i to do this step:
i using eclipse and i can root and connect my github forx to eclipse.
Then i edit examples/digital_led_blink.c using eclipse and then with easily only need save as
goto remote shell of eclipse and doing this step:
root@rp-f044db:~/RedPitaya/Examples/C#

make CROSS_COMPILE=arm-linux-gnueabi- clean all
make digital_led_blink

cat /opt/redpitaya/fpga/fpga_0.94.bit > /dev/xdevcfg
LD_LIBRARY_PATH=/opt/redpitaya/lib ./digital_led_blink
Blinkbro LED[0]

Thanks!!!

Nils Roos,

but how to edit RedPitaya/Test/bode.c
and save to STEMlab
and running in matlab.
because in bode folder not only bode.c, but another c and fpga file

amin
Posts: 53
Joined: Mon Feb 06, 2017 12:31 pm

Re: minimal sweep frequency of Pitaya RCL meter???

Post by amin » Sat Feb 18, 2017 7:13 am

until now i can operate /opt/redpitaya/bin/bode in matlab but i want to edit modified bode.c

amin
Posts: 53
Joined: Mon Feb 06, 2017 12:31 pm

Re: minimal sweep frequency of Pitaya RCL meter???

Post by amin » Sat Feb 18, 2017 8:30 am

the problem is solved
i doing like this:
Edit .c
Save
root@rp-f044db:~/RedPitaya/Test/bode#
make bode
check: LD_LIBRARY_PATH=/opt/redpitaya/bin ./bode
copy: scp bode root@192.168.11.12:/opt/redpitaya/bin/
test in matlab

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 1 guest