LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

InetPing

Hello,

In my program ,I  need to ping a couple of PC's.

 

I use InetPing() function. On 3 different IP addresses indication was "machine is availeble",  but the fourth IP returns 0 meaning machine is not available.

i tried different timeout values.

But the regullar windows Ping.exe always works with this IP.

 

I use CVI8

Any idea how to solve the problem.

 

 

Thank you in advance.

 

 

0 Kudos
Message 1 of 6
(3,599 Views)

Hi llanx,

 

Thank you for bring this to our attention. Is the fourth machine a 64 bit system. Our internal document indicates that the InetPing() function did not work on 64 bit systems. This issue has been fixed since CVI 2009. I hope this helps.

 

Regards,

 

Josh L.

Applications Engineer
National Instruments
0 Kudos
Message 2 of 6
(3,578 Views)

Hi Josh,

Thank you for the quick response.

 

I checked the fourth machine (actually all of them are servers). It's an 32 bit Microsoft Windows Server 2003 R2.

used on AMD Opteron processor.

Rest of machines different models of servers but with 32 bit system.

 

 

Thank You

 

 

0 Kudos
Message 3 of 6
(3,573 Views)

Hi llanx,

 

Thank you for the update. I think the AMD Opteron is a 64 bit processor. Below is the wikipedia article on this processor for your reference.

 

http://en.wikipedia.org/wiki/Opteron

 

It looks like this machine is running with a 32 bit image on a 64 system.

 

Regards,

 

Josh L.

Applications Engineer
National Instruments
0 Kudos
Message 4 of 6
(3,552 Views)

Hi Josh,

Yes, it's understood. But the the problem that the other "available" machine Xeon 5130. 32 bit image running on 64 system and it's works

 

Sorry for too much questions and thank you for the great support.

 

 

 

0 Kudos
Message 5 of 6
(3,544 Views)

Hi llanx,

 

What version of the CVI runtime engine are you using? Are you ok with installing the latest version of the runtime engine?

 

http://joule.ni.com/nidu/cds/view/p/id/2245/lang/en

 

The runtime engine is free to all of our customers and they are backward compatible. Hopefully, this bug is fixed with a newer runtime engine.

 

Regards,

 

Josh L.

 

 

Applications Engineer
National Instruments
0 Kudos
Message 6 of 6
(3,534 Views)