**Moku model:Go(591)
**Operating system:Win10
**Software version:3.2.2
Bug or support request description:
I want to employ Time & Frequency Analyzer in mim mode. But the source of command “set_event_detector” is false. When I sent the value of source “Input1” or “ChannelA”, the message is "Input1 is not a valid value for Source". And When I sent the value of source “InputA”, the message is "Cannot understand request. One or more key\/values are incorrect".
Past of my command is:
httpGet(buildURL(“slot1/waveformgenerator”));
httpGet(buildURL(“slot2/tfa”));
QJsonArray connections;
connections.append(QJsonObject({{“source”, “Slot1OutA”}, {“destination”, “Output1”}}));
connections.append(QJsonObject({{“source”, “Input1”}, {“destination”, “Slot2InA”}}));
connections.append(QJsonObject({{“source”, “Input2”}, {“destination”, “Slot2InB”}}));
QJsonObject claimReq;
claimReq.insert(“connections”, connections);
httpPost(buildURL(“mim/set_connections”), claimReq);
httpPost(buildURL(“slot2/tfa/set_event_detector”), QJsonObject({{“id”, 1}, {“source”, “InputA”}, {“threshold”, 0.5}, {“edge”, “Rising”}}));
It is worth to note that this command (“set_event_detector”) work well not in mim mode.