﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>RoboticsConnection User Forum / RoboticsConnection Software Support / Serializer C++ Library  / multiple servo control / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>RoboticsConnection User Forum</description><link>http://www.roboticsconnection.com/userForums/</link><webMaster>info@roboticsconnection.com</webMaster><lastBuildDate>Thu, 20 Nov 2008 22:23:40 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: multiple servo control</title><link>http://www.roboticsconnection.com/userForums/Topic41-8-1.aspx</link><description>The servo ID number must be provided to the constructor of CServoMotor class.  &lt;/P&gt;&lt;P&gt;The sample source code in TestHarnessDlg.cpp that demonstrates this follows:&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;&lt;FONT color=#008000 size=2&gt;// Create the differential DC motor object if it does not yet exist.&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;if&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;&lt;FONT size=2&gt; (m_pServoMotor == NULL)&lt;BR&gt;{&lt;BR&gt;    m_pServoMotor = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT face="Courier New"&gt; CServoMotor(m_Device, ActuatorConstants::MOTOR_ID_1);&lt;BR&gt;    assert(m_pServoMotor != NULL);&lt;BR&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The corrlelation between servo ID and Pin number is documented in the Serializer User Guide.  &lt;/FONT&gt;</description><pubDate>Thu, 06 Mar 2008 23:47:39 GMT</pubDate><dc:creator>jywilson</dc:creator></item><item><title>RE: multiple servo control</title><link>http://www.roboticsconnection.com/userForums/Topic41-8-1.aspx</link><description>hi rdas. i am darren. &lt;/P&gt;&lt;P&gt;i am also using the serializer. but having problems. are u able to send me the source codes for c# and write me a dummy steps to operating it. it will be much appreciated.&lt;/P&gt;&lt;P&gt;send it to &lt;A href="mailto:tan_yong_han@hotmail.com"&gt;tan_yong_han@hotmail.com&lt;/A&gt;</description><pubDate>Thu, 06 Mar 2008 19:03:26 GMT</pubDate><dc:creator>xmilkbarx</dc:creator></item><item><title>multiple servo control</title><link>http://www.roboticsconnection.com/userForums/Topic41-8-1.aspx</link><description>hi,&lt;br&gt;&lt;br&gt;i got my serializer to work and its very nice. i'm using c++ in vs2005 to control it. so far i've gone through every line of the supplied test harness and the serializerlib source code and i want to go from using 1 servo to 2 at the same time.&lt;br&gt;&lt;br&gt;i'm not seeing the relationship between the servo id number and a new initialized servo (in the testharness files). am i to assume that the first servo initialized is automatically assigned the next pin? or should i create a new pointer and change the motor_id to 2?&lt;br&gt;&lt;br&gt;thanks</description><pubDate>Sun, 03 Feb 2008 15:05:32 GMT</pubDate><dc:creator>rdas</dc:creator></item></channel></rss>