Signal Generators

cancel
Showing results for 
Search instead for 
Did you mean: 

i am using pxie 5672 module i want a specific output amplitude for sine wave carrier how can i do this with ni-rfsg please help

i am planing to control amplitude and phase of sine wave carrier sinal using pxie 5672 & lab view  but i dont have idea how to do this using  NI-RFSG please give me some idea for this and if possible give me  code for this

0 Kudos
Message 1 of 8
(6,704 Views)

Hello,

 

For setting the amplitude, the example I would recommend is called "RFSG Single Tone Generation.vi"  This example is one of the examples that comes with the RFSG driver.  You can find these examples by going to Start » All Programs » National Instruments » NI-RFSG » Examples » LabVIEW xx Examples.  There are other examples in that folder that can help you learn the basics of working with this driver.  

 

If those examples do not give you the code you need, you can also search for examples on our website.  Simply go to www.ni.com and search "RFSG" in the search bar in the upper right hand side.  You can filter the results to show only the examples and select the example that looks like it will fit your application best.

 

Are you trying to do AM and PM with your 5672?  If you are trying to do modulation, you will probably find a lot of examples that use something called this Modulation Toolkit.  This toolkit has a bunch of functions that make modulation applications easier.  This toolkit is not free, but you can download a 30 day trial to see if it is something you would be interested in.  Please let me know if you have any other questions and I'd be happy to help.

Sarah Yost
Senior Product Marketing Manager
0 Kudos
Message 2 of 8
(6,681 Views)

Thanks for your reply

 i want to do I & Q signal modulation.i am using I & Q signal amplitude as input from that i calculate amplitude and phase of fix frequence sine wave carrier as amplitude = squareroot(I^2 +Q^2) and phase =taninverse(Q/I)

i did the amplitude modulation part but facing problem to change the pahse of sine wave please give some idea.

 I also want to know is it possible to develop our own RFSG block i.e my own logic in it

   

0 Kudos
Message 3 of 8
(6,677 Views)

Here an example that does IQ modulation:

 

https://decibel.ni.com/content/docs/DOC-2092

 

There are many more examples for doing IQ modulation availble by searching for IQ modulation on www.ni.com.  The example uses our Modulation Toolkit to do the calculations, but this shows how to use the RFSG property nodes and driver to manipulate IQ data.  

 

When you say develope your own RFSG block, what exactly are you trying to do?  You could try making a subVI that you can pass information into and use like on of the RFSG functions, but I'm not sure that I completely understand what you are trying to do.

Sarah Yost
Senior Product Marketing Manager
0 Kudos
Message 4 of 8
(6,672 Views)

I want to develop my own RFSG block means,say for examle using niRFSG Configure RF VI we can Configure the frequency and power level of the RF output signal.similarly i want to create my own VI using which i can do some operation on RF output signal for example i want to change the phase of RF output signal 

0 Kudos
Message 5 of 8
(6,660 Views)

The way I understand what you are trying to do is that you are trying to create a vi that looks similar to the niRFSG Configure RF vi, but instead of configuring your RF signal, you are doing some kind of processing on your signal?  To do this, you can take pieces of the examples I posted above and create a vi that does the calculations you desire.  After you have a vi that, for example, changes the phase of the RF output signal you can use it as a subVI in any another vi.  You can configure the connector pain to accept the inputs you will need similar to the way the RFSG function blocks do.  Here is a tutorial that explains how to do this:

 

http://zone.ni.com/devzone/cda/tut/p/id/7593

 

Please let me know if this is not what you are looking for and I'd be happy to help.

Sarah Yost
Senior Product Marketing Manager
0 Kudos
Message 6 of 8
(6,640 Views)

Thanks for tutorial

 can you give me tutorial on how  niRFSG Configure RF vi (or any RFSG vi)is developed so by using this concept i will try to programe my own vi.

0 Kudos
Message 7 of 8
(6,629 Views)

Unfortunately, the way that our drivers are developed is proprietary.  Details of how the RFSG driver is constructed is not information that I can provide.

Sarah Yost
Senior Product Marketing Manager
0 Kudos
Message 8 of 8
(6,621 Views)