Thanks Krieck,
Do you know of any online resources/articles which explain the code you posted? I'm as interested in understanding it as I am in getting it to work.
Thanks,
Chris
Quote:
Originally Posted by krieck
Creating a NetworkTables server is very easy. Having a stand-alone server will let you develop SmartDashboard and sensor processing apps without the cRIO:
Code:
import edu.wpi.first.wpilibj.networktables.NetworkTable;
/**
* Server for running Network tables.
* You must add the networktables-desktop.jar file to your classpath.
*/
public class NetworkTableServer {
public static void main(String[] args) throws Exception {
NetworkTable.setServerMode();
NetworkTable.getTable("");
Thread.currentThread().setPriority(Thread.MIN_PRIORITY);
while (true) {
Thread.sleep(100L);
}
}
}
|