I have been playing around with the API in LimesuiteNG and I am trying to replicate the default configuration of the LimeGUI. But I am not able to get the same configuration using C++ as when I set it up using the GUI. I wonder if the the configuration is available somewhere?
You can do your configurations in limeGUI and then generate a .ini file which you can then load in your C++ code using LimeSuiteNG API function lime::SDRDevice::LoadConfig(…)
Underlined Save button saves/overrides your .ini file. Chip->GUI and GUI->Chip buttons respectively update the GUI fields with chip configuration values and vice versa.
Could you elaborate. Do you mean the configuration that you see when you just open GUI and connect to device?
Just connecting GUI to device, changes nothing it just reads back the current registers state from the device. So if the device was just powered up, and not configured before, it will show whatever hardware defaults were left by the firmware.
If you perform device reset from GUI, or using API, software will set software defined default values to all registers, which can be different from initial raw firmware state.
For example: