 LVB
		
			LVB
		
		
		
		
		
		
		
		
	
			07-08-2011 11:38 AM
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.
 Drew_T
		
			Drew_T
		
		
		
		
		
		
		
		
	
			07-11-2011 05:03 PM
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.
 Dragis
		
			Dragis
		
		
		
		
		
		
		
		
	
			07-12-2011 08:52 AM
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.