Denna rapport täcker utvecklingen av ett visualiseringsverktyg för en borrigg med hjälp av TCP kommunikation. Under utvecklingen av verktyget har även en fördjupning inom TCP kommunikation gjorts, där fokus har varit hur man upptäcker förlorad kommunikation. Fördjupningen bygger på en sammanfattning av flera metoder för upptäckten av ett sådant fel och en analys för att hitta den bästa lämpliga metod för detta projekt. Visualiseringsverktyget som skapades gjordes i Unity3d där en färdig 3d-modell av en borrigg importerades och koden skrevs med hjälp av C#. Visualiseringen fungerar som en klient som ansluter sig till företagets server där den frågar serven om vinkelvärden och får tillbaka ett värde som sedan uppdatera 3d-modellen.
This report covers the development of a visualization tool for a drill rig with the help of TCP communication. During the development of the tool there has also been a deepening about TCP communication where focus was on detecting lost communication. The deepening is based on a summary of different methods for detecting such an error and an analysis to find the best suitable method for this project. The visualization tool that was created was made in Unity3d where a 3d-model of the drill rig was imported, and the code was written in C#. The visualization works as a client that connects to the company’s server and ask for angle values and gets return values back which updates the 3d-model.