IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Selects which pulse-width modulation module to configure.
Name |
PWMSelector |
Category |
|
Interface |
Enumeration |
Access |
Read/Write |
Unit |
- |
Visibility |
Beginner |
Values |
PWM0 |
Standard |
IDS |
Availability uEye+ |
|
Availability uEye |
|
Values description
•PWM0: Selects the "PWM0".
Pulse width modulation (PWM) is not supported by the following uEye models: •UI-304xLE •UI-313xLE •UI-327xLE •UI-359xLE Rev. 1 / UI-359xLE Rev. 2 •UI-386xLE •UI-388xLE |
Code example
C++
// Determine the current entry of PWMSelector
std::string value = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("PWMSelector")->CurrentEntry()->SymbolicValue();
// Set PWMSelector to "PWM0"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("PWMSelector")->SetCurrentEntry("PWM0");
C#
// Determine the current entry of PWMSelector
string value = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("PWMSelector").CurrentEntry().SymbolicValue();
// Set PWMSelector to "PWM0"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("PWMSelector").SetCurrentEntry("PWM0");
Python
# Determine the current entry of PWMSelector (str)
value = nodeMapRemoteDevice.FindNode("PWMSelector").CurrentEntry().SymbolicValue()
# Set PWMSelector to "PWM0" (str)
nodeMapRemoteDevice.FindNode("PWMSelector").SetCurrentEntry("PWM0")