09-08-2008 01:54 AM
Hi,
I am new to labview, i compile the am demodulation in pci 5640 example but it can't.tell me some solutions n suggestions
Solved! Go to Solution.
09-24-2008 04:03 AM
Hi Arafat,
Please do mention the details of the problem, with error screen-shots. The attached AM demodulator works fine on my machine. Let me know if it does not work.
Note, this example does the demodulation on the PC. The FPGA is used only to acquire the signals and sends it to the PC.
--Vinay
National Instruments R&D
09-30-2008 12:11 AM
09-30-2008 03:28 AM
Hi Arafat,
1. Which version of LabVIEW are you using? LabVIEW 8.5 or LabVIEW 8.5.1.You can find this out by launching LabVIEW and then select help>> about labview.
The project which i have sent you was written using 8.5.1. If you are opening the VI in 8.5 then, the solution is to replace the existing FIFO Read, FIFO Write and FIFO Clear methods in the FPGA VI by deleting them and placing new instances using the Functions Palette. You will have to recompile.
2. The project expects an external input (connected to Analog Input Channel 0). So you will have to use an RF signal generator or another IF-RIO. If you are using a second IF-RIO then the following link might be of help. http://decibel.ni.com/content/docs/DOC-1710.
If you want to use an NI-RFSG then you can use the example which ships with the RFSG drivers.
3. Are you still getting visa resource is not available? Are you using a valid resource name when running the project?
You can find the resource name of the device from drop down control "resource name" or from MAX.
You can find more details on VISA (if you are interested) here http://cnx.org/content/m12288/latest/
Can you please send me the screen shot of the error? Also please do specify the LabVIEW version you are using.
Hope this helps.
--Vinay
10-08-2008 02:37 AM
10-08-2008 02:48 AM
10-08-2008 03:13 AM
Hi Arafat,
In the Host VI, please do the following.
1. Right click on the FPGA open session.
2. Goto select VI, choose the FPGA VI that you have recompiled.
3. Right click again on the FPGA open session.
4. Goto select Bind to Typedef and choose the ni5640R FPGA VI Reference.ctl which is located in the project directory, NI-5640R VIs folder. Make sure you are using the correct folder.
The Host might show error after this. To solve this, please do the following,
1. Open the FPGA driver VIs, (the VIs in Green, labeled NI-5640R).
2. On the front panel, right click on "HW Exec Ref" inside HW Exec Ref In control and select Open Typedef. A custom control (looks like a VI) will open. Simply Save this and close.
3. Save and Close the driver VIs. If you see a read dot or a wire broken, simply open the VI and same them again.
This should solve the issue.
This is a work-around for this problem and is being fixed in the new version of the driver.
If you have issues related to this problem, please do send me the project with the necessary files.
--Vinay