08-23-2015 11:57 PM - edited 08-24-2015 12:01 AM
Hi
I am using NI 5791 tranceiver equipped with PXIe-7966R FPGA.My question is that can I use this tranceiver card in full duplex mode.
That menas I can use transmit and receive channels at the same time via RF interface.I have worked on streaming example in that only one work at a time.Eiter receiver or transmitter not both works simultaneously.
I have developed a VI for tranceiver but i get error.VI and errors are attached.
08-24-2015 12:19 PM - edited 08-24-2015 12:19 PM
You can receive and transmit at the same time with the 5791 FAM. The out of the box sample project demonstrates this. Once you've installed the driver you can access the project from the Getting Started Window by clicking Create Project and selecting the Simple NI-579x Streaming sample project from the list.
08-24-2015 02:39 PM
i have Run streaming example but there is no VI in host which works as both TX and RX.There arte only VI for Rx or TX not both at the same time
08-24-2015 02:45 PM
Hi David
I have tried the streaming example it is only for one channerl not duplex.Kindly tell for full duplex VI
08-24-2015 02:49 PM
I want full duplex working of 5791 rf tranceiver plz see VI and help
08-24-2015 03:01 PM
Hi!
Unfortunately I don't have a ton of time to take a look through your implementation but based on the errors you are seeing, I think you may be trying to initialize the NI 5791 two times. Initialization should only be performed once, then you will have a single while loop performing both your reads and writes. You could technically have separate while loops for Read and Write but let's keep it simple to get it working.
I would recommend taking the Tx and Rx vi's from the sample project, and then work on merging the Tx side into the Rx example ensuring that you do not repeat configuration steps and then integrate the Tx and Rx DMA reads into the same while loop. For a simple example, you should have one configuration sequence, and then both your DMA reads and writes in the same while loop.
I've attached a vi that I used to perform a loopback in FPGA, so the Rx data was read in FPGA, then sent to the host and being transmitted. Unfortunately this vi does not perform any Host to FPGA data transfer for the Tx channel but the configuration should be similar.
Again, I wish I had more time to help out and I hope this helps!
09-02-2015 02:32 AM
Dear BauerPower,
Please tell in which library configure RX DSP vi,configure TX DSP VI,initiate Rx and Initite Tx VI etc are present.
09-03-2015 10:43 AM
Hey there,
The VI that Rob posted was just meant to be an example of how you would need to setup the host VI. Notice that in his sample VI, the configuration for both RX and TX are done in a chain, instead of done in parallel like the VI that you posted.
Looking at the structure of that VI, I would recommend using the following order for the VIs used in the 579x host example:
You'll need to make sure that the FPGA VI has all of the appropriate TX and RX resources that these configuration and stream VIs are calling.
07-27-2016 02:19 AM - edited 07-27-2016 02:19 AM
Hello, I just wanted to the same thing and made a simple VI by following Daniel's advice above.
This example host VI demonstrates how to simultaneously use both Rx and Tx on 5791. Basically, Rx only host VI and Tx only host VI are combined to do both at the same time.
Please refer to the following notes
Thanks!
Osamu
Japan