09-27-2013 12:32 AM
Hi,
I have a Ni 9155, and attached to that a C module, Ni 9401 from Ni, along with an AD9852/PCBZ card from analog devices, which is a Direct Digital Synthesizer. The DDS card could be controlled through a serial or parallel modes of programming. I want to control the card through the FPGA controller and connect that to a host interface. I looked over the internet for an example vi for parallel communication between the FPGA and the card but found nothing. I found an SPI example on the IP net (http://zone.ni.com/devzone/cda/epd/p/id/6221) but I want actually parallel mode/interface example.
I am using windows 7 and labview 2012.
Any help would be appreciated. I am really stuck here.
Thanks,
Bassem
09-27-2013 01:47 PM
i has no inforamtion for this
sorry
09-27-2013 05:23 PM
Hi Bassem,
Using LabVIEW FPGA, we can program our target to output any DIO we want through the 9401 C series module.
If we want to have parallel code running on the FPGA, we can make parallel while loops like we do on a host computer. After compilation, these parallel while loops will run completely parallel to each other.
With a host interface, we can use read/write controls or DMA FIFOs to send commands or data to the FPGA, and then in the FPGA code we can implement the SPI communication we would like to achieve. In a parallel loop, we can process the SPI responses to the queries and publish that data to front panel indicators for them to be sent back to the host interface.
09-27-2013 06:07 PM
Hi,
Sorry I think my question was not clear :$. I don't mean parallel programming but parallel port (parallel vs. serial). The only example out there is SPI based (serial) but I actually want an example for a parallel port, i.e. how to communicate with a parallel port through the FPGA.
09-30-2013 11:40 AM
Hi Bassem,
I see you are working with one of our Applications Engineers with this service request.
Unfortunately, we don't have an example built up for this specific device. This is something you will need to develop based on your device and the digital protocols it uses.
All digital communication on a single port will be serial. If we wish to make this communication parallel, we can just use an additional port. For example, take an FPGA SPI example and copy it to another while loop with different DIO lines. Now we have parallel SPI communication on the FPGA.
Good luck!