From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How update basic function generator amplitude for Analog output DAQmx

Solved!
Go to solution

Hello¡

 

I would like to update amplitude variable from inside of the loop, in order to get amplitude and frequency variable dinamically for analog output, (the variable frecuency works well using property node of sample clock inside loop). However, I really do not know if something similar for Basic function generator exists (property node), or another strategy for example local variables that could tackle the problem.

 

I know the execution of the signal parameters is just 1 time, and then the loop, but if I put the signal generator innside the loop the clock does not work well and the frequency change is not the correct.

 

Regards

 

Oscar

0 Kudos
Message 1 of 2
(1,949 Views)
Solution
Accepted by topic author CIChuesos

Hi CIChuesos,

 

Have you checked the example shown here. I think is exactly what you need.

 

Tell me if you have further questions.

 

Regards

0 Kudos
Message 2 of 2
(1,900 Views)