From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

telnet data out

Hello,

I am having a problem with the telnet read data out, i am getting with the wanted output also many other characters, is there any way to filter those?

example:
"
    [1;1HMicrosoft Windows XP [Version 5.1.2600] [2;1H(C) Copyright 1985-2001 Microsoft Corp. [4;1HC:\Documents and Settings\bmulab\Desktop> [4;42H [4;44H [4;1HC:\Documents and Settings\bmulab\Desktop>cd C:\Documents and Settings\bmulab\Des [5;1Hktop\nic [6;1H [4;45H [7;1H [4;46H [7;1H [7;1HC:\Documents and Settings\bmulab\Desktop\nic> [4;47H [7;46H [4;48H [7;46H [4;49H [7;46H [4;50H [7;46H [4;51H [7;46H [4;52H [7;46H [4;53H [7;46H [4;54H [7;46H [4;55H [7;46H [4;56H [7;46H [4;57H [7;46H [4;58H [7;46H [4;59H [7;46H [4;60H [7;46H [4;61H [7;46H [4;62H [7;46H [4;63H [7;46H [4;64H [7;46H [4;65H [7;46H [4;66H [7;46H [4;67H [7;46H [4;68H [7;46H [4;69H [7;46H [4;70H [7;46H [4;71H [7;46H [4;72H [7;46H [4;73H [7;46H [4;74H [7;46H [4;75H [7;46H [4;76H [7;46H [4;77H [7;46H [4;78H [7;46H [4;79H [7;46H [4;80H [7;46H [5;1H [7;46H [5;2H [7;46H [5;3H [7;46H [5;4H [7;46H [5;5H [7;46H [5;6H [7;46H [5;7H [7;46H [5;8H [7;46H [5;9H [5;1H [6;1H [7;46H [7;48H [7;1HC:\Documents and Settings\bmulab\Desktop\nic>Disable_NIC.exe [8;1H [7;49H [8;1H [7;50H [8;1H [7;51H [8;1H [7;52H [8;1H [9;1HC:\Documents and Settings\bmulab\Desktop\nic> [7;53H [9;46H [7;54H [9;46H [7;55H [9;46H [7;56H [9;46H [7;57H [9;46H [7;58H [9;46H [7;59H [9;46H [7;60H [9;46H [7;61H [7;1H [8;1H [9;46H [9;48H [9;1HC:\Documents and Settings\bmulab\Desktop\nic>cd C:\Documents and Settings\bmulab [10;1H\Desktop\nic [11;1H [9;49H [12;1H [9;50H [12;46H [12;1HC:\Documents and Settings\bmulab\Desktop\nic> [9;51H [12;46H [9;52H [12;46H [9;53H [12;46H [9;54H [12;46H [9;55H [12;46H [9;56H [12;46H [9;57H [12;46H [9;58H [12;46H [9;59H [12;46H [9;60H [12;46H [9;61H [12;46H [9;62H [12;46H [9;63H [12;46H [9;64H [12;46H [9;65H [12;46H [9;66H [12;46H [9;67H [12;46H [9;68H [12;46H [9;69H [12;46H [9;70H [12;46H [9;71H [12;46H [9;72H [12;46H [9;73H [12;46H [9;74H [12;46H [9;75H [12;46H [9;76H [12;46H [9;77H [12;46H [9;78H [12;46H [9;79H [12;46H [9;80H [12;46H [10;1H [12;46H [10;2H [12;46H [10;3H [12;46H [10;4H [12;46H [10;5H [12;46H [10;6H [12;46H [10;7H [12;46H [10;8H [12;46H [10;9H [12;46H [10;10H [12;46H [10;11H [12;46H [10;12H [12;46H [10;13H [10;1H [11;1H [12;46H [12;48H [12;1HC:\Documents and Settings\bmulab\Desktop\nic>Enable_NIC.exe [13;1H [12;49H [13;1H [12;50H [14;46H [14;1HC:\Documents and Settings\bmulab\Desktop\nic> [12;51H [14;46H [12;52H [14;46H [12;53H [14;46H [12;54H [14;46H [12;55H [14;46H [12;56H [14;46H [12;57H [14;46H [12;58H [14;46H [12;59H [14;46H [12;60H [12;1H [13;1H [14;46H"



Thanks.
0 Kudos
Message 1 of 3
(2,192 Views)
Hi Alvarion_Israel,
which charachters do you want to filter out?
Mike
0 Kudos
Message 2 of 3
(2,190 Views)
    Hi,

found the way.......its

\[[0-9]+;[0-9]+H   the serach and replac...

Thanks any way
0 Kudos
Message 3 of 3
(2,181 Views)