DAQmx_CreatePulseChannelFreq
Creates a task and channel to generate pulse.
Syntax
C++
Python
def DAQmx_CreatePulseChannelFreq( state: DAQmx_CreatePulseChannelFreqState, /, *, inDeviceID: str | None = None, inCounter: str | None = None, inIdleState: DAQmxIdleState = DAQmxIdleState.High, inInitDelay: float = 0, inFrequency: float = 0, inDutyCycle: float = 0 ) -> outTaskID: int
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
ioState | DAQmx_CreatePulseChannelFreqState | ||
![]() |
inDeviceID | str | None | None | Device alias, product name or a serial number |
![]() |
inCounter | str | None | None | Name of a counter used to create virtual channel |
![]() |
inIdleState | DAQmxIdleState | DAQmxIdleState.High | Resting state of an output terminal |
![]() |
inInitDelay | float | 0 | Time (in seconds) to wait before generating pulse |
![]() |
inFrequency | float | 0 | Frequency of generated pulse |
![]() |
inDutyCycle | float | 0 | The width of the pulse divided by the pulse period |
![]() |
outTaskID | int | ID of a created task |
Multithreaded environment
This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.



