LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

unction Generator

Which is the best way to generate a modulated waveform from 1Hz to 1Khz ?
I'm using the sinc function but it is no accurate
0 Kudos
Message 1 of 4
(3,168 Views)
Hello Carlos,
We would be better able to answer your questions and assist you if you could provide us with example code that demonstrates how you are calling the sinc() function and a description of why you think it is not accurate (how does it not meet your expectations). It might also help if you could explain exactly what type of modulated waveform you desire.

Jeremiah Cox
Applications Engineer
National Instruments
http://www.ni.com/ask
0 Kudos
Message 2 of 4
(3,168 Views)
Hello Jeremiah and thank you for your attention.
First I have comitted a mistake, I'm using the Chirp Function, I'm sorry.

Second I'm trying to calculate the transfer function of a device under test
( in my case a DC-DC Converter), I need to generate a stimulus signal with
different frecuencies, from 1Hz to 1KHz, this stimulus will be generated by
the PCI6024E data adquisition card, and the response of the system will be
collected by the same card. Once the stimulus and signal will be collected
the function transfer must be performed and must be displayed as a Bode
Diagram in the frecuency domain.

This stimulus signal must have different frecuencies component from and to:

a.. 0.1-1Hz
b.. 1Hz-10Hz.
c.. 10Hz-100Hz
d.. 100Hz-1000Hz
To study the system for different frecuencies, therefore I need the maximun
precision for low frecuency overall.

My questions are:

How can I generate this stimulust? Which is the best way to generate this
signal?By using Chirp function?How can I split the signal in logarithmic
form?

In the following file barrido.prj I only generate several signals and use
AutoPowerSpectrum for the domain frecuency without the usage of the card.
Once I be able to generate this stimulus signal I will use the card to
generate the analogic signal for the device and collect the response. Which
are the best functions for this purpose?

I'm grateful for your attention.

Carlos Gutierrez

"Jeremiah Cox" wrote in message
news:50650000000500000065380000-993342863000@exchange.ni.com...
> Hello Carlos,
> We would be better able to answer your questions and assist you if you
> could provide us with example code that demonstrates how you are
> calling the sinc() function and a description of why you think it is
> not accurate (how does it not meet your expectations). It might also
> help if you could explain exactly what type of modulated waveform you
> desire.
>
> Jeremiah Cox
> Applications Engineer
> National Instruments
> http://www.ni.com/ask



[Attachment barrido.c, see below]


[Attachment barrido.h, see below]


[Attachment barrido.prj, see below]


[Attachment barrido.uir, see below]


[See first reply for additional information]
Download All
0 Kudos
Message 3 of 4
(3,168 Views)
[Additional attachment(s)]
0 Kudos
Message 4 of 4
(3,168 Views)