Problem on changing Rx data format setting

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?  

Top Replies

  • 0
    •  Analog Employees 
    on Jun 4, 2019 6:33 AM in reply to M-koba

    Please refer to the below script,

    ##################################################
    # GainWithFloatingPoint or GainWithNoCompensation
    ##################################################
    #Ensure Stream File has been set to receive Floating Point Data
    rxDataFormatter = TaliseRxDataFormat()
    rxDataFormatter.FormatSelect = (rxDataFormatter.FormatSelect.GainWithFloatingPoint)
    rxDataFormatter.FpNumExpBits = (rxDataFormatter.FpNumExpBits.TwoExponentBits)
    rxDataFormatter.FpRoundMode = (rxDataFormatter.FpRoundMode.RoundToEven)
    rxDataFormatter.FpRx1Atten = (rxDataFormatter.FpRx1Atten.FpAtten0dB)
    rxDataFormatter.FpRx2Atten = (rxDataFormatter.FpRx2Atten.FpAtten0dB)
    rxDataFormatter.FpHideLeadingOne = (1)
    rxDataFormatter.IntEmbeddedBits = (rxDataFormatter.IntEmbeddedBits.Embed1SlicerBitAtLsb)
    rxDataFormatter.IntSampleResolution = (rxDataFormatter.IntSampleRes.Integer12Bit2sComp)
    Link.Talise.SetRxDataFormat(rxDataFormatter)
    #Link.Talise.SetRxDataFormat(TaliseRxDataFormat.1,0,0,0,0,1,0,0,2,0,0,3,3,0,0)