⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c-collect4.html

📁 vxworks相关论文
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title>    Configuring Data Collection   </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="c-collect.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-collect.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-collect3.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-upload.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h3 class="H2"><i><a name="84511">3.4  &nbsp;&nbsp;Starting and Stopping Data Collection</a></i></h3></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84512"> </a>As you add more instrumentation, you increase the number of logged events. If there is a lot of activity on your target, starting and stopping WindView manually from the control window can generate unnecessarily large logs and make your problem-solving more difficult. There are three ways to control WindView:</p></dl><dl class="margin"><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84519"> </a>Use the <img class="figure" border="0" src="images/c-collect8.gif"> and <img class="figure" border="0" src="images/c-collect7.gif"> buttons on the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Control</font></b> window. This is the most straightforward but least precise method.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84520"> </a>Use triggering. This is a powerful tool for focusing your data collection and simplifying your problem solving. See <a href="c-trigger.html#84816"><i class="title">6.&nbsp;Triggering</i></a>.</li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84521"> </a>Use the WindView API; issue WindView commands from WindSh or include them in your application code. This method can be very precise but is more difficult to use than triggering. </li></ul></p><dl class="margin"><dd><div class="Indent"><a name="88106"> </a>There are two approaches to using the API. The most straightforward is to use <b class="routine"><i class="routine">wvOn</i></b><b>(&nbsp;)</b> and <b class="routine"><i class="routine">wvOff</i></b><b>(&nbsp;)</b>, located in <b class="library">target/src/config/usrWindview.c</b>. These routines start a typical instance of event logging and upload. These routines are not used by WindView itself, so they can be modified to suit individual requirements.</div><br><dd><div class="Indent"><a name="88108"> </a>The second approach is to use the routines in <b class="file">wvLib</b>. Information is available in the reference entries; you can examine the source code in <b class="library">target/src/config/usrWindview.c</b> to see how they are used. They are more difficult to use than <b class="routine"><i class="routine">wvOn</i></b><b>(&nbsp;)</b> and <b class="routine"><i class="routine">wvOff</i></b><b>(&nbsp;)</b>, since the order in which they are invoked is critical.</div><br><dd><div class="Indent"><a name="88107"> </a>All WindView routines are discussed in <a href="wvGuideLOP.html#333"><i class="title">C.&nbsp;Library and Subroutine Reference</i></a>. </div><br></dl></dl><dl class="margin"><dd><p class="Body"><a name="83718"> </a></p></dl></dl><a name="foot"><hr></a><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="c-collect.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-collect.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-collect3.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-upload.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p></body></html><!---by WRS Documentation (), Wind River Systems, Inc.    conversion tool:  Quadralay WebWorks Publisher 4.0.11    template:         CSS Template, Jan 1998 - Jefro --->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -