LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the TCP/IP settings of the LAN connection from LV?

Solved!
Go to solution

Hi,

 

How can I change the LAN connection properties? Specialy the TCP/IP properties.

 

kr,

 

Jan Wijman

 

 

0 Kudos
Message 1 of 9
(3,023 Views)
Solution
Accepted by topic author janwijman
search the forum here. Go through all the links and post if any specific help required.
Message 2 of 9
(3,015 Views)

I think the user is asking how to change the actual connection properties, as one does through the operating system. The answer to this question depends on the operating system. If you're on Windows. In that case, remember:

 

For example:

 

http://www.petri.co.il/configure_tcp_ip_from_cmd.htm

 

You can call external programs using the System Exec function.

Message Edited by smercurio_fc on 12-31-2008 09:36 AM
Message 3 of 9
(2,999 Views)

smercurio_fc wrote:

...

 

...


Bonus points for managing to use that emoticon withOUT coming across in an arogant manner!

 

Ben

 

PS Yes I intended to write "without".

Message Edited by Ben on 12-31-2008 09:43 AM I failed to include the letters "out" when trying to type the word "without".
Message Edited by Ben on 12-31-2008 09:45 AM
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 4 of 9
(2,996 Views)

Ben wrote:

Bonus points for managing to use that emoticon with coming across in an arogant manner!


I hope you meant "without". Smiley Very Happy

 

Actually, I've used it before whenever I've wanted to drop a not-so-subtle hint.... 

Message 5 of 9
(2,994 Views)

smercurio_fc wrote:

You can call external programs using the System Exec function.


Smercurio, will this let you run Command Prompt commands? 

 

Cory K
0 Kudos
Message 6 of 9
(2,988 Views)

I will help shorten your search

 

Netsh.exe

 

Omar
Message 7 of 9
(2,986 Views)

Cory K wrote:

smercurio_fc wrote:

You can call external programs using the System Exec function.


Smercurio, will this let you run Command Prompt commands? 

Yes. Sometimes you have to precede the command by prepending "cmd /c" or "cmd /k". If you type "cmd" at a command prompt you will see what the options mean.

Message 8 of 9
(2,935 Views)

I have created a Community Example Program which uses the mentioned netsh commands. It performs the scanning of WiFi hotspots nearby, lists them in a ring, shows available network profiles and connects to a chosen hotspot (kudos welcomeSmiley Wink) :

 

WiFi Network Scanning and Connecting with LabVIEW - Discussion Forums - National Instruments
https://forums.ni.com/t5/Example-Program-Drafts/WiFi-Network-Scanning-and-Connecting-with-LabVIEW/ta...

 

Screenshot_Front.PNG

Eric H.
Applications Engineering
National Instruments
0 Kudos
Message 9 of 9
(1,955 Views)