Specifies the frequency of the PWM pulse signal. The unit of the frequency is Hz. The corresponding pulse-width modulation module that should be configured is defined in PWMSelector.
Name |
PWMFrequency[PWMSelector] |
Category |
|
Interface |
Float |
Access |
Read/Write |
Unit |
Hz |
Visibility |
Beginner |
Values |
uEye+: 5 ... 100000, increment: 0,01 uEye: 1 … 10000, increment: 0,01 |
Standard |
IDS |
Availability uEye+ |
|
Availability uEye |
|
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 PWMFrequency
double value = nodeMapRemoteDevice->FindNode<peak::core::nodes::FloatNode>("PWMFrequency")->Value();
// Set PWMFrequency to 100.0 Hz
nodeMapRemoteDevice->FindNode<peak::core::nodes::FloatNode>("PWMFrequency")->SetValue(100.0);
C#
// Determine the current PWMFrequency
double value = nodeMapRemoteDevice.FindNode<peak.core.nodes.FloatNode>("PWMFrequency").Value();
// Set PWMFrequency to 100.0 Hz
nodeMapRemoteDevice.FindNode<peak.core.nodes.FloatNode>("PWMFrequency").SetValue(100.0);
Python
# Determine the current PWMFrequency (float)
value = nodeMapRemoteDevice.FindNode("PWMFrequency").Value()
# Set PWMFrequency to 100.0 Hz (float)
nodeMapRemoteDevice.FindNode("PWMFrequency").SetValue(100.0)