VI Snippet Will Not Create Code, It Is Just an Image in LabVIEW

Updated Apr 5, 2023

Reported In

Software

  • LabVIEW

Issue Details

I am taking a code snippet from a web page, but it's not creating the code in LabVIEW. It includes just a picture or the link from the Website. The LabVIEW VI Snippet is already created and I'm trying to put it into my program.


Solution

If you cannot drag and drop the LabVIEW VI snippet directly from the article into LabVIEW you can:

  1. Right-click the image
  2. Select Save Image As... and complete saving
  3. Drag the newly created .PNG file onto the LabVIEW Block Diagram

Additional Information

Snippets have metadata baked into them that allows LabVIEW to rebuild the code. If you create a new snapshot of a code snippet, the new file will no longer have this metadata and thus appear as just an image.