LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

signal with varying amplitude

You are just repeating the same mistake. A single sample converted to an array is still a single sample. If you want a sine wave of a specific amplitude, use the built-in functions to create the entire waveform. If you want a just a voltage value and not a continuous waveform, change the daq assistant.
0 Kudos
Message 11 of 15
(892 Views)

Hi Dennis,

Thanks for pointing out my mistake. unfortunatly i have to have the wave form with varying amplitude like u see in the screen shot,thats why i used a formula node.Is it a good idea to have an array of values and send one value after other (amplitude values) to the sine waveform generator to generate the same patterns as u see in the attached file ?

0 Kudos
Message 12 of 15
(888 Views)
There is no screen shot of the waveform you want. Your definition of a sine wave seems to be wrong. What you are generating is asingle point voltage until the inputs to the formula node change. Your division by zero for the loop count is also very wrong.
0 Kudos
Message 13 of 15
(884 Views)

@JGJ27 wrote:

Hi,

i am trying to generate a continous sample 

 


Did you try setting it for 1 sample (on demand)? Let me know if you see anything wrong with the output and we can go from there.

Message 14 of 15
(875 Views)

Hi,

i am attaching the screen of the pattern.

Sample on demand seems to be working. now i am able to see the signal on the oscilloscope via DAQ

The 1/0 approach was to run the loop infinitly 

 

Thanks,

john

0 Kudos
Message 15 of 15
(867 Views)