IF-RIO

cancel
Showing results for 
Search instead for 
Did you mean: 

matlab

Hi Jerry,
     This time i am trying to program the Fpga to generate an arbitary wave.
Will the FPGA in PCI5640R board respong to labview-Matlab programming?????
 
Thank you
Valli
 
0 Kudos
Message 1 of 23
(9,420 Views)
I'm not sure what you mean by "LabVIEW-Matlab" programming.  Can you be more specific?
 
J
0 Kudos
Message 2 of 23
(9,418 Views)

Hi ,

        In the example program ni5640R IQ output program the DAC is configured to generate the sine wave..... will i be able to generate a sine wave On the FPGA using matlab programming (using the matlab script function)????

thank you

Valli

0 Kudos
Message 3 of 23
(9,411 Views)

I am basically trying to program FPGA using matlab in labview

Thank you

Valli

0 Kudos
Message 4 of 23
(9,408 Views)

Hey Jerry,

                I jus realised that my previous doubt was dumb.... so dont bother about that.

I am stuck woth a new doubt.... in the example program ni5640R IQ Output(generates a sine wave....works perfectly)..... where exactly is the Vi written to generate a sine wave

is it in the Host or the FPGA VI...can u please help me...because my professor wants me to extract the data of sine wave generated for further processing

Thank you

Valli

0 Kudos
Message 5 of 23
(9,391 Views)
Hi Valli
 
Sorry, can’t program the NI RIO modules with Matlab.
 
I’m not sure what you are asking in the latest post.  The ni5640R IQ Output isn’t supposed to just generate a sine wave.  It generates a signal with the following parameters:
 
QAM 256
Symbol Rate = 500 KHz
PN Sequence 9
Filter: Raised Cosine
Filter alpha: 0.5
Filter Length: 8
Samples per symbol: 2
 
Where are you seeing this sine wave?
 
There is a “sine wave” generated in the DAC by the NCO that is part of the digital up converters.  There is no way to get this sine wave.
 
Jerry
0 Kudos
Message 6 of 23
(9,386 Views)

I am using an Oscilloscope which is connected to the ouput port of the Board.... when i run this host VI of ni5640R IQ output example i see a sine wave at the output...

if this is wrong then wat should be the outputof this example

Valli

0 Kudos
Message 7 of 23
(9,382 Views)
Hi
 
The NCO in this example is configured for 30 MHz which has a period of 33.33 ns.  What is the time per division of the scope? 
 
There will be a sinusoidal signal created by the NCO, but you have to move the time per division of the scope out to you can see the difference inthe waveform, which will be greater than the symbol rate, which is 500 KSps, or 2.0 us.  So, your scope timebase setting has to be greater than that to see a change in the sine waves.  The sine waves are created by the DAC's NCO.
 
J
0 Kudos
Message 8 of 23
(9,380 Views)
The time scope of the Osci that i am using is 500MS/s
 
if that is the sine wave generated by the NCO even after trying to move out it jus shows distorted sine waves througout... the Osci
Can you please help me by telling what exactly is the output of the ni5640R IQ output program designed for???
 
Valli
0 Kudos
Message 9 of 23
(9,378 Views)
Hi Valli
 
The output should look something like the waveform in the graph of the attached VI.  Zoom in to see the sine waves.
 
J
0 Kudos
Message 10 of 23
(9,374 Views)