RF Measurement Devices

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing digital data of ni5640R

Hi,

I am using ni5640R card in a PCI slot using API Interface (5640R instrument driver V1.2).I am using LabVIEW 8.5.1 and PC is loaded with Windows XP.
 
I have the following doubts.
 
1. I tried to generate a sine wave using API interface.I got the analog output and viewed the result in an Anritsu spectrum analyser.I could observe the waveform from both analog channels AO0 and AO1one at a time.I could also vary frequency and amplitude of the sine wave.I want to monitor the digital data (before it gets up_converted and analog converted) in the PC itself using PCI bus interface or modulation toolkit(MT) .Please explain me how to achieve this.
 
2.Please explain how to access (acquire) output of any digital blocks of the VI in the PC using LabVIEW or MT.
 
3.It is also found that LabVIEW FPGA module can be used instead of API.I am using NI LabVIEW FPGA module V8.5.1.Though I tried to use this toolkit several times, I couldn't make it functional.When FPGA module is used , 5640R card is not detected .But when 5640 API is used, card is detected.Because card is not detected while using FPGA module, I am not able to program or proceed further.We also have installed the NI RIO software of version 2.4.When RIO is installed it shows a list of hardware it support in which 5640R is not shown.When FPGA module is used , the device list is same as that shown by RIO.(5640R is not found in that list also). I came to know that the FPGA module works only with NI RIO V2.3.1. Is it so? Can you tell me what is wrong and help me to use FPGA module for programming 5640R?
 
  looking for quicker response... 

 


                                                                                                   

 

            Thanks in advance

 

0 Kudos
Message 1 of 4
(7,091 Views)

Hi

 

1. Are you using the Single Tone Generation.vi example?  If you look on the diagram, you can see towards the lower left a waveform cluster of the sine data.  Follow it down to subVIs and you can see where it is converted to I16 data, the data that is ultimately sent to the DACs.

 

On the other hand, if you are programming your own VI and want to see the actual digital data on the module tight before the DAC, that is not possible with the ni5640R driver API.  That feature is not implemented in the ni5640R Driver API.  You can only look at the I16 version of waveform data before it is downloaded to the module.

 

2. Can you be more specific?  Are you still referring to the ni5640R Driver API?  Which digital blocks? VI?  Are you asking how to pass data from a subVI up to the main front panel and graph it?

 

3. The NI PXI-5640R LV FPGA API works with LabVIEW 8.5.1, LV FPGA 8.5.1, NI RIO 2.4, and ni5640R Driver 1.2.

Have you followed the instructions in the NI 5640R IF Transceiver Getting Started Guide?  The name of the module should be in Measurement and Automation Explorer (MAX) as in the following image.  Especially if you have it working with the ni5640R Driver API.

 

MAX Image

 

In the picture, the module has been renamed to NIPCI-5640R, which must be the string used to use the module in both the Driver API and FPGA API.

How do you determine that the module is not detected when using the FPGA API?  Is it not showing up in the Resource Name control when you select the down arrow to see the possible auto populated options? 

 

If it is in MAX, have you tried running one of the driver installed examples?

 

Jerry

Message Edited by Jerry_L on 10-16-2008 04:20 AM
0 Kudos
Message 2 of 4
(7,071 Views)

Thanx Jerry.

 

One of my problems cleared..PCI 5640R is detected.I just made a trial..uninstalled Labview FPGA module and reinstalled it....put tick mark to labview 8.2 support for fpga module..i think that made the change...So now i am trying to program 5640 using labview fpga...So again is there any provision to access the intermediate blocks ..not looking for the ultimate analog output and digital, instead, just before upconverted  and analog converted...Is there any examples?Also I want some more simple examples regarding 5640r driver(in addition to the examples provided)...

 

Thanx in advance...

0 Kudos
Message 3 of 4
(7,042 Views)

hi,

 

send me more simple examples on 5640 fpga....(sorry for the prev post in which it is mentioned as 5640 driver)... 

0 Kudos
Message 4 of 4
(7,040 Views)