08-07-2006 10:52 PM
08-08-2006 01:48 AM
08-08-2006 12:09 PM
Thanks for the reply.
How about this:
I make a multithreaded program in java that runs program1.exe for board1 and program2.exe for board2 ? This is because the motion from the two boards is pretty independent.
import java.io.*;
import java.lang.Runtime;
import java.lang.Runnable;
class run2Progs{
public static void main(String args[]){
new programThread1("prog1.exe");
new programThread2("prog2.exe");
}
}
class programThread1 implements Runnable{
String name;
Thread t;
programThread1(String programName){
name=programName;
t=new Thread(this,name);
System.out.println("New thread"+t);
t.start();
}
public void run(){
try{
Process p=Runtime.getRuntime().exec(name);}
catch(Exception e){}
}
}
Is it also right that I can begin storing the programs on-board for both the boards and then run them separately?
I will post a new message for my question about on-board programing in a separate message for modularity.
Thanks,
-Karan
08-09-2006 01:54 AM - edited 08-09-2006 01:54 AM
Message Edited by Jochen on 08-09-2006 09:01 AM