LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

URGENT HELP PLEASE

 

How can I used the 'signal type block' together with 'select signal'  to design a funtion generator?I  need to add a rectangular wave to the signal type and it doesn't like it when I deleted the triagular wave and replace it with rectangular wave.I need help Please.

I have been able to design the function generator with 'signal selector' and 'select signal' but it means that I need to put off one and then put on the next,but I need the generator to change showing just the wave that was chosen.

Kindly assist Urgently PLEASE

0 Kudos
Message 1 of 9
(3,407 Views)

First, saying "URGENT HELP PLEASE" is meaningless and completely irrelevant to us. "Urgent" is your problem, not ours. On most forums this will simply get you ignored.

 

Second, what do you mean by "signal type block"? Please indicate the name of the VI/function that you are using. Better yet, post your code.

 

Third, what does this mean: "I have been able to design the function generator with 'signal selector' and 'select signal' but it means that I need to put off one and then put on the next,but I need the generator to change showing just the wave that was chosen." ???

0 Kudos
Message 2 of 9
(3,399 Views)

I have attached the VI .

 

If you look at the front panel,you can see what I am trying to say.I can select the waveform I need but ,I need to switch off the one preceeding it or both will appear on the screen.

 

I am looking for a means to change the waveform while it is running so that it is  instantaneous.

0 Kudos
Message 3 of 9
(3,385 Views)

Here's another case where the complete solution can be found in the shipping examples.

 

All you need is a single case statement instead of all of the nonsense with the Select Signals and Merge. The conversion of the Boolean array to dynamic data is also overly complex.

0 Kudos
Message 4 of 9
(3,383 Views)

Can you kindly explain what the single case statement is Please?

0 Kudos
Message 5 of 9
(3,373 Views)

Why don't you look at the shipping examples that simulate a function generator? It should be very clear after you do that.

0 Kudos
Message 6 of 9
(3,366 Views)

Use a radio button control (which forces only one in the group to be selected), and then wire the radio button control to a case structure. Select which signal gets passed out via the case structure.

 

To learn more about LabVIEW it is recommended that you go through the introduction material, tutorial(s), and other material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.

0 Kudos
Message 7 of 9
(3,364 Views)

WOW, Jumped on by 2 Knights!

 

Why do professors assign homework that can be answered from the provided course material?  such a bother.


"Should be" isn't "Is" -Jay
0 Kudos
Message 8 of 9
(3,352 Views)

Hi,

 

First i will suggest, for your any problem, try to see shipping example. There is plenty of example, you can search the keyword to select the one you wanted. This will help you in learning as well as developing your small code on pre coded example to reduce your time. You can find example in help -> find Example.

 

Select the case structure for different signal you want to generate. To give control for selection, you may have different controls like "Enum", "System radio buttons" etc.

 

Hope it helps

 

-HS

0 Kudos
Message 9 of 9
(3,333 Views)