Good morning
I explicitly write the hardwaregain this way
ret = iio_channel_attr_write_double( phy_chn_rx, "hardwaregain", hardwaregain );
if ( ret < 0 ) {
ListBox->AppendString( wxString( "hardwaregain attribute for RX NOT written" ) );
return;
}
And I reread this way
sz = IIO_lib_itf.iio_channel_attr_read_double( phy_chn_rx_read, "hardwaregain", &hardwaregain );
if ( sz != 0 ) {
ListBox->AppendString(wxString("hardwaregain RX not correctly read "));
}
The two operation do not give error.
The readout is always -3 whatever I write.
Suggestion needed.
Thank You