Hi,
I am new user and would like to know a couple of things about Run Program which was not clear to me from the
documentation. I am using JSL to run an external program which starts its own gui.
1. Is there a way to embed this gui into JMP or force it to be contained within the JMP gui?
2. It initially starts a command line on windows and load stuff and then asks for a file dialog which
for me is a standard file. Is it possible to automatically supply this and suppress the file dialog opening?
3. It generated matlab plots as it is written in matlab. Can I force the matlab plots to be contained in JMP gui?
4. Most important: I am able to call the external program but the script part after Run Program is executed
even if the program hasn't finished. Since I have to copy files after external program finishes, the copied files
are incomplete.
I am trying to do this (any corrections are welcome):
some_function = Function({x},
//This function I wish to execute after the some_exe is finished
//or I have closed all of its gui components manually.
);
Show("this executes before run program"); //ok, as expected.
run_program = Run Program(
Executable(some_exe), //Works but execution through .bat doesn't.
Read Function(some_function),
);
Show("This also executes before external program finishes. Why?");