Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I select different numeric values in the front panel and put then in an array?

Hi everyone

 

I'm doing a program for doing a sweep. I need to do this sweep for different values of frequency. I want to be able to first choose the various frequencies and then do the sweeps.

I can I choose the frequencies, I made Boolean commands for each frequency, and then use the chosen ones for the sweep?

 

Thanks in advance for your help.

 

 

0 Kudos
Message 1 of 5
(6,675 Views)

Dear Catbia,

 

If I've Understood you correctly, you wish to do a frequency sweep through your code, for a number of different frequency ranges.

 

I would suggest building an array that contains all the frequency ranges you wish to operate within, and then passing these through your code, thus building your results for each array entry.

i think it would be beneficial if you could post your code up here so i can have a look at what you have done. in the mean time I'm going to have a look at some example code and see if I can find anything to suit.

 

Regards

 

Richard

Richard S
Applications Engineer
Certified LabVIEW Associate Developer
National Instruments UK&Ireland
0 Kudos
Message 2 of 5
(6,651 Views)

Hi,

thanks for the help.

I have use the Select tool to pick the frequencies. I put the front panel and block diagram of what I have done. I want the user to pick the frequencies he wants.

I will then use them as a parameter of the sweep.

 

Cheers 

Catbia

0 Kudos
Message 3 of 5
(6,649 Views)

Sorry, I forgot to put the front panel.

 

Cheers,

catbia

 

0 Kudos
Message 4 of 5
(6,646 Views)

Are you actually completing a sweep or are you just putting a finite frequency value through the code?

 

Also what problem are you encountering? what are you seeing as you run the code?

 

Regards

 

Richard.

Richard S
Applications Engineer
Certified LabVIEW Associate Developer
National Instruments UK&Ireland
0 Kudos
Message 5 of 5
(6,627 Views)