📄 9332f00d-a9eb-15d0-fa45-c524653f1513.htm
字号:
<html xmlns:MSHelp="http://msdn.microsoft.com/mshelp"><head><title>Phidgets Namespace</title><link rel="stylesheet" type="text/css" href="../styles/presentation.css" /><link rel="stylesheet" type="text/css" href="ms-help://Hx/HxRuntime/HxLink.css" /><script type="text/javascript" src="../scripts/EventUtilities.js"> </script><script type="text/javascript" src="../scripts/StyleUtilities.js"> </script><script type="text/javascript" src="../scripts/SplitScreen.js"> </script><script type="text/javascript" src="../scripts/ElementCollection.js"> </script><script type="text/javascript" src="../scripts/MemberFilter.js"> </script><script type="text/javascript" src="../scripts/CollapsibleSection.js"> </script><script type="text/javascript" src="../scripts/LanguageFilter.js"> </script><script type="text/javascript" src="../scripts/CookieDataStore.js"> </script><meta name="file" content="9332f00d-a9eb-15d0-fa45-c524653f1513" /><xml xmlns:msxsl="urn:schemas-microsoft-com:xslt"><MSHelp:Attr Name="AssetID" Value="N:Phidgets" /><MSHelp:Keyword Index="A" Term="N:Phidgets" /><MSHelp:Keyword Index="A" Term="frlrfPhidgets" /><MSHelp:Keyword Index="K" Term="Phidgets namespace" /><MSHelp:Keyword Index="F" Term="Phidgets" /><MSHelp:Attr Name="TopicType" Value="apiref" /><MSHelp:Attr Name="TopicType" Value="kbSyntax" /><MSHelp:Attr Name="Locale" Value="en-us" /><MSHelp:Attr Name="Abstract" Value="This namespace includes the Phidgets networking, devices, and collection classes belonging to the device classes." /></xml></head><body><script type="text/javascript">var store = new CookieDataStore('docs');registerEventHandler(window, 'load', function() { var ss = new SplitScreen('control', 'main'); selectLanguage(store.get('lang')); });</script><div id="control"><span class="productTitle">A Sandcastle Documented Class Library</span><br /><span class="topicTitle">Phidgets Namespace</span><br /><div id="toolbar"><span id="chickenFeet"><a href="d4648875-d41a-783b-d5f4-638df39ee413.htm">Namespaces</a> ► <span class="selflink">Phidgets</span></span><span id="languageFilter"><select id="languageSelector" onchange="var names = this.value.split(' '); toggleVisibleLanguage(names[1]); lfc.switchLanguage(names[0]); store.set('lang',this.value); store.save();"><option value="CSharp cs">C#</option><option value="VisualBasic vb">Visual Basic</option><option value="ManagedCPlusPlus cpp">Visual C++</option></select></span><script>var sd = getStyleDictionary(); var lfc = new LanguageFilterController();</script></div></div><div id="main"><span style="color: DarkGray"> </span><div class="summary">This namespace includes the Phidgets networking, devices, and collection classes belonging to the device classes.</div><div class="section"><div class="sectionTitle" onclick="toggleSection(this.parentNode)"><img src="../icons/collapse_all.gif" /> Declaration Syntax</div><div class="sectionContent"><table class="filter"><tr class="tabs" id="syntaxTabs"><td class="tab" x-lang="CSharp" onclick="st.toggleClass('x-lang','CSharp','activeTab','tab'); sb.toggleStyle('x-lang','CSharp','display','block','none');">C#</td><td class="tab" x-lang="VisualBasic" onclick="st.toggleClass('x-lang','VisualBasic','activeTab','tab'); sb.toggleStyle('x-lang','VisualBasic','display','block','none');">Visual Basic</td><td class="tab" x-lang="ManagedCPlusPlus" onclick="st.toggleClass('x-lang','ManagedCPlusPlus','activeTab','tab'); sb.toggleStyle('x-lang','ManagedCPlusPlus','display','block','none');">Visual C++</td></tr></table><div id="syntaxBlocks"><div class="code" x-lang="CSharp"><pre><span class="keyword">namespace</span> <span class="identifier">Phidgets</span></pre></div><div class="code" x-lang="VisualBasic"><pre><span class="keyword">Namespace</span> <span class="identifier">Phidgets</span></pre></div><div class="code" x-lang="ManagedCPlusPlus"><pre><span class="keyword">namespace</span> <span class="identifier">Phidgets</span></pre></div></div><script type="text/javascript">
var st = new ElementCollection('syntaxTabs');
var sb = new ElementCollection('syntaxBlocks');
lfc.registerTabbedArea(st, sb);
st.toggleClass('x-lang','CSharp','activeTab','tab');
sb.toggleStyle('x-lang','CSharp','display','block','none');
</script></div></div><div class="section"><div class="sectionTitle" onclick="toggleSection(this.parentNode)"><img src="../icons/collapse_all.gif" /> Types</div><div class="sectionContent"><table class="filter"><tr class="tabs" id="typeFilter"><td class="tab" value="all" onclick="tt.toggleClass('value','all','activeTab','tab'); tf.subgroup='all'; ts.process(getInstanceDelegate(tf,'filterElement'));">All Types</td><td class="tab" value="class" onclick="tt.toggleClass('value','class','activeTab','tab'); tf.subgroup='class'; ts.process(getInstanceDelegate(tf,'filterElement'));">Classes</td><td class="tab" value="enumeration" onclick="tt.toggleClass('value','enumeration','activeTab','tab'); tf.subgroup='enumeration'; ts.process(getInstanceDelegate(tf,'filterElement'));">Enumerations</td></tr></table><table id="typeList" class="members"><tr><th class="iconColumn">Icon</th><th class="nameColumn">Type</th><th class="descriptionColumn">Description</th></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="b8bd0a9f-2d5a-ba95-aaff-4f5495565e7e.htm">Accelerometer</a></b></td><td><div class="summary"><p>This class represents a Phidget Accelerometer. All methods to read acceleration data from an Accelerometer are implemented in this class.</p></div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="3fad3ecf-1f7a-c242-3559-3958dcbf852b.htm">AccelerometerAxis</a></b></td><td><div class="summary">
This class represents an axis of acceleration for a Phidget Accelerometer. All the properties of an Accelerometer axis are stored and modified in this class.
</div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="c8e4bfec-21ad-d65e-ebc4-60907fb23baa.htm">AccelerometerAxisCollection</a></b></td><td><div class="summary">
This class represents the collection of axes related to a Phidget Accelerometer. All the methods and properties used to axes the available axes are implemented in this class.
</div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="61f1a82c-7115-6b74-1e90-36a42cd38712.htm">AdvancedServo</a></b></td><td><div class="summary">
This class represents a Phidget Advanced Servo Controller. All methods to to control a motor controller and read back motor data are implemented in this class.
</div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="b0e8aca8-cd88-1caf-de17-4f0d4f3795ad.htm">AdvancedServoServo</a></b></td><td><div class="summary">
This class represents an advanced servo motor for a Phidget AdvancedServo. All the properties of an advanced servo motor are stored and modified in this class.
</div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="7611bc55-82d2-fcee-7e83-d4bd70c2d194.htm">AdvancedServoServoCollection</a></b></td><td><div class="summary">
This class represents the collection of servos related to a Phidget AdvancedServo. All the methods and properties used to access the available servos are implemented in this class.
</div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="77cc5794-c9dd-d06d-6594-7152ca91b5bc.htm">Dictionary</a></b></td><td><div class="summary">
This class represents the Phidget Dictionary.
</div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="fd46493f-aec1-5049-469d-2bce015b9378.htm">Encoder</a></b></td><td><div class="summary">
This class represents a Phidget Encoder. All methods to read encoder data from an encoder are implemented in this class.
</div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="c58d1183-6427-191e-7c21-d5cad23726a7.htm">EncoderDigitalInputCollection</a></b></td><td><div class="summary">
This class represents a collection of Digital Inputs. All the methods and properties used to access the available digital inputs are implemented in this class.
</div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="9687356e-a2c2-5196-c9c9-5eaae3a1feaa.htm">EncoderEncoderCollection</a></b></td><td><div class="summary">
This class represents a collection of Encoders. All the methods and properties used to axes the available encoders are implemented in this class.
</div><br /></td></tr><tr data="enumeration; public"><td><img src="../icons/pubenum.gif" /></td><td><b><a href="470704a3-4824-6211-b493-c6a887107d13.htm">PhidgetException<span class="languageSpecificText"><span class="cs">.</span><span class="vb">.</span><span class="cpp">::</span><span class="nu">.</span></span>ErrorType</a></b></td><td><div class="summary">
Enumeration of error types. The are mapped to codes defined in the base phidget21 C library.
</div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="0b8d4bf8-f0d8-3c2c-cc52-180c978e6c34.htm">InterfaceKit</a></b></td><td><div class="summary">
This class represents a Phidget Interface Kit. All methods to read and write data to and from an Interface Kit are implemented in this class.
</div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="fcd8df24-3574-e145-4cc0-13333ad57444.htm">InterfaceKitAnalogSensor</a></b></td><td><div class="summary">
This class represents an analog sensor input for a Phidget InterfaceKit. All the properties of an analog sensor input are stored and modified in this class.
</div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="89404f12-558c-eb14-c478-091829b03228.htm">InterfaceKitAnalogSensorCollection</a></b></td><td><div class="summary">
This class represents a collection of Analog Sensor Inputs. All the methods and properties used to access the available analog sensor inputs are implemented in this class.
</div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="d27bba9a-118b-e052-fc65-724ea8410fdb.htm">InterfaceKitDigitalInputCollection</a></b></td><td><div class="summary">
This class represents a collection of Digital Inputs. All the methods and properties used to access the available digital inputs are implemented in this class.
</div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="29835da6-9556-b369-d0dc-6ac1b994a147.htm">InterfaceKitDigitalOutputCollection</a></b></td><td><div class="summary">
This class represents a collection of Digital Outputs. All the methods and properties used to access the available digital outputs are implemented in this class.
</div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="d9ed2ef1-fbf6-33bb-7d0e-16223ec8beec.htm">KeyListener</a></b></td><td><div class="summary">
This class represents a key listener.
</div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="8c7e1066-f2af-ea49-28ac-e956a73e998a.htm">LED</a></b></td><td><div class="summary">
This class represents a Phidget LED. All methods to control a Phidget LED are implemented in this class.
</div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="cd556ce9-d554-c54d-b821-5c2b468f1d4e.htm">LEDLEDCollection</a></b></td><td><div class="summary">
This class represents a collection of LEDs. All the methods and properties used to access the available LEDs are implemented in this class.
</div><br /></td></tr><tr data="enumeration; public"><td><img src="../icons/pubenum.gif" /></td><td><b><a href="f818c700-68ae-f3a3-2512-c884f183af39.htm">Phidget<span class="languageSpecificText"><span class="cs">.</span><span class="vb">.</span><span class="cpp">::</span><span class="nu">.</span></span>LogLevel</a></b></td><td><div class="summary">
Enumeration of possible log levels.
</div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="ed36e91b-eb4f-e6cc-c100-68f27e6a04dc.htm">Manager</a></b></td><td><div class="summary">
This class represents a Phidget Manager.
</div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="5156ae24-1c43-f0d9-2e42-3324e06b0c0f.htm">MotorControl</a></b></td><td><div class="summary">
This class represents a Phidget Motor Controller. All methods to to control a motor controller and read back motor data are implemented in this class.
</div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="e953a1f3-d632-241c-a8bb-3fbb67ec42c8.htm">MotorControlDigitalInputCollection</a></b></td><td><div class="summary">
This class represents a collection of Digital Inputs. All the methods and properties used to access the available digital inputs are implemented in this class.
</div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="b138aa40-9882-b9e8-5dc0-2d87e8f4095b.htm">MotorControlMotor</a></b></td><td><div class="summary">
This class represents a motor for a Phidget MotorControl. All the properties of a motor are stored and modified in this class.
</div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="2d07f81a-d8e8-8cc9-d7e4-6afa2727fd46.htm">MotorControlMotorCollection</a></b></td><td><div class="summary">
This class represents a collection of Motors. All the methods and properties used to access the available motors are implemented in this class.
</div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="794b3221-4163-1211-c0e6-3055eea3768b.htm">Phidget</a></b></td><td><div class="summary">
This is the base class from which all Phidget device classes derive.
</div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="73c8233b-87eb-9d07-4038-75773f1ae97d.htm">PhidgetCollection</a></b></td><td><div class="summary">
This class represents a list of available or attached phidgets.
</div><br /></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" /></td><td><b><a href="8edb365f-379f-1439-651c-18f12eafc13e.htm">PhidgetException</a></b></td><td><div class="summary">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -