plutosdr get chan error
hello I am tring to use matlab with ad9363+ zynq ,the firmware is plutosdr v0.38 built by myself,the iio version is v0.25
the matlab code is
warning(‘off’,’plutoradio:sysobj:FirmwareIncompatible’);
%%ad9361配置
tx = sdrtx(‘AD936x’,…
‘IPAddress’,’192.168.5.23′,…
‘ChannelMapping’,1)
radioSettings = info(tx)
tx.CenterFrequency = 2.415e9;
tx.BasebandSampleRate = 2e6;
tx.Gain = -5;
%% 信号波形设置
sw = dsp.SineWave;
sw.Amplitude = 0.5;
sw.Frequency = 100e3;
sw.ComplexOutput = true;
sw.SampleRate = tx.BasebandSampleRate;
sw.SamplesPerFrame = 1000;
txWaveform = sw();
%%发送信号
transmitRepeat(tx,txWaveform)
release(tx);
the error is
包含以下字段的 struct:
Status: ‘Unable to setup device’
MsgDetails: ‘Channel: altvoltage4 not found.’
11 tx.CenterFrequency = 2.415e9;
## Establishing connection to hardware. This process can take several seconds.
错误使用 matlabshared.libiio.base/cstatusid
Channel: altvoltage4 not found.
出错 matlabshared.libiio.base/getChan
出错 comm.libiio.AD9361.tx_control/setupDDSChannel
出错 comm.libiio.AD9361.tx_control/SetupDDS
出错 comm.libiio.AD9361.tx_control/sdrDevPreInit
出错 comm.libiio.AD9361.tx/sdrDevPreInit
出错 comm.zynqradioshared.tx/sdrDevPreInit
出错 comm.libiio.AD9361.base_control/configureChanBuffers
出错 comm.libiio.AD9361.base/configureChanBuffers
出错 matlabshared.libiio.base/setupImpl
出错 comm.libiio.AD9361.base_control/setupImpl
出错 comm.libiio.AD9361.base/setupImpl
出错 comm.libiio.AD9361.tx_control/setupImpl
出错 comm.libiio.AD9361.tx/setupImpl
出错 comm.zynqradioshared.tx/setupImpl
出错 comm.libiio.AD9361.tx/transmitRepeat
出错 Untitled (第 28 行)
transmitRepeat(tx,txWaveform)
but I think the firmware is ok because I test it on GNU Radio and ADI IIO Osi they both work.
when I swith the sdrtx(‘AD936x’ to sdrtx(‘pluto’,I get the error
The radio with ID usb:0 is already owned by a block,hello I am tring to use matlab with ad9363+ zynq ,the firmware is plutosdr v0.38 built by myself,the iio version is v0.25
the matlab code is
warning(‘off’,’plutoradio:sysobj:FirmwareIncompatible’);
%%ad9361配置
tx = sdrtx(‘AD936x’,…
‘IPAddress’,’192.168.5.23′,…
‘ChannelMapping’,1)
radioSettings = info(tx)
tx.CenterFrequency = 2.415e9;
tx.BasebandSampleRate = 2e6;
tx.Gain = -5;
%% 信号波形设置
sw = dsp.SineWave;
sw.Amplitude = 0.5;
sw.Frequency = 100e3;
sw.ComplexOutput = true;
sw.SampleRate = tx.BasebandSampleRate;
sw.SamplesPerFrame = 1000;
txWaveform = sw();
%%发送信号
transmitRepeat(tx,txWaveform)
release(tx);
the error is
包含以下字段的 struct:
Status: ‘Unable to setup device’
MsgDetails: ‘Channel: altvoltage4 not found.’
11 tx.CenterFrequency = 2.415e9;
## Establishing connection to hardware. This process can take several seconds.
错误使用 matlabshared.libiio.base/cstatusid
Channel: altvoltage4 not found.
出错 matlabshared.libiio.base/getChan
出错 comm.libiio.AD9361.tx_control/setupDDSChannel
出错 comm.libiio.AD9361.tx_control/SetupDDS
出错 comm.libiio.AD9361.tx_control/sdrDevPreInit
出错 comm.libiio.AD9361.tx/sdrDevPreInit
出错 comm.zynqradioshared.tx/sdrDevPreInit
出错 comm.libiio.AD9361.base_control/configureChanBuffers
出错 comm.libiio.AD9361.base/configureChanBuffers
出错 matlabshared.libiio.base/setupImpl
出错 comm.libiio.AD9361.base_control/setupImpl
出错 comm.libiio.AD9361.base/setupImpl
出错 comm.libiio.AD9361.tx_control/setupImpl
出错 comm.libiio.AD9361.tx/setupImpl
出错 comm.zynqradioshared.tx/setupImpl
出错 comm.libiio.AD9361.tx/transmitRepeat
出错 Untitled (第 28 行)
transmitRepeat(tx,txWaveform)
but I think the firmware is ok because I test it on GNU Radio and ADI IIO Osi they both work.
when I swith the sdrtx(‘AD936x’ to sdrtx(‘pluto’,I get the error
The radio with ID usb:0 is already owned by a block, hello I am tring to use matlab with ad9363+ zynq ,the firmware is plutosdr v0.38 built by myself,the iio version is v0.25
the matlab code is
warning(‘off’,’plutoradio:sysobj:FirmwareIncompatible’);
%%ad9361配置
tx = sdrtx(‘AD936x’,…
‘IPAddress’,’192.168.5.23′,…
‘ChannelMapping’,1)
radioSettings = info(tx)
tx.CenterFrequency = 2.415e9;
tx.BasebandSampleRate = 2e6;
tx.Gain = -5;
%% 信号波形设置
sw = dsp.SineWave;
sw.Amplitude = 0.5;
sw.Frequency = 100e3;
sw.ComplexOutput = true;
sw.SampleRate = tx.BasebandSampleRate;
sw.SamplesPerFrame = 1000;
txWaveform = sw();
%%发送信号
transmitRepeat(tx,txWaveform)
release(tx);
the error is
包含以下字段的 struct:
Status: ‘Unable to setup device’
MsgDetails: ‘Channel: altvoltage4 not found.’
11 tx.CenterFrequency = 2.415e9;
## Establishing connection to hardware. This process can take several seconds.
错误使用 matlabshared.libiio.base/cstatusid
Channel: altvoltage4 not found.
出错 matlabshared.libiio.base/getChan
出错 comm.libiio.AD9361.tx_control/setupDDSChannel
出错 comm.libiio.AD9361.tx_control/SetupDDS
出错 comm.libiio.AD9361.tx_control/sdrDevPreInit
出错 comm.libiio.AD9361.tx/sdrDevPreInit
出错 comm.zynqradioshared.tx/sdrDevPreInit
出错 comm.libiio.AD9361.base_control/configureChanBuffers
出错 comm.libiio.AD9361.base/configureChanBuffers
出错 matlabshared.libiio.base/setupImpl
出错 comm.libiio.AD9361.base_control/setupImpl
出错 comm.libiio.AD9361.base/setupImpl
出错 comm.libiio.AD9361.tx_control/setupImpl
出错 comm.libiio.AD9361.tx/setupImpl
出错 comm.zynqradioshared.tx/setupImpl
出错 comm.libiio.AD9361.tx/transmitRepeat
出错 Untitled (第 28 行)
transmitRepeat(tx,txWaveform)
but I think the firmware is ok because I test it on GNU Radio and ADI IIO Osi they both work.
when I swith the sdrtx(‘AD936x’ to sdrtx(‘pluto’,I get the error
The radio with ID usb:0 is already owned by a block, ad936x MATLAB Answers — New Questions