Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Running the same RT application with two different HW configuration

Hi,

 

I have developed an application on RT for controlling a climate chamber with wind tunnel and add-on refrigerant circuit device. The chamber is eqipped with cRIO -9067 and 2 ethercat chassis NI-9145. Third NI-9145 is in stand alone refrigerant device. There are 3 diferent refrigerant devicesavaliable and user connect always only one of them, depending what measurement wants to perform. But all 3 devices had the same card configurations. So I had only one RT application  with different regulations and sequences which run on specific device. Which device is connected, is identified by combination of 2 binary inputs. Now I am going to add some binary inputs/outputs and analog inputs to one of the device, so number of card in chassi need to be increased. I will add one NI9476 and change one of NI9217 for NI9216. The remaining two devices will be untached. Now I will have two HW different devices which can be connected.  Is there a possibility to make a code which will deploy right HW configuration based on type of connected device?

 

Thank you, Jan

0 Kudos
Message 1 of 2
(965 Views)

Hello JanBarton,

 

Please review this article it should help you find out automate detection the cRIO modules: Programmatically Find Information of the cRIO Modules

 

and based on this you should be able to implement your project. 

 

Best Regards. 

0 Kudos
Message 2 of 2
(891 Views)