LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need assistance reading a INI file.

Solved!
Go to solution

Hello everyone,

 

I am having some trouble reading a INI file that I created.

 

I successfully created a INI file using Write Key.vi so that I can eventually send the baud settings to my RS-232 port. What I am having difficulty now is reading that same INI file that I created. What I need to do is look at a certain line, go so many characters in, then grab the settings from the file.

 

Any guidance is greatly appreciated.

 

 

Download All
0 Kudos
Message 1 of 3
(2,512 Views)

Hey BadAzz

 

Instead of using the Read Text File VI to read the INI file use the INI Read VI's found in the same pallet as the ones you used to write the file.  Let me know if you need an example I may be able to do one in a bit.

 

Chill

Herrlin

Just trying to spread the LabVIEW love.
0 Kudos
Message 2 of 3
(2,505 Views)
Solution
Accepted by topic author BadAzzS10

Something like this...

 

read ini.png

Herrlin

Just trying to spread the LabVIEW love.
0 Kudos
Message 3 of 3
(2,490 Views)