问题
I have a file containing a LabView program and need to understand what it does. Of course it can not be executed without LabView. But is it possible to read a LabView program without Labview?
回答1:
As @JKSH already stated the answer is "No".
If you think a Labview Viewer could be useful give a Kudo to this Labview Idea and try to convince National Instruments to provide one.
In the comments to the idea there's a link to a software, VIpreVIEW - Interactive VI preview, making a Flash-enabled HTML page for viewing the code (I've never tried it).
回答2:
But is it possible to read a LabView program without Labview?
I presume you're asking, "Can I open a *.vi file and look at its source code (which is called the "Block Diagram"), without using LabVIEW?"
If that's your question then the answer is "No", not directly. You need LabVIEW to read, edit, and execute a *.vi file. However, if you know someone else who has LabVIEW, you can ask them to open it for you and save the Block Diagram as a picture file (preferable in the form of a Snippet). Then, you can read the picture.
If you only need to open the file once, you can download the Evaluation version of LabVIEW -- this lets you open LabVIEW files for 7 days.
回答3:
Also; LabVIEW home bundle is a thing. Depending on a country it can cost you as little as 60€.
回答4:
No ! You could download the LabVIEW version on the NI site, it's a fully functionnal free demo for 30 days.
回答5:
I have an Yes answer to this question. There is an option to export the block diagram as snippets as said by @JKSH.
I have created a POC - Export VI as images.vi here in github which can help you to export the VI you want to read as images. Then you can easily open the images in any image viewer and read that LabVIEW code. You need to feed it this POC with VI you want to export and image saving locations for the front Panel and the block diagram.
If the person who has given you the code has LabVIEW installed with his PC, s/he can export the code as images easily using this POC.
Ref: https://github.com/digiajay/ExportLabVIEWfilesAsImages/tree/master/POC
Thanks, Ajay.
来源:https://stackoverflow.com/questions/37109228/read-labview-program-without-labview