[DefaultCom] DefaultBaudrate=9600 DefaultParity=0 DefaultStopBits=1 DefaultDataBits=8 [General] SyncMode=0 //Sync on terminator SyncCount=1 //Sync lenght SyncString=10 //Sync character is linefeed DataRate=50 //Maximum expected data rate 1 Hz TimeOut=2.0 //Maximum time out is 5 seconds NumberOfMessages=1 //Number of messages difined in this file [Msg(0)] MessageType=9 //Decoding methode formula MsgMode=0 //Input message ID=: //Message ID : IDStart=0 //start at char 0 IDLength=1 //Id lenght 1 chacters NewElement=1 //This message forwards the data block to the comps. NumDataEntries=4 //The format of the TSS2 string in the MiniSense2 is //:-0000 0001F-0007 0010F //:aaaaa BbbbbF Ccccc DddddF //01234567890123456789012345 6 7 //Where //aaaaa is the heading in hundreds of a degree //Bbbbb is heave in cm (B is space for positive, - for negative) //Ccccc is roll in hundreds of a degree (C is space for positive, - for negative) //Ddddd is pitch in hundreds of a degree (D is space for positive, - for negative) //Fstatus always happy for CDL NormData(0).Entry=0 NormData(0).Formula=Value(GetSubStr(var0,7,5))/100 // heave NormData(0).Unit=Meters NormData(1).Entry=1 NormData(1).Formula=Value(GetSubStr(var0,13,5))/100 // roll NormData(1).Unit=Degrees (Port Up) NormData(2).Entry=2 NormData(2).Formula=-Value(GetSubStr(var0,19,5))/100 // pitch NormData(2).Unit=Degrees (Bow Down) NormData(3).Entry=7 NormData(3).Formula=Value(Map("U,u,G,g,H,h,F,f","11,12,13,14,1,2,3,4",GetSubStr(var0,12,1)))