Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

"Open Config Data VI" does not find "configuration file path" in LabView real-time 2022 (with cRIO-9040)

Solved!
Go to solution

Hi,

 

I'm an absolute beginner with LabView. I have to write a program that is going to run standalone on the cRIO and I want to read from some .ini file in the program.

 

ArisMonaco_0-1729775228040.png

Open Config Data VI trow this error 

ArisMonaco_1-1729775278634.png

which means that it does not find the path. Which make sense because I look for I file in my computer, but the cRIO as something to do with Linux, right?

 

So I found this page: Working with File Paths on NI Real-Time Targets - NI, which should solve my problem but it doesn't.

What am I doing wrong?

 

Aris Monaco

 

0 Kudos
Message 1 of 4
(483 Views)

So what file path did you wire to the input? Please attach your code so that we can see what did you do wrong.

-------------------------------------------------------
Control Lead | Intelline Inc
Message 2 of 4
(459 Views)

This is the .ini file

ArisMonaco_0-1729839681146.png

This is the path where I put the .ini: /C/Users/aris.monaco/OneDrive - *****/PRJ_WicklungsVerbackAnlage_WVA/03_Implementation/02_Software/03_LabView/Konstanten_v1.ini

And this is a test to try and read the code, but I get that error: Open/Create/Replace File in NI_LVConfig.lvlib:Load.vi->NI_LVConfig.lvlib:Open Config Data.vi->Main.vi<APPEND>
/C/Users/aris.monaco/OneDrive - *****/PRJ_WicklungsVerbackAnlage_WVA/03_Implementation/02_Software/03_LabView/Konstanten_v1.ini

 

ArisMonaco_3-1729839886024.png

 

 

 

 

 

0 Kudos
Message 3 of 4
(452 Views)
Solution
Accepted by topic author ArisMonaco

I solved it. I needed to upload the .ini file on to the cRIO and use the path to there. For example /home/lvuser/text.ini.

0 Kudos
Message 4 of 4
(443 Views)