LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read key bug?

Hi Technical and Expert NI Labview.

I am not sure if the read key.vi carries bug.

See my simple attached

 

I am using Labview 7.1

 

When I run the program , it reads "media_assets lpmsg.ini"  instead of "media_assets\helpmsg.ini"

What could be the problem?

Pls advise Thanks

Clement

Download All
0 Kudos
Message 1 of 4
(2,709 Views)

This is expected behavior. Set "read raw string" to True to get what you want. If not working with raw strings it will interpret special characters like '\' when reading.

 

Hope this helps,

Daniel

 

Message 2 of 4
(2,707 Views)

Hi  Daniel

Many Thanks.

Strange, I don't recall using boolean constant to apply on Open Data Configuration.vi

 

Clement

0 Kudos
Message 3 of 4
(2,658 Views)

Hi Clement

 

You only need raw strings if your string contains special characters like \. You can open the "Read Key (String).vi" and check what happens if you work with raw strings or not.

 

Daniel

 

Message 4 of 4
(2,645 Views)