[DefaultCom] DefaultBaudrate=115000 DefaultParity=0 DefaultStopBits=1 DefaultDataBits=8 [General] SyncMode=3 //raw mode DataRate=30 // Maximum expected data rate 30 Hz TimeOut=5.0 // Maximum time out is 1 seconds NumberOfMessages=6 // Number of messages defined in this file DevType=MTI DeviceDll = MotionTrackerInterface [Msg(0)] ID=\xFA\xFF\x32 IDStart=0 IDLength=3 MessageType=9 //Decoding methode formula MsgMode=0 //Input message NewElement=1 NumDataEntries=3 NormData(0).Entry=0 NormData(0).Formula=0 // No heave NormData(1).Entry=1 NormData(1).Formula=BinValue(GetSubStr(var0,4,4),-4)-90 //Roll -90 for vert mount //NormData(1).Formula=Asin(Cos(Value(FindDel(",",1,var0)))*Sin(Value(FindDel(",",0,var0)))) //Roll NormData(1).Unit=Degrees (Port Up) NormData(2).Entry=2 NormData(2).Formula=BinValue(GetSubStr(var0,8,4),-4) //Pitch NormData(2).Unit=Degrees (Bow Down) [Msg(1)] MsgMode=5 //Set to config mode Template=\x30 NumItems=0 [Msg(2)] MsgMode=5 //Set output to to orientation data Template=\xD0\x00\x04 NumItems=0 [Msg(3)] MsgMode=5 //Set Euler output Template=\xD2\x00\x00\x00\x04 NumItems=0 [Msg(4)] MsgMode=5 //Set sample period 10 msec Template=\x04\x04\x80 NumItems=0 [Msg(5)] MsgMode=5 //Goto measure mode Template=\x10 NumItems=0