1<?xml version="1.0" encoding="utf-8"?> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 4<head> 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 6 <meta http-equiv="Content-Style-Type" content="text/css" /> 7 <link rel="stylesheet" href="../../css/manpage.css" type="text/css" /> 8</head> 9<body> 10<h1>hio - HioDemoPC Demo</h1> 11<h2>Description</h2> 12<div class="section"> 13 <p>This sample uses HostIO to communicate on the host side (on the PC). <BR> Visual Studio and the <CODE>HioDemoCTR</CODE> sample for the CTR system are required to run this demo.</p> 14</div> 15<h2>Required Environment</h2> 16<div class="section"> 17 <ul> 18 <li>PARTNER-CTR HIO-Daemon must be installed beforehand. <BR> For the installation method, see CTR Development Environment Startup Guidelines.</li> 19 </ul> 20 <ul> 21 <li>Visual Studio is required to build the demo (<CODE>HioDemoPC</CODE> or <CODE>HioDemoPCCpp</CODE>) on the PC.</li> 22 </ul> 23</div> 24<h2>How to Use</h2> 25<div class="section"> 26 <p>None.</p> 27</div> 28<h2>Notes</h2> 29<div class="section"> 30 <ul> 31 <li>hio is a development feature. Release builds of this demo do not run for this reason.</li> 32 </ul> 33 <ul> 34 <li>PARTNER-CTR HIO-Daemon must be started before running this demo.</li> 35 </ul> 36 <ul> 37 <li>Do not use HTEST.EXE or TestHostIO.exe installed along with the PARTNER-CTR HIO-Daemon. <br /> If used, <CODE>HioDemo</CODE> will not run normally and will stop in mid-execution.</li> 38 </ul> 39</div> 40<h2>Execution Procedure</h2> 41<div class="section"> 42<p>A command prompt is launched when you execute <B>Start Debug</B> on Visual Studio, and the PC will wait for connection of the CTR system. <BR> Next, the following log is output to the command prompt when <CODE>HioDemoCTR</CODE> on the CTR system is executed using PARTNER-CTR Debugger.</p> 43<pre class="code">HostIO Library Version: 9 44START 45===== Serial IO Sample ===== 46open 47write 48write size: 8 49flush 50read size: 8 51read data: 'Hello!!' 52disconnect. 53close. 54===== Shared Memory Sample ===== 55shared memory size: 32699 56read data: 'Ping!!' 57read data: 'Pong!!' 58write data: 'Pong!!' 59read data: 'Ping!!' 60END</pre> 61</div> 62<h2>Revision History</h2> 63<div class="section"> 64 <dl class="history"> 65 <dt>2011/02/02</dt> 66 <dd>Initial version.</dd> 67 </dl> 68</div> 69<hr><p>CONFIDENTIAL</p></body> 70</html> 71