06-23-2010 07:39 AM
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
06-23-2010 09:34 AM
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
06-24-2010 12:29 AM
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