LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why is this code that I found online not working for me?

Solved!
Go to solution

The code that I am talking about is the solution to the question in this forum https://forums.ni.com/t5/LabVIEW/Get-IP-of-a-given-Network-card-by-name/td-p/3993139

For adapter name, I put the name of my internet network name.

Am I missing something?

0 Kudos
Message 1 of 4
(1,422 Views)
Solution
Accepted by topic author GRCK5000

@GRCK5000 wrote:

The code that I am talking about is the solution to the question in this forum https://forums.ni.com/t5/LabVIEW/Get-IP-of-a-given-Network-card-by-name/td-p/3993139

For adapter name, I put the name of my internet network name.

Am I missing something?


Works for me...

Of course, you need to know your NIC name your after.

Frozen_0-1666294703932.png

 

---------------------------------------------
Former Certified LabVIEW Developer (CLD)
0 Kudos
Message 2 of 4
(1,411 Views)

Thanks Frozen! It works. I was wondering how you modified so that you get that array (adaptor names)

0 Kudos
Message 3 of 4
(1,373 Views)

@GRCK5000 wrote:

I was wondering how you modified [it] so that you get that array (adaptor names)


Is that a real question? Have you looked at the code? I thought it would be pretty obvious...

Concatenate the array from the first for loop.

---------------------------------------------
Former Certified LabVIEW Developer (CLD)
0 Kudos
Message 4 of 4
(1,342 Views)