LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generate analog values using 6052E and wait for a specific time between each generation:

Hi Dennis:

If I have to set a certain amplitude for the sine wave, and then run it at different frequencies which of the two should I use.

 

Sine Pattern. vi

or

Sine wave. vi

 

I have a DC offset and a certain amplitude for the AC part.  I have to change the frequency of the AC part at that amplitude from 10-1000 Hz.

 

Thanks,

 

Mizar.

0 Kudos
Message 11 of 19
(1,320 Views)
Sine Wave is probably a bit easier to use.
0 Kudos
Message 12 of 19
(1,312 Views)

Hi Dennis:

 

I have this setup based on the previous VI.  However, the output only shows the DC offset.  I cannot see the AC component?

 

Thanks,

 

Mizar

0 Kudos
Message 13 of 19
(1,309 Views)

Hi Dennis:

 

Had one more question for you.  As you know, I have PCI6052E with SCB68 running LabView 6.1.  I can generate a square wave, but I need to change the width of the pulse.  Which way do you think I should go?

 

Thanks,

 

Mizar.

0 Kudos
Message 14 of 19
(1,305 Views)
The f input is not in hz. You can read the on-line help for an explanation. I don't have time right now to do an example. I was searching though the shipping examples and ound one that uses uses Sine Pattern. Open the shipping example called Basic Single Tone Measurements. There is a subVI in there called Create Test Signal. Look how the frequency is set. Do you have the Analyze>Waveform Genration palette. There is a function there called Sine Waveform. You can use this or look at the block diagram to see how the f input is correctly calculated based on sample rate and desired frequency.
0 Kudos
Message 15 of 19
(1,296 Views)

Hi Dennis:

 

Is the example you had asked me to look at in Labview? I was unable to locate it.

 

Thanks,

 

Mizar,

0 Kudos
Message 16 of 19
(1,275 Views)
The name in 6.1 is Basic Single Tone Detector Example and from the example finder browse tab is at Analyzing and Processing Signals>Tone Measurements. I had 7.1 open when I gave the name and I don't know if the name changed or if I just typed in wrong. The Sine Waveform function is on the Analyze>Wavefrom Generation palette as I mentioned and I believe it ships with all versions of LabVIEW.
0 Kudos
Message 17 of 19
(1,269 Views)

Hi Dennis:

 

Thanks a lot for the tip.  I have successfully used the SINE WAVE GENERATOR to cycle different frequencies.  If I need to send a pulse with a variable pulse width how can I go about it?

 

Thanks,

 

Mizar

0 Kudos
Message 18 of 19
(1,264 Views)
Look at the shipping example called Generate Single Pulse (DAQ-STC). Find Examples>Hardware Input and Output>Counters>DAQ-STC.
0 Kudos
Message 19 of 19
(1,256 Views)