LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why my "replace string" does not work

I tried to replace part of the string to create a new file path needed by the next file reading step. I want :pile parameter files" be replaced by" tested pile data", but the path coming out is still the same
but it refuse to work for me, I don't know why?

Can anybody tell me what's wrong with it?
the subroutine is attached here, thanks
0 Kudos
Message 1 of 5
(3,321 Views)
You've got a space at the end of your search string. You've got "pile parameter files ". The match has to be exact. You've also got a space at the end of your replace string.
Message 2 of 5
(3,321 Views)
thanks, I'm always tricked by such small ignorance!
0 Kudos
Message 3 of 5
(3,321 Views)
But after I made changes to my strings, the pogram did not recognize my constructed path as a correct path.
the actual paths are as follows:
(I copy and paste here)


\\ce-clearwell\GradStudents\Li63\LABVIEW\my labview study\my method\paquet\pile parameter files\NWU

\\ce-clearwell\GradStudents\Li63\LABVIEW\my labview study\my method\paquet\tested pile data\NWU
0 Kudos
Message 4 of 5
(3,321 Views)
Hi Fenny,
I couldnot open your subroutine as I have LabVIEW 6.1, but I also faced similar problem sometime back. I

am attaching my program for your reference, but not sure if this will be of much help.
Regards
Ateem
0 Kudos
Message 5 of 5
(3,321 Views)