LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

[FPGA] Programatically Obtain FPGA Channel Information?

Is there a way to programatically access the FPGA I/O channels for a device from LabVIEW for Windows?

 

I am looking to dynamically (at run-time) select a list of channels to aqcuire within a LabVIEW application.  I would be interested in the channel names along with details on channel types.

CLA, CTA
0 Kudos
Message 1 of 3
(2,611 Views)

LVB,

 

Since the FPGA is programmable hardware, the bitfiles that are created to instruct it how to route information are static.  You can create multiple bitfiles, and choose which one to load, referenced here: http://zone.ni.com/reference/en-XX/help/371599F-01/lvfpgahosthelp/multiple_fpga_refs/

 

You can also use the cRIO System Configuration Information (here: http://zone.ni.com/devzone/cda/epd/p/id/1717) Library to see which modules are inserted.  

 

Using the above two suggestions, you could conceivably create bitfiles that covered each combination of modules and passed each channel along to the RT controller, then look at what modules are present at runtime and open the correct bitfile.  At that point, you could choose which channels you wished to display/log.

Drew T.
Camber Ridge, LLC.
0 Kudos
Message 2 of 3
(2,578 Views)

If you can't find a satisfactory solution, feel free to post an idea to the FPGA Idea Exchange. I've heard of similar requests before, perhaps this is something NI could make easier.

0 Kudos
Message 3 of 3
(2,564 Views)