LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI PXI-5652 continuous frequency change

Solved!
Go to solution

Hello.

 

I need to make a VI with a continuously varying the output frequency and power level of the NI PXI-5652 generator. In the Soft Front Panel application it is implemented and frequency can be adjusted using the knob. How to do it in the VI?

 

Of help, I found out that I have to turn off generation to change settings. In this case, turn on and off in a loop seems to me not right. On the basis of an example, I made ​​a VI, but how to make synchronous feed to update when I change the parameters - it is not clear.

 

scr.png

 

Thanks in advance for your help.

0 Kudos
Message 1 of 3
(2,560 Views)
Solution
Accepted by topic author LVU14

Hi,

 

You can actually change both the output frequency and power level from that configuration VI without stopping and starting the task.  You can also remove the case structure and just have the frequency and power values update continuosly.  I've tested this out and attached a modified version of your VI to demonstrate this.

Message 2 of 3
(2,517 Views)

Thanks!

 

Following the example, I assumed that before the frequency change is necessary to switch off. But you have modified the program works fine.

0 Kudos
Message 3 of 3
(2,500 Views)