LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Specfifc IP Address configure control box

Dear RTSLVU,

 

Can you please explain the expression "[0-9]+[.][0-9]+[.][0-9]+[.][0-9]+" and how does its matching.

 

 

Regards,

S Nagaraju

0 Kudos
Message 11 of 18
(2,516 Views)

Hi Sonti,

 

I'm not that professional on RegEx, but I still can get the pattern:

- there are 4 blocks of numbers separated by dots

- each numeric block contains one or more digits

 

Looks like a regular IPv4 address… 😄

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 12 of 18
(2,494 Views)

I use a string control but check it is valid using something like this.

Message 13 of 18
(2,484 Views)

@GerdW wrote:

Hi Sonti,

 

I'm not that professional on RegEx, but I still can get the pattern:

- there are 4 blocks of numbers separated by dots

- each numeric block contains one or more digits

 

Looks like a regular IPv4 address… 😄


GerdW is correct! 

 


@deceased wrote:

I use a string control but check it is valid using something like this.


WOW! You are a RegEx God. 

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 14 of 18
(2,455 Views)

Dear all,

 

Thank you very much for your suggestions.

 

I have confusion about the expressions because I don’t have any software background.

 

Please any one explains about the expressions.

 

 

Thanks & Regards,

S Nagaraju

0 Kudos
Message 15 of 18
(2,420 Views)

http://zone.ni.com/reference/en-XX/help/371361M-01/glang/match_pattern/

 

Read the bottom section on match pattern details

 

And http://zone.ni.com/reference/en-XX/help/371361M-01/glang/match_regular_expression/

 

Read the bottom section on match regular expression details

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 16 of 18
(2,413 Views)

Thank you very much for yor support.

 

Regards,

S Nagaraju

0 Kudos
Message 17 of 18
(2,390 Views)

Thank you for your Inspiration. I found a simpler, not to say faster method:

checkTCPaddress.png

 

Message 18 of 18
(1,663 Views)