LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

generate a signal at 3kHz that has packets of sinusoidals themselves generated at 50kHz

Hi, I would like to write a vi to generate a signal which consists of packets at 3kHz of 50kHz sinusoidals with the NI-FGEN PCI 5401. The attached example vi workes really fine but I have to add now the 50kHz frequency which I have tried to program in different ways, but it doesn't work. Would someone have an idea how to do it?

Thank you,
Ninskaya
0 Kudos
Message 1 of 15
(3,342 Views)
Hi Ninskaya,

if you are using LabVIEW versio 6.1 or higher and NI-FGEN 2.1 you could use the following example:

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B53A24EA9791426CE034080020E74861&p_node=DZ52290&p_source=External

THis is the only way to solve your problem, because the 5041-Card only has one frequency-generator.

I hope this helps...


Peter Weber
NI Germany
Message 2 of 15
(3,342 Views)
Hi Peter,

Thanks a lot for your help. I will use that vi.

Ninskaya
0 Kudos
Message 3 of 15
(3,342 Views)
Hi Peter, Thank you very much for sending this vi. Do you know in which FGEN vi I can add the two different frequencies to modulate the sinus wave at the same time?

Thank you very much,
Ninskaya
0 Kudos
Message 4 of 15
(3,342 Views)
Hi ninskaya,

I think, you could simply add them. In LabVIEW 7 you can use the normal "add" function, in LabVIEW 6.1 you have to use the "Add Waveforms.VI". Then you have to put the resulting array to the input of "niFGEN Define User Standard Waveform."

I hope this helps, if not, ask again!

Best Regards

Peter Weber
NI Germany
0 Kudos
Message 5 of 15
(3,342 Views)
Hi Peter,
Thanks a lot for your answer. Unfortunately, I do not understand what you mean. I am using the 7.0 version of LabView and I can not find the "add" function. Also, in which niFGEN vi shall I insert the different frequencies?

Best regards,
Ninskaya
0 Kudos
Message 6 of 15
(3,342 Views)
ninskaya wrote:

> Hi, I would like to write a vi to generate a signal which consists of
> packets at 3kHz of 50kHz sinusoidals with the NI-FGEN PCI 5401. The
> attached example vi workes really fine but I have to add now the 50kHz
> frequency which I have tried to program in different ways, but it
> doesn't work. Would someone have an idea how to do it?

With add he meant the little triangel with the plus sign from the
numeric palette.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 7 of 15
(3,176 Views)
Hi Ninskaya,

I meaned the simple numeric function "+".
It's no special FGEN-VI.
Just see the picture,I attached.

Best regards,

Peter Weber
NI Germany
0 Kudos
Message 8 of 15
(3,342 Views)
Hi Peter, Thanks a lot, now I understand what you mean, I was actually looking for a vi. I tested using this function which as you mentioned adds the different frequencies but it seems more complicated to generate the below signal. Would you have an idea how and if it is actually possible to programm it with Labview 7.0?

Best regards,
Ninskaya
0 Kudos
Message 9 of 15
(3,342 Views)
Hi Rolf, Thanks a lot for your help. Best, Ninskaya
0 Kudos
Message 10 of 15
(3,176 Views)