[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 50 Hz TimeOut=5.0 //Maximum time out is 5 seconds NumberOfMessages=2 //Number of messages difined in this file MessageType=9 //Decoding methode formula [Msg(0)] // 0 1 2 3 4 5 6 7 8 9 0 1 2 3 //$PASHS,XDR,A,x.x,D,N,A,x.x,D,E,C,x.x,C,T-sn // | | | | | | | | | | | | | // | | | | | | | | | | | | Serial number // | | | | | | | | | | | Comment, T for temperature // | | | | | | | | | | Units, C=degrees C // | | | | | | | | | Temperature of tiltmeter // | | | | | | | | Data Type, C=Temperature // | | | | | | | Comment, E for East/West direction // | | | | | | Units, M=microradians, D=degrees // | | | | | X (E)-tilt value // | | | | Data Type, A=Angular // | | | Comment, N for North/South direction // | | Units, M=microradians, D=degrees // | Y (N)-tilt value // Data Type, A=Angular // Example: //$PASHS,XDR,A,-00.920,D,N,A,-00.210,D,E,C,030.045,C,T-N1212 // Units are asumed in degrees. MsgMode=0 //Input message ID=$PASHS,XDR //Message ID $PASHS,XDR IDStart=0 //start at char 0 IDLength=10 //Id lenght 6 chacters NewElement=1 //This message forwards the data block to the comps. NumDataEntries=3 NormData(0).Entry=0 NormData(0).Formula=0 //Heave NormData(1).Entry=1 NormData(1).Formula=Value(FindDel(",",7,var0))*Value(Map("W,E","1,-1",FindDel(",",9,var0))) //Roll NormData(1).Unit=Degrees (Port Up) NormData(2).Entry=2 NormData(2).Formula=Value(FindDel(",",3,var0))*Value(Map("N,S","1,-1",FindDel(",",5,var0))) //Pitch NormData(2).Unit=Degrees (Bow Down) [Msg(1)] // 0 1 2 3 4 5 6 7 8 9 //$YXXDR,A,x.x,D,N,A,x.x,D,E,C,x.x,C,T-sn*hh // | | | | | | | | | | | | | | // | | | | | | | | | | | | | Checksum // | | | | | | | | | | | | Serial number // | | | | | | | | | | | Comment, T for temperature // | | | | | | | | | | Units, C=degrees C // | | | | | | | | | Temperature of tiltmeter // | | | | | | | | Data Type, C=Temperature // | | | | | | | Comment, E for East/West (X) direction // | | | | | | Units, M=microradians, D=degrees // | | | | | X (E)-tilt value // | | | | Data Type, A=Angular // | | | Comment, N for North/South (Y) direction // | | Units, M=microradians, D=degrees, // | Y (N)-tilt value // Data Type, A=Angular // Example: //$YXXDR,A,-00.920,D,N,A,-00.210,D,E,C,030.045,C,T-N1212*57 MsgMode=0 //Input message ID=$YXXDR //Message ID $YXXDR IDStart=0 //start at char 0 IDLength=6 //Id lenght 6 chacters NewElement=1 //This message forwards the data block to the comps. NumDataEntries=3 NormData(0).Entry=0 NormData(0).Formula=0 //Heave NormData(1).Entry=1 NormData(1).Formula=Value(FindDel(",",6,var1))*Value(Map("W,E","1,-1",FindDel(",",8,var1))) //Roll NormData(1).Unit=Degrees (Port Up) NormData(2).Entry=2 NormData(2).Formula=Value(FindDel(",",2,var1))*Value(Map("N,S","1,-1",FindDel(",",4,var1))) //Pitch NormData(2).Unit=Degrees (Bow Down)