This example demonstrates UDP socket communication. Data is sent from the RTDS to a standalone java program, and the java program can send information back to the RTDS. This is done using the SKT protocol on the GTNETx2 card.Note: You need to install the JDK to be able to compile java files http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html MAKE sure the path to the bin folder of the JDKis added to the windows path variable (google to figure this out)Note: If you want some extra information printed in the DOS window set the boolean DEBUG=true1. Open a windows command shell and go to the Tutorial|SAMPLES|GTSKT|ExampleGUI folder. 2. Compile the .java code. Use the command below in the windows command shell javac GNET_SKT_UDP_GUI.java3. Run the code using the command below java GNET_SKT_UDP_GUI4. Upon running the program, two panels will appear. The GTNET-SKT UDP Server and the GTNET-SKT UDP Client. A file chooser box can be used to request the file name that defines the name and type of the received data or type of data to send. Browse to the file named received.txt in the Tutorial|SAMPLES|GTSKT folder. The table will be filled with data from the file or the user can add/delete items from the table5. Press the Start button in the GUIA message will be displayed in the Messages Text area Server socket created. Waiting for incoming data ...6. A file chooser box can be used to request the file name that defines the name and type of type of data to send. To manually add points press the Add button in the GTNET-SKT UDP Client panel and add 2 points, change the type of point 0 to "int"7. Press the Send button in the GUI and the UDP packet will be sent to the GTNET-SKT UDP Server panel.TO use the GTNET-SKT the user must change the Remote Server Settings IP Address and Port in the GTNET-SKT UDP Client panel so the program will send the UDP packet to the GTNET 8. Open the Draft case, edit the GTNET-SKT component, go to the Remote IP Configuration tab and change the Remote IP address to the IP address of your PC.9. Compile the Draft case, ensure to change the allocation of the component to the proper RTDS processor and GTIO port based on your hardware configuration.10. Run the simulation.11. Press the Send button in the simulation, the value on the Point slider is sent to the java program and will appear in the GTNET-SKT UDP server panel. 12. Press the Send button in the GUI and the UDP packet will be sent to the simulation and is displayed in the meters POINTIn0 and POINTin1.