LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Mark_Yedinak

Add a native PING primative to LabVIEW

Status: New
LabVIEW currently porvides TCP and UDP primatives. It would be nice if it had a PING primative as well.


Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
7 Comments
mzaleski
Member
I was just looking for this feature for a cRIO RT 😞
Rob_Calhoun
Member
This is a good idea. We recently needed ping and had to call a .NET library to get it. That creates a dependency on the .NET runtime. It should be built-in.
jgcode
Active Participant
As mzaleski mentioned RT support would be required also - we had the same issue trying to ping a PC from cRIO.
Certified LabVIEW Architect * LabVIEW Champion
Herbert Engels
NI Employee (retired)

Where we support it, you can use System Exec for that. Unfortunately, that doesn't include VxWorks.

 

Herbert

ping.png

Herbert Engels
NI Employee (retired)

Actually, on VxWorks you could call the pingLib library instead. For immediate relief, that is. I agree it'll be nice to have that ship with LabVIEW.

 

Herbert 

Jervin Justin
NI Employee (retired)

Hi Mark,

 

We just launched a new branch of the NI Idea Exchange to foster ideas for LabVIEW Add-ons. The intent was to create a place for LabVIEW Add-on developers (both NI R&D and developers in the community) to find ideas that matter to the community.

 

This is part of our ongoing effort to enable LabVIEW developers to productize LabVIEW code. Some of the other things we’ve done this year were adding Licensing & Activation for 3rd Parties, launching the Compatible with LabVIEW Program and the LabVIEW Tools Network.

 

We’ve identified your particular idea as one that could potentially be made into an Add-on and would like to move it to this new Idea Exchange so that Add-on developers can easily find it. Would this be okay with you?

 

Thanks!

Jervin Justin
NI TestStand Product Manager
Mark_Yedinak
Trusted Enthusiast

Sure, I would have no problem with that.

 

As a side note, I did some experimentation using the Winsock libraries and the .Net methods for sending ping packets and found that the .Net calls were slow. For most applications this is not an issue but it can be when you are wrinting network test applications where you essentially want to simulate DOS attacks. The .Net implementation simply was not up to the task.

 

I will look at the new section since I have some other ideas that would fit perfectly as add-ons rather than being built-in.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot