The Pwm class provides methods for controlling the pulse-width modulation (PWM). PWM is a way of altering a digital signal. A pulse width modulated signal is a rectangular signal with a fixed frequency (i.e. distance between pulses) but varying pulse duration ("duty cycle"). For example, you can control the brightness of a light source with a fast PWM signal: When using a short duty cycle, the light source is dim. When using a longer duty cycle, the light source gets brighter.
The pulse width modulation is supported by all GigE uEye cameras, USB 3 uEye cameras, and uEye SE USB 3.1 Gen 1 cameras. It is not supported by uEye LE USB 3.1 Gen 1.
Methods
Method |
Description |
---|---|
Returns the range for the duty cycle. |
|
Returns the range for the frequency. |
|
Returns the current PWM mode. |
|
Returns the current values of the PWM parameters. |
|
Returns the GPIOs which can be used for PWM. |
|
Sets the current PWM mode. |
|
Sets the current values of the PWM parameters. |