LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx functions - update frequency

Please refrain from creating multiple posts for the same topic. Consolidating into one thread provides full history of the options you have tried and guidance provided.

 

https://forums.ni.com/t5/LabVIEW/Writing-dynamic-pulse-signal-to-DAQmx-write-buffer/td-p/4367934

https://forums.ni.com/t5/LabVIEW/PWM-duty-cycle-output/m-p/4367124#M1283061

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 11 of 13
(40 Views)

Hi Matthews,

 


@21Matthews wrote:

My code currently runs my waveform and collects data points for 2 seconds before sending data to the "DAQmx write" function. When I highlight the execution, it looks like only the latter second of data is written into the buffer, which then plays for 2 seconds.


Your code does EXACTLY what you have programmed to do: use the waveform generated of the last iteration of your FOR loop!

 

Hint: there's a AppendWaveform function that you can use to append one waveform to the other…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 13
(48 Views)

This post is duplicated with Re: DAQmx functions - update frequency

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 13 of 13
(31 Views)