07-02-2014 04:43 AM
Hi,
I am doing project for uni of noughts and crosses game over TCP. This is my second project in Labview, I am autodidact. I know that in my program are a lot of this to make them better or to replace with more optimal sulutions (even notifiers), but I am on finish of the game, the next one will be better!
So the problem is in file client.vi, probably it is not complicated. Function Search and Replace String does not replace me anything. If You have some time (I suppose that not much than 10 min) check it please. Code is commented.
The file client.vi shoud only indicate the situation on the board.
Great thanks! I wish I could do something to repay You.
Best regards
P.S. Three remaining files (subvi's) are in post below
07-02-2014 04:44 AM
Missing files
(Porównywator means comparator 🙂 )
07-03-2014 04:17 AM
Dear Doli,
it seems to me from te code that you are removing whitespaces from your string. I assure you, the Replace function most certainly works as intended. perhaps the character that appears as a whitespace in the string is a different one. try viewing the data in hex or escape codes (you can right-click the controls/indicators to select display type), and ensure that the characters to be removed are the same ASCII code as the search string.
Let me know if this helps, or if you come across any other issues.
Kind regards: