04-22-2021 01:18 PM
I am using the cmd.exe to read the packet receiver but I just want to data-logger only the number. Please help with the example code.
Thank you
Solved! Go to Solution.
04-22-2021 01:23 PM
@Transt wrote:
Please help with the example code.
Images are not "code". Please attach your VI with some typical test strings.
04-22-2021 01:41 PM
VI attached
04-22-2021 02:22 PM
Your output contains many dozens of numbers. Which one do you want?
04-22-2021 02:32 PM - edited 04-22-2021 02:34 PM
You said "packets receiver", but if you want the number after the first equal sign ("packets received"), you can do as follows:
If you want any other number, things gets more complicated, especially if you want to support multiple language settings of the OS. I am not sure if these strings change depending on localization.
04-22-2021 03:00 PM
I can not find the string abbc, b+?
04-22-2021 03:25 PM
Thank you I got it, How do I can set to read the Received packets delivered number?
04-22-2021 04:37 PM
@Transt wrote:
Thank you I got it, How do I can set to read the Received packets delivered number?
As I said, you just need to be more specific in the search string, e.g. as follows (make sure the number of spaces is correct):
04-22-2021 04:56 PM
If you are interested in all IPV4 statistics, you might want to create an array of clusters where each cluster is a name and a number.