Adding a Code Snippet to the Diagram
- 更新时间2022-01-06
- 阅读时长1分钟
Adding a Code Snippet to the Diagram
Use code snippets to drag sections of code onto your diagram.
-
Save the snippet to your machine.
Note If you edit a snippet in an image editor, the editor will remove the VI information from the file and you will not be able to drop the snippet onto the diagram.
- Open your project and navigate to the diagram of the VI you want to add the snippet to.
-
Drag the snippet from its location on your machine to the diagram.
The code depicted in the snippet appears on the diagram.