Troubles with command line

Having issues with the site, hardware, source code, or any other issues?
Post Reply
DmitryA062
Posts: 2
Joined: Fri Feb 16, 2024 12:45 am

Troubles with command line

Post 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?
mittensproducer
Posts: 3
Joined: Wed Mar 13, 2024 12:05 am

Re: Troubles with command line

Post by mittensproducer »

I think there is some problem in your command syntax.
basket random
DmitryA062
Posts: 2
Joined: Fri Feb 16, 2024 12:45 am

Re: Troubles with command line

Post 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
Uiysuda
Posts: 1
Joined: Mon Mar 25, 2024 8:32 pm

Re: Troubles with command line

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