LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Question regarding "How to ping an IP Address from LabVIEW?", March 27, 2019.


@drunkin_drum_er wrote:

It's interesting because for me, that diagram only shows up as an image of a vi snippet and not the vi snippet itself.

Thank you for capturing and sending the vi. I think this fully addresses my questions in a manner of speaking.


It's possible that the snippet was saved in a different version of LabVIEW than what you are trying to paste it into.

0 Kudos
Message 11 of 13
(487 Views)

You also have to make sure to download it to your desktop, then drag that into LabVIEW. If  you try to drag from the browser window it'll screw up. In my version of Firefox, for example, it just pastes a hyperlink to the image, lol.

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019OHSSA2&l=en-US

 

 

0 Kudos
Message 12 of 13
(477 Views)

To answer your original question, it's in "mscorlib" under the "System" category.

 

As a more general answer, to locate any Microsoft .NET class in the LabVIEW class browser, do the following:

 

1. Find the Microsoft API reference page for the class.  It'll be in the site "https://docs.microsoft.com/en-us/dotnet/api/" somewhere if you Google it, or you can search just by going to that link.

2. Go to that page and check what version of the page you're looking at.  You want to be on the most recent version of .NET framework, but many searches will take you to the .NET core page.  Change to the correct one in the dropdown.

3. Look at the top of the page under the name of the class.  You should see something like this:

IDisposable.PNG

4. Where it says "Assembly", that is what you want to look for (minus the "DLL" extension) on the dropdown in the .NET class browser.  In this example, go to "mscorlib".  Always select the most recent version if there is more than one, probably it will be 4.x.x.x.

Side note: Some classes list more than one assembly.  It's often but not always in the one with the shortest name, but it will be in one of them... you might just have to check a few.

5. After you find that in the dropdown, look in the area below and expand the heading matching the "Namespace" value, then scroll and look for the class or interface name alphabetically.

 

 

Message 13 of 13
(453 Views)