This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Setting DSS API timeout in Scripting Console

Other Parts Discussed in Thread: CCSTUDIO

For setting a pause, DSS there is a script.setTimeout() API - is there any for CCS scripting console solely? I mean I tried

importPackage(Packages.com.ti.ccstudio.scripting.environment);
  var script = ScriptingEnvironment.instance();

script.setTimeout(15000);

in a .js file loaded to the Scripting console. But it had no effect

  • Sohini - I created a separate thread for this question. In the future, please create a new thread for a new question instead of appending to an existing closed thread.

    Back to your question:

    Do you have a js script that only sets the timeout? I recommend that you simply type in the API in the console instead of calling it from a script. Then make sure you use that same scripting environment instance to call the rest of your DSS APIs

    Thanks

    ki