public void LogData(String[] data, long systemStamp, long timeStamp)
		{
                    SampleCount++;

                    boolean exists = new File(FullPath).isFile();
                    FileWriter out = null;

                    try
                    {
                        out = new FileWriter(FullPath, exists);

                        if(!exists)
                        {
                            out.write("[" + Name + ", " + CurrentDateTime + "]" + ln);
                            out.write("[Sample" + sep + "SystemStamp" + sep + "TimeStamp" + sep+ Description + "]" + ln);
                        }

                        String toPrint = SampleCount + sep + systemStamp + sep + timeStamp;

                        for(String d : data){
                            toPrint += sep + d;
                        }

                        out.write(toPrint + ln);

                        out.close();
                    }
                    catch(Exception e)
                    {				
                            System.out.println("NavdataLogger error: " + e);
                    }
                    finally
                    {
                        if(out != null)
                        {
                            try
                            {
                                    out.close();
                            }
                            catch(Exception ex)
                            {}
                        }
                    }
		}