From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

C Series Module Pinout Names

I'm working on a project where I need to dynamically create shared variables based on which C series modules I have plugged into a cRIO 9035.  I'm looking for a way to programmatically extract the default name of each module I/O that is plugged in. For example, I'm looking for a way to get the string " Mod1/AI0" , "Mod1/AI1" etc,  off of the FPGA target so I can use it for a .ini file on the host.

 

I'm utilizing the compactRIO Information (CRI) Library to determine what which C series module is plugged in to each slot, but this doesn't provide information on the specific pin outs for each C series module. 

 

Does anyone know of a feasible way to do this? 

0 Kudos
Message 1 of 3
(2,991 Views)

Here's a forum post I found with someone asking a similar question:

[FPGA] Programatically Obtain FPGA Channel Information?
http://forums.ni.com/t5/LabVIEW/FPGA-Programatically-Obtain-FPGA-Channel-Information/td-p/1628710

 

If you only need the names of the channels as strings (e.g. "Mod1/AI0"), you could write your own database that contains the names of the channels on each module based on module ID.


C Series Module IDs (FPGA Interface)
http://zone.ni.com/reference/en-XX/help/370984R-01/criodevicehelp/module_ids/

 

I don't think there's a better way to do it. As Dragis recommended, this could be something to post on FPGA Idea Exchange.

Message 2 of 3
(2,955 Views)

Ignore comment, created in error.

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