IF-RIO

cancel
Showing results for 
Search instead for 
Did you mean: 

hi

hey jerry,
                i am sooo happy.....  Smiley Very Happy 
I got my research output .....i am soooooo happy dude..... thanks ssoooo much for alll that instant help dude.......
 
I AM JUS ON TOP OF THE WORLD DUDE......
 
Valli
0 Kudos
Message 1 of 7
(7,092 Views)
Hi Valli
 
I'm glad to hear you are up to the point the examples are running.  I hope you are up to speed on using IQ signals.
 
An excellent reference on DSP is Understanding Digital Signal Processing by Richard G. Lyons:
http://www.amazon.com/Understanding-Digital-Signal-Processing-Richard/dp/0201634678
 
Jerry
0 Kudos
Message 2 of 7
(7,082 Views)

hi jerry,

           As a second stage pf my project work i am trying to analyse the SUb vis of the TEMPLATE project that i used to generate the sine wave....

How to i understand the purpose of each VI... for example the sub vi (DAC REVERSE IF LSB) is kinda a clueless for about its purpose????

Can u please guide me???

Valli

0 Kudos
Message 3 of 7
(7,063 Views)
Hi Valli
 
In our examples, you will find two type of subVIs.  The main ones you will find are basic LabVIEW functions.  These are subVIs that ship with LabVIEW and you will find in the Block Diagram’s Functions palette.  To find help on these VIs, it is as easy as right-clicking on the VI/icon and selecting help.
 
There are a number of VIs that do not have a Help description provided.  These are either subVIs of the shipping VIs that are included in the Functions palette that we do not expect customers to see. 
 
In examples, there some subVIs that apply only to this specific example VI, or a few different examples, that a subVI is created to simplify the main code.  These subVIs typically do not usually have a Help description.  I believe this is one of these VIs.  IN this case, the only real option if you want to know exactly what the VI does to look at it’s block diagram and figure it out by working your way through the VI block diagram one VI at a time.
 
I can’t give you a description for all the subVIs in the examples, but I can help you work through this one. 
 
1. A 1D array of U8s comes into the subVI.
2. The first VI is the Reverse 1D Array.  This reverses the order of the elements in the U8 array.  (right-click on any of these basic subVIs to read the Help description.)
3. The reversed 1D array goes to a For loop where each element of the array is indexed for each iteration of the loop.
4. Number To Boolean Array – This converts the U8 element into a 1D array of booleans.
5. The next Reverse 1D Array reverses the order of the 1D array of booleans.
6. Boolean Array To Number – Converts the reversed 1D array of booleans back to a U8 element.
7. The output terminal of the For loop assembles the U8 elements into a 1D array of U8s which is the output.
 
So, essentially, the Reverses the order of each individual element in the U8s.  ie, a number 64 (0100 0000) becomes a 2 (0000 0010).  The array elements are also reversed.  The first element becomes the last, and vice versa.
 
Jerry
0 Kudos
Message 4 of 7
(7,059 Views)

why do we actually have to do this reversing of array????

Take care

Valli

0 Kudos
Message 5 of 7
(7,039 Views)

hey Jerry,

                I am planning to program for an arbitrary waveform on the PCI5640R board. Will the Fpga respond to Matlab program in other words..... will labview communicate with the FPGA if the code is in matlab-labview format????

pls help

Thank you

Valli

0 Kudos
Message 6 of 7
(7,000 Views)
Hi Valli
 
The the NI 5640R does not support the Matlab functionality.
 
Jerry
0 Kudos
Message 7 of 7
(6,970 Views)