LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Inetping, Error Code: -28 = "ICMP function failed during ping operation"

In the application I´m developing, we´ll be trying to ping a specific IP-adress.
Therefore we´ve found the InetPing() function from Internet Library, which should do the job.

 

When the remote unit is available, there is no problem.

Available returns 1, which indicates remote machine is available.

 

However, when choosing a remote ip, which is unavailable the function acts a bit strange.

First off Available correctly returns 0, indicating remote machine is unavailable.

However the function also returns error code -28 = "ICMP function failed during ping operation"

 

Any suggestions for why I´m receiving this error?

 

Regards

Michael

 

PS. Encountered in Labwindows/CVI 9.0

Kind Regards
Michael Prisskov Lundsgaard
Project Manager
0 Kudos
Message 1 of 3
(3,370 Views)

Hey Michael - 

 

This is a known issue, with bug ID 225480.  It will be fixed in the next version of LabWindows/CVI.  In the meantime, if you are getting the non-fatal runtime error while debugging, you can wrap the function in calls to SetBreakOnLibraryErrors to prevent the pop-up from interrupting your debugging sessions. 

 

NickB

National Instruments

0 Kudos
Message 2 of 3
(3,356 Views)

Hi Nick,

 

Thank you for your answer, this calms me a bit, at least I havn´t done something completely wrong.

I´ll incorporate handling for this error then.

 

/Michael

 

 

Kind Regards
Michael Prisskov Lundsgaard
Project Manager
0 Kudos
Message 3 of 3
(3,339 Views)