Skip to content

Commit

Permalink
fixed style error
Browse files Browse the repository at this point in the history
  • Loading branch information
WayneDroid committed May 9, 2024
1 parent 74dd515 commit 97d6644
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions examples/analog_out/cont_gen_voltage_wfm_int_clk_non_regen.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ def create_sine_wave_with_phase(


def main():
"""
Generate a continuous voltage waveform using an analog output channel of a NI-DAQmx device.
This function sets up a task to generate a continuous voltage waveform using the specified analog output channel
of a NI-DAQmx device. It configures the sampling rate, number of samples, and regeneration mode of the task.
It then enters a loop where it continuously generates a sine wave with a specified frequency, amplitude, and phase,
and writes the waveform to the analog output channel. The loop continues until the user interrupts the program
by pressing Ctrl+C.
"""Generate a continuous voltage waveform using an analog output channel of a NI-DAQmx device.
This function sets up a task to generate a continuous voltage waveform using the specified
analog output channel of a NI-DAQmx device. It configures the sampling rate, number of samples,
and regeneration mode of the task. It then enters a loop where it continuously generates a
sine wave with a specified frequency, amplitude, and phase, and writes the waveform to the
analog output channel.
The loop continues until the user interrupts the program by pressing Ctrl+C.
Args:
None
Expand Down

0 comments on commit 97d6644

Please sign in to comment.