NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

New TS4 error SearchAndReplace()

Hi All.
 
Now my list of errors has grown again...
 
I have attached a simple seq. that shows the error.
 
The problem is that SearchAndReplace function now change the "searchfrom" string (first parameter), that means that now the return string and first parameter is the same after the function is called.
 
Crap....
 
 
/Thomas
0 Kudos
Message 1 of 3
(2,981 Views)
Hi Thomas,
 
Its always done that, will in TestStand 2.0.1f1at least, which is all I have to hand at the moment.
 
Regards
Ray Farmer

Message Edited by Ray Farmer on 08-02-2007 01:22 PM

Regards
Ray Farmer
Message 2 of 3
(2,980 Views)
Hi Ray..
 
you are actual right...... (of course you are)...
 
Damm this is strange I have some code that I am 98% sure that has worked.... but now it doesn't.... and the solution was to save the replace string in a temp. variable first....
 
So sorry about the complain.... this times it was not a "new" error... 🙂
 
 
/Thomas
 
 
0 Kudos
Message 3 of 3
(2,969 Views)