Other Parts Discussed in Thread: CCSTUDIO
Tool/software:
Hello,
I am using loadti feature of DSS for calling a function in one javascript from another javascript.
I am writing as => loadti -c <path of ccxml file>/filename.ccxml <path of out file>/filename.out , in the command prompt. When I run it, it shows
"
.......
Target running...
Interrupt to Abort....
"
What should I do next?
And where should I give the js file to be run , i.e., main.js or any other js which I want to run
I tried using loadJSFile command in the scripting console, once after running loadti, but it showed below error
1)for loading main.js given in the example, it showed error as... couldnt open file "null/getArgs.js"
2)for loading other js file which I created(is shown below), it showed error as..... syntax error......while there is no error in directory or file name
testEnv = {};
run();
function run()
{
load(java.lang.System.getenv("D:/User/Anil/Function_calling") + "./dummy1.js");
dummy();
dssScriptEnv = Packages.com.ti.ccstudio.scripting.environment.ScriptingEnvironment.instance();
}
I have also referred the loadti documentation, but its not clear yet how to run and use it.
Also can you please help me to know where to include these importpackages in the loadti code
Thanks and Regards,
Anil