Please enable JavaScript to view this site.

IDS peak 2.10.0 / uEye+ firmware 3.34

IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.

Specifies the duty cycle of the PWM. Defines the fraction of one pulse (in %) in which the PWM signal is HIGH. The corresponding pulse-width modulation module that should be configured is defined in PWMSelector.

Name

PWMDutyCycle[PWMSelector]

Category

PWMControl

Interface

Integer

Access

Read/Write

Unit

%

Visibility

Beginner

Values

uEye+: 0 ... 100, increment: 1

uEye: 1 … 100, increment: 1

Standard

IDS

Availability uEye+

icon-gev icon-u3v

Availability uEye

icon-ui-gige icon-ui-usb3

hint_info

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 PWMDutyCycle
int64_t value = nodeMapRemoteDevice->FindNode<peak::core::nodes::IntegerNode>("PWMDutyCycle")->Value();
// Set PWMDutyCycle to 50 %
nodeMapRemoteDevice->FindNode<peak::core::nodes::IntegerNode>("PWMDutyCycle")->SetValue(50);

C#

// Determine the current PWMDutyCycle
long value = nodeMapRemoteDevice.FindNode<peak.core.nodes.IntegerNode>("PWMDutyCycle").Value();
// Set PWMDutyCycle to 50 %
nodeMapRemoteDevice.FindNode<peak.core.nodes.IntegerNode>("PWMDutyCycle").SetValue(50);

Python

# Determine the current PWMDutyCycle (int)
value = nodeMapRemoteDevice.FindNode("PWMDutyCycle").Value()
# Set PWMDutyCycle to 50 % (int)
nodeMapRemoteDevice.FindNode("PWMDutyCycle").SetValue(50)

© 2024 IDS Imaging Development Systems GmbH