Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

How to run a configuration file inside cRIO

I am trying to use some of configuration files inside cRIO 'lvuser' folder to configure the input/output channels and assign the channel to a shared variable. 

 

Does anyone know where I can find any instructions tell how to make this work? 

 

Could anyone share your knowledge regarding this? I really appreciate your help. 

 

Thanks,

Jay

 

***************************************************************************************************************

For example, in IPSCAN.txt, I have IP: 10.2.10.2 (for cRIO-9035), 10.2.10.3 (for NI-9149 expansion)

 

In Read.txt, I have

 

IP type (cRIO exp or cRIO RT) card locaiton 1-8 type of card # of ch
10.2.10.2 cRIO RT 1 9421 8
10.2.10.3 cRIO exp 1 9212 8
10.2.10.3 cRIO exp 2 9212 8
10.2.10.3 cRIO exp 3 9224 8
10.2.10.3 cRIO exp 4 9224 8

 

In my RT-DATA file, I have

 

[I0]
ni hw = TRUE
name = "MAF"
unit = "g/s"
ip = "10.2.10.110"
slot = 1
ch = 0
full name = "ni.var.psp://localhost/Mod1/AI0"
ni hw type = "cRIO RT"
read data = TRUE
write data = FALSE
sv index = 0

 

[I1]
name = "Back Pressure"
unit = "psi"
ni hw = TRUE
ip = "10.2.10.110"
slot = 1
ch = 1
full name = "ni.var.psp://localhost/Mod1/AI1"
ni hw type = "cRIO RT"
read data = TRUE
write data = FALSE
sv index = 1

........

0 Kudos
Message 1 of 1
(735 Views)