LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is this a valid IP Address?

Does LabWindows have a function that checks a text string to see if it is a valid IP Address in the form (xxx.xxx.xxx.xxx)?

I can write one but why if Labwindows has one.

 

Thanks.

0 Kudos
Message 1 of 2
(3,192 Views)

Hi Nubie,

 

Check the 'IP Control' under Custom Controls > Toolslib Controls.

It automatically checks the IP address as it is entered. It prevents from typing any invalid address.

 

This is, of course, for your UIR panel.

So it cannot check if you read the IP string from a file some other source, but it can check a user typed address.

 

Hope this helps, 

S. Eren BALCI
IMESTEK
0 Kudos
Message 2 of 2
(3,185 Views)