Forum
Please or Register to create posts and topics.

Change RTSA PRO Parameters with API

PreviousPage 3 of 3

When I send get request to /remoteconfig, rbw and snn value do not return. when I send put request, rbw and snn value return but with different value (I send rbw : 60kHz, return 50kHz).

Indeed there seem to be some more issues with the Spectran V6 Sweep Zoom block and using /remoteconfig without a Remote Config block. I'll have to look into that in more detail, maybe you do actually need a Remote Config block for this.

joedalton has reacted to this post.
joedalton

OK. now  I would like to change Capture Mode. I tried but I could not.

My json :

{
    "request": 8,
    "receiverName": "Block_Spectran V6 Sweep Zoom_0",
    "config":
    {
        "type": "group",
        "name": "config",
        "items": [
            {
                "name": "captureMode",
                "value": 2,
                "type": "enum"
            }
        ]
    }
}

 

Where is the my mistake ?

Don't pass "type": "enum" when changing values. For "enum" values, you can pass either type "string" or "integer" to change them. In some cases the possible values of an enum value can change at runtime, so using indices can be problematic there.

 

joedalton has reacted to this post.
joedalton

Thank you so much. Have a good day 🙂

Hello, I come back. I need another question. I have a "IQ Demodulator" block. I want to change center frequency and span frequency. But  I could not. Could you give a json example. and How can I find all json examples?

 

{
    "request": 0,
    "receiverName": "Block_IQDemodulator_5",
    "config":
    {
        "type": "group",
        "name": "main",
        "items": [
            {
                "name": "centerfreq",
                "type": "float",
                "value": 1500000000
            }
        ]
    }
}
{
  "receiverName": "Block_IQDemodulator_0",
  "simpleconfig": {
    "main": {
      "centerfreq": 150000000,
      "samplerate": 4000000,
      "spanfreq": 4000000
    }
  }
}
joedalton has reacted to this post.
joedalton

Thank you. I have a question about IQ Demodulator block. It's not working all frequencies with same spanfrequency. For example 900MHz work max 17MHz span (If I set 18Mhz, it's freezing) but 1100 MHz work with 38MHz. Why ?

 

Note : Its reason "bounds check"

Please follow the forum rules and create a NEW thread for every question. Endless threads help nobody.

joedalton has reacted to this post.
joedalton
PreviousPage 3 of 3