Page 1 of 1

Troubles with command line

Posted: Fri Feb 16, 2024 1:04 am
by DmitryA062
Hi everyone!
When I'm trying to configure bladeRF via Windows command line, running into a next trouble:
calling command

Code: Select all

<bladerf-cli -e "rx config n=20M format=csv channel=1,2">

doesn`t have any effect according to response to command

Code: Select all

<bladerf-cli -e "rx">

This response looks like

Code: Select all

Channels: RX1
File Format: SC16 Q11 Binary
and so on
What could be the reason of this behavior?

Re: Troubles with command line

Posted: Wed Mar 13, 2024 9:15 pm
by mittensproducer
I think there is some problem in your command syntax.
basket random

Re: Troubles with command line

Posted: Fri Mar 15, 2024 12:55 am
by DmitryA062
mittensproducer wrote: Wed Mar 13, 2024 9:15 pm I think there is some problem in your command syntax.
basket random
Could you please write (as an example) a set of commands that will do the following:
1) sets rx frequency to XX MHz,
2) makes rx config (2 channel, csv format, using full datapath to file (DATAPATH\Samples.csv)


Here is my version of this set:
1) bladerf-cli -e "set "frequency" "rx" "1572M"",
2) bladerf-cli -s 'DATAPATH\script.txt'

Here is the content of the script:

Code: Select all

set frequency rx 1575.42MHz
set bandwidth 2.1M
rx config n=20M file=DATAPATH\Samples.csv format=csv
set samplerate 4.6M
set clock_ref 1

It is quite possible that I use incorrect synthax. But I used many variations of syntax and my opinion is a little blurry in terms of the correctness of it

Thank you a lot in advance

Re: Troubles with command line

Posted: Mon Mar 25, 2024 8:34 pm
by Uiysuda
mittensproducer wrote: Wed Mar 13, 2024 9:15 pm I think there is some problem in your command syntax.
papa's games
If you discover a problem you should point it out