When I change the Rx data formant by calling API command setRxDataFormat() after the initialization completes, I can see that the parameters in taliseRxDataFormat_t by using getRxDataFormat(). However those looks being reset to the initial values when toggling RX_ENABLE. Should I call any other command to hold the new setting of Rx data formant?
We are looking into this. Will get back to you ASAP.
How about the status of this question? I am waiting the answer for two weeks.
Sorry for delay in reply. Can you please list down the steps including what API cals you have made. If you generate a python script from TES GUI will be more helpful. I need to reproduce the issue you are seeing to understand it better.
I have some additional information about this issue.
- Call TALISE_setRxDataFormat() and set formatSelect to TAL_GAIN_WITH_FLOATING POINT after the initial configuration done. And then verify that formatSelect is correctly set by calling TALISE_getRxDataFormat() before toggling Rx Enable signal. However it looks change to TAL_GAIN_COMPENSATION_DISABLED which is the default after toggling Rx Enable.
- Also changing the state of Rx by changing rxEnable from inactive to active after all initial configuration done, can see same as above.
- verify all paraments in the structure taliseRxDataFormat_t rxDataFormat. Only formatSelect reset to the default in the above test.
This is strange behavior.
If you have any suggestion I should check anything, please let me know.
In GUI you need to select required gain compensation mode and generate stream, as this changes are added in stream.
If it is not enabled and stream is generated then in SPI mode you can configure and use any GC mode using API, but in pin mode this mode will be overwritten by streams as the mode was not selected.