03-20-2018 09:41 AM
I tried your suggestions and they work great. I too had already fixed the stdcall issue (Forgot to mention that). The odd thread thing and the ioctl does seem to be overcome with the combination of UI thread and the times structure, but getting rid of that ioctl allowed me to remove all UI thread settings and the times structure. The resulting trace looks vastly better now!
Thanks for the help!
XL600
11-09-2018 09:39 AM
Any chance there's a Linux version available for Linux RT device?
11-09-2018 09:50 AM
I would think a Linux RT VI could just do a system call. PharLap doesn't have this and many tricks need to be performed.
11-09-2018 09:53 AM
I found a NI RT Linux version here by Deborah_B. It works.
https://forums.ni.com/t5/Example-Programs/Ping-Network-Device-and-Retreive-IP-Address/ta-p/3536737
12-18-2019 02:41 AM
Hi, i'm using your ping vi on a RT Pharlap controller with LabView RT 2013.
I have a loop in my RT application that makes a ping every minute to check the connection with a Windows computer.
When the connection is OK, the ping.vi returns TRUE.
Once the connection goes down, the ping.vi returns FALSE (e.g. disconnecting ethernet cable)
When the connection becomes available again (e.g. reconnecting ethernet cable), the ping.vi continues to return FALSE.
I have to restart the software to get the correct return value.
Any ideas?
Many thanks