Skip to content

Commit

Permalink
Updated version info and help
Browse files Browse the repository at this point in the history
  • Loading branch information
RBEI-Saravanan committed Jul 1, 2016
1 parent 285a451 commit 31f4708
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 61 deletions.
18 changes: 18 additions & 0 deletions Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
commit 285a451d4bccf43c4981374238b854be9c296e10
Author: saravanan <[email protected]>
Date: Fri Jul 1 12:55:37 2016 +0530

Updated files for v3.0.0

commit 69530befe9ca80d8fbe609dba50fe0447563cbc4
Author: saravanan <[email protected]>
Date: Thu Jun 30 17:56:36 2016 +0530

BUSMASTER v3.0.0 changes

commit 93f0f2805bbef626758a717ab176d47bc424bab4
Author: Prathiba <[email protected]>
Date: Tue Nov 17 12:07:30 2015 +0530

Version information updated

commit 41180fd99ae65bf8d2b683eb8095acb87c41b1f8
Author: Prathiba <[email protected]>
Date: Mon Nov 16 18:24:59 2015 +0530
Expand Down
60 changes: 0 additions & 60 deletions Documents/4 Help_New/topics/stlin_struct.dita
Original file line number Diff line number Diff line change
Expand Up @@ -79,40 +79,6 @@
</tbody>
</tgroup>
</table></p>
<p><b>Input Parameters:</b></p>
<p><b>m_ucMsgTyp</b></p>
<p>0 - Sets message type as Header</p>
<p>1 - Sets message type as Response</p>
<p><b>m_ucChksumTyp</b></p>
<p>0 - Sets checksum type as Classic</p>
<p>1 - Sets checksum type as Enhanced</p>
<p><b>m_ucDataLen</b></p>
<p>dlc of the LIN message. Valid range of LIN data length is 0..8.</p>
<p><b>m_ucMsgID</b></p>
<p>LIN message identifier</p>
<p><b>m_aucData</b>, <b>m_auwData, m_aulData</b></p>
<p>Contains data bytes</p>
<p><b>m_sWhichBit</b></p>
<p>To access/update Data bytes</p>
<p><b>m_ulTimeStamp</b></p>
<p>Actual time stamp of the received message</p>
<p><b>m_ucChannel</b></p>
<p>Channel number</p>
<p><b>m_ucCRC</b></p>
<p>Checksum value of the received message</p>
<p>STLIN_Msg Example:</p>
<p><codeblock>STLIN_MSG sMsg;

sMsg.m_ucMsgTyp = 1; // Slave Response
sMsg.m_ucChksumTyp = 0; // Classic
sMsg.m_ucDataLen = 8;
sMsg.m_ucMsgID = 0x4;
sMsg.m_sWhichBit.m_aulData[0] = 10; // Lower 4 Bytes
sMsg.m_sWhichBit.m_aulData[1] = 20; // Upper 4 Bytes
sMsg.m_ucChannel = 1;

// Send the message
SendMsg(sMsg);</codeblock></p>
<p><b>Event Structure:</b></p>
<p>SEVENT_CHECKSUM_LIN Structure Definition</p>
<p><codeblock>struct SEVENT_CHECKSUM_LIN
Expand Down Expand Up @@ -144,31 +110,5 @@ SendMsg(sMsg);</codeblock></p>
};</codeblock></p>
<p>Required Include header file is LINIncludes.h</p>
<p/>
<p>Accessing database message signal values</p>
<p>Database message structures can be meaningfully interpreted. Database message structures will have signal members as defined in the database. Signal raw value can be directly assigned by using member of database message structure with the signal name.</p>
<p>LIN_Request is a database message that has signals Sig1, Sig2 and Sig3. Each signal is 2 bytes of length. To assign raw value of a signal use message name structure and use signal name as member.</p>
<p><codeblock>// Message Declaration
LIN_Request sMsgStruct = { 1, 0, 8, 0x4, { 0, 0, 0, 0, 0, 0, 0, 0 } };

// Use signal member

// Sig1
sMsgStruct.m_sWhichBit.Sig_1 = 10;

// Sig2
sMsgStruct.m_sWhichBit.Sig_2 = 20;

// Sig3
sMsgStruct.m_sWhichBit.Sig_3 = 30;

// Send the message now
SendMsg(*((STLIN_MSG *)&amp;sMsg));</codeblock></p>
<p>Right click on edit area of function editor. Select &quot;Insert Message&quot; or &quot;Insert Signal&quot; option to insert message structure or signal structure. Select the option &quot;Yes, I want to declare selected message structure variable&quot; option in the &quot;Message and Signal List&quot; to initialise message with its struct definition.</p>
<p>Required Include header file Unions.h</p>
<p><b>Note:</b></p>
<p><ul>
<li>Unions.h file will be automatically generated by BUSMASTER during database import.</li>
<li>This file will be in the database file directory</li>
</ul></p>
</body>
</topic>
2 changes: 1 addition & 1 deletion Sources/BUSMASTER/Application/BUSMASTER.rc
Original file line number Diff line number Diff line change
Expand Up @@ -1780,7 +1780,7 @@ BEGIN
IDS_INVALID_DB_PROMPT "Invalid database filename"
ID_ACTIVE_DATABASE_NAME " "
IDS_MESSAGE_NAME "Message Name"
IDS_VERSION "Ver 3.0.0Nightly158"
IDS_VERSION "Ver 3.0.0"
IDS_HEADER "***NOTE: PLEASE DO NOT EDIT THIS DOCUMENT***\n\n\n***[START LOGGING SESSION]***\n"
IDS_FOOTER "***[END LOGGING SESSION]***"
IDS_CONNECT "&Connect\tF2"
Expand Down

0 comments on commit 31f4708

Please sign in to comment.