02-22-2012 09:23 AM
Hi,
I'm looking for some advice.
We have a PCIE-7841R FPGA card. In our first application, we are looking to do something quite simple with the card. We want to output a voltage via one of the analog outputs. The voltage will scan based on an external trigger (from 20 Hz to 1 kHz). We are *not* expert LabView programmers, though we have some experience.
We communicated with our previous card via a C# application developed in Visual Studio. We would like to continue using our current application. If I understand correctly, to communicate with the new card we need to
(1) write a LabView VI (should be a fairly simple one given our application)
(2) use the C interface to LabView FPGA
(3) perhaps produce a .dll that we can then access from our C# .NET application.
Any advice or a nudge in the right direction would be most appreciated.
Cheers,
tom
02-23-2012
11:55 AM
- last edited on
06-21-2024
09:22 AM
by
Content Cleaner
Hello Mawx,
You don't need to make a LabVIEW VI. You can do the LabVIEW to FPGA interface using C interface to LabVIEW FPGA. You will need to write a LabVIEW FPGA VI however. Once you deploy your code to the FPGA and write your C code, you can create a .dll out of your C code and thus run it through you C# .NET application.
I have a couple of links that should get your started using the C interface to LabVIEW FPGA.
This is an overview:
That document links to this tutorial for actually building the application:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x5DNCAY&l=en-US
If you need help doing the FPGA set-up and coding, check out this "Getting Started with LabVIEW FPGA" document:
https://www.ni.com/en/support/documentation/supplemental/18/labview-fpga-getting-started.html
Also, from any R-series card product page, if you go to Resources --> Manuals there are a bunch of good PDFs (check out the R Series user manual and the "Getting Started with R Series Multifunction RIO" document.