<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <meta name="generator" content="Adobe RoboHelp 2019" />
<title>Waveform setting sample for Multiple Channels</title>
<link rel="StyleSheet" href="../../../ms_help.css" type="text/css" />
 <script type="text/javascript" language="JavaScript">
//<![CDATA[
function reDo() {
  if (innerWidth != origWidth || innerHeight != origHeight)
     location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
	origWidth = innerWidth;
	origHeight = innerHeight;
	onresize = reDo;
}
onerror = null; 
//]]>
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute;
left:0px;
top:0px;
z-index:4;
visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style>

<script type="text/javascript" src="../../../template/scripts/rh.min.js"></script>
<script type="text/javascript" src="../../../template/scripts/common.min.js"></script>
<script type="text/javascript" src="../../../template/scripts/topic.min.js"></script>
<script type="text/javascript" src="../../../template/scripts/constants.js"></script>
<script type="text/javascript" src="../../../template/scripts/utils.js"></script>
<script type="text/javascript" src="../../../template/scripts/mhutils.js"></script>
<script type="text/javascript" src="../../../template/scripts/mhlang.js"></script>
<script type="text/javascript" src="../../../template/scripts/mhver.js"></script>
<script type="text/javascript" src="../../../template/scripts/settings.js"></script>
<script type="text/javascript" src="../../../template/scripts/XmlJsReader.js"></script>
<script type="text/javascript" src="../../../template/scripts/loadparentdata.js"></script>
<script type="text/javascript" src="../../../template/scripts/loadscreen.js"></script>
<script type="text/javascript" src="../../../template/scripts/loadprojdata.js"></script>
<script type="text/javascript" src="../../../template/scripts/mhtopic.js"></script>
 <link rel="stylesheet" type="text/css" href="../../../template/styles/widgets.min.css">
 <link rel="stylesheet" type="text/css" href="../../../template/styles/topic.min.css">
<script type="text/javascript" >
gRootRelPath = "../../..";
gCommonRootRelPath = "../../..";
gTopicId = "5.1.3.1.0_1";
</script>
 <meta name="brsprev" value="sdk/windows_api/sample/sample_programs_list.htm">
 <meta name="brsnext" value="sdk/windows_api/sample/file_operation.htm">
 <meta name="topic-breadcrumbs" content="C-WaveformGenerator SDK > Windows API > Sample > List of GUI sample programs" />
</head>

<body>
<script type="text/javascript" src="../../../ehlpdhtm.js"></script>

<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P45RPFN" style="width: 0px; 
		 height: 0px; display: none; visibility: hidden;">
 <p>&#160;</p>
</iframe>
</noscript>
<!-- End Google Tag Manager (noscript) -->


<div><script type="text/javascript" language="javascript">//<![CDATA[
document.write("<p  style=\"text-align:left;\" class=\"breadcrumbs\">");
AddMasterBreadcrumbs("../../../c_waveformgenerator.htm", "breadcrumbs", " &gt; ", "Home", "../../../welcome/c_waveformgenerator.htm");
document.write("<a class=\"breadcrumbs\" href=\"../../welcome/CWaveformGeneratorSDK.htm\">C-WaveformGenerator SDK<\/a>  &gt;  <a class=\"breadcrumbs\" href=\"../windows_api.htm\">Windows API<\/a>  &gt;  <a class=\"breadcrumbs\" href=\"sample_programs.htm\">Sample<\/a>  &gt;  <a class=\"breadcrumbs\" href=\"sample_programs_list.htm\">List of GUI sample programs<\/a>  &gt;  Waveform setting sample for Multiple Channels<\/p>");
//]]></script>
</div>

<h1>Waveform setting sample for Multiple Channels [MultiChannelWave]</h1>
<hr style="float: aligncenter; " />
<h2>Appearance</h2>
<p style="margin-left: 40px;"><img src="multi_channel_wave1.png" style=" border:none; width:100%; max-width:472px;" alt="" border="0" /></p>
<h2>Overview</h2>
<p style="margin-left: 40px;">This is the client sample which can launch 
 C-WaveformGenerator.<br />
Contec recommends to refer this sample in the beginning to learn C-WaveformGenerator 
 SDK.</p>
<p style="margin-left: 40px;">This sample program can not only launch C-WaveformGenerator 
 but also it can start/stop to waveform generating.<br />
And also, you can modify the device settings as well as the channel settings 
 while stopping the waveform generating.</p>
<p style="margin-left: 40px;">In advance, you must install your device 
 on your Windows OS.<br />
You can use C-WaveformGenerator even you install &quot;AIO Demo Device&quot; 
 on your Windows OS if you don't have any <a href="../../../welcome/support_device.htm">supported 
 devices</a>. <br />
Please refer &quot;Home &gt; Construction of Driver Environment &gt; Installing 
 Device Driver &gt; Demo Device&quot; on API-AIO(WDM) Help to know the 
 way to install &quot;AIO Demo Device&quot;.</p>
<p style="margin-left: 40px;">Please refer &quot;<a href="file_operation.htm">File 
 sample</a>&quot; if you already have <a href="../../../basic_operation/save_configuration.htm">the 
 configuration file (ini)</a> for C-WaveformGenerator.</p>
<p style="margin-left: 40px;">&#160;</p>
<h2>Step to Use</h2>
<p style="margin-left: 40px;">1. Initialization</p>
<p style="margin-left: 40px;">&#160;- You can see the main window when 
 you launch this sample program.<br />
 &#160;&#160;&#160;Please enter &quot;Device Name&quot; which you register 
 your device on your Windows OS.<br />
 &#160;&#160;&#160;You can indicate the size of window at launching C-WaveformGenerator. 
 (Minimize, Normal, Maximize)</p>
<p style="margin-left: 40px;">&#160;- C-WaveformGenerator may launch when 
 you click [GenOpenApplication] button on this sample program.<br />
 &#160;&#160;&#160;You may not install C-WaveformGenerator properly if 
 C-WaveformGenerator doesn't launch.<br />
 &#160;&#160;&#160;Please <a href="../../../software_uninstallation/application_uninstall.htm">Un-install</a> 
 C-WaveformGenerator and then <a href="../../../software_installation/application_install.htm">install</a> 
 it, again.</p>
<p style="margin-left: 40px;">2. Device settings</p>
<p style="margin-left: 40px;">&#160;- You can see Device setting dialog 
 when you click [Device settings] button on main windows of the sample 
 program.<br />
 &#160;&#160;&#160;You can modify the channel number as well as frequency 
 on it.<br />
 &#160;&#160;&#160;Please refer &quot;<a href="../../../screen_layout/advanced_mode/operation_device_advanced.htm">Device 
 settings</a>&quot; topic in <a href="../../../screen_layout/advanced_mode/operation_panel_advanced.htm">Operation 
 panel</a> to know more about these settings.</p>
<p style="margin-left: 40px;">&#160;&#160;&#160;&#160;Please click [OK] 
 button after you set all settings on Device settings.</p>
<p style="margin-left: 40px;">&#160;&#160;&#160;&#160;<img src="multi_channel_wave3.png" style=" border:none; width:100%; max-width:361px;" alt="" border="0" /></p>
<p style="margin-left: 40px;">3. Channel settings</p>
<p style="margin-left: 40px;">&#160;- You can see Channel setting dialog 
 when you select CH and click [Channel settings] button on main windows 
 of the sample program.<br />
&#160;&#160;&#160;&#160;You can modify Amplitude, Offset, Duty as well 
 as Phase on it.<br />
&#160;&#160;&#160;&#160;Please refer &quot;<a href="../../../screen_layout/advanced_mode/operation_chanel_advanced.htm">Channel 
 settings</a>&quot; topic in <a href="../../../screen_layout/advanced_mode/operation_panel_advanced.htm">Operation 
 panel</a> to know more about these settings.</p>
<p style="margin-left: 40px;">&#160;&#160;&#160;&#160;Please click [OK] 
 button after you set all settings on Channel settings.</p>
<p style="margin-left: 40px;">&#160;- You don't have to modify them if 
 you just confirm the behavior of the sample program.<br />
&#160;&#160;&#160;&#160;Please click [Cancel] button to ignore all your 
 modifications on Channel settings.</p>
<p style="margin-left: 40px;">&#160;&#160;&#160;<img src="multi_channel_wave2.png" style=" border:none; width:100%; max-width:493px;" alt="" border="0" /></p>
<p style="margin-left: 40px;">&#160;- Please select Wave type and click 
 [GenSetWaveType] button when you change the waveform type.</p>
<p style="margin-left: 40px;">&#160;</p>
<p style="margin-left: 40px;">4. Operation</p>
<p style="margin-left: 40px;">&#160;- You can start to generate when you 
 click [GenStartOperation] button on main windows of the sample program.<br />
&#160;&#160;&#160;&#160;You can stop to generate when you click [GenStopOperation] 
 button on main windows of the sample program.</p>
<p style="margin-left: 40px;">&#160;- You can see the current status of 
 C-WaveformGenerator when you choose Normal size window.<br />
 &#160;&#160;&#160;The appearance of C-WaveformGenerator will follow your 
 operation in [GenStartOperation/GenStopOperation] on the sample program.<br />
 &#160;&#160;&#160;Please refer &quot;<a href="../../../screen_layout/advanced_mode/screen_layout_advanced.htm">Screen 
 configuration</a>&quot; to know more detail of C-WaveformGenerator.</p>
<p style="margin-left: 40px;">&#160;</p>
<p style="margin-left: 40px;">5. Exit</p>
<p style="margin-left: 40px;">&#160;- You can terminate C-WaveformGenerator 
 when you click [GenCloseApplication] button on main windows of the sample 
 program.<br />
 &#160;&#160;&#160;In this case, you can operate C-WaveformGenerator by 
 the other our client application with GenOpenApplication function.</p>
<p style="margin-left: 40px;">&#160;- Please click [GenOpenApplication] 
 button if you want to operate C-WaveformGenerator, again.</p>
<p style="margin-left: 40px;">&#160;</p>
<p style="margin-left: 40px;">6. Close</p>
<p style="margin-left: 40px;">&#160;- You can close this sample program 
 when you click [Close] button.<br />
 &#160;&#160;&#160;C-WaveformGenerator may be also terminated.</p>
<p>&#160;</p>
<p>&#160;</p>
<div style="width: 100%; position: relative;" id="footer">
	<hr style="float: aligncenter; " />
	<p>This website uses cookies. By continuing to browse our site you 
	 agree to our <a href="https://www.contec.com/privacy#anc-01">use of 
	 cookies</a>.</p>
</div>
</body>
</html>
