LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI export to text-base format for AI analysis

Solved!
Go to solution

We would like to use AI to analyze our LabView projects, containing logic and graphic components, and assist us in the process of maintaining the code. However, LabView's source files are not something that an AI can understand. Is there any way to export VI's to something like XML, JSON or yaml? What we are looking for is a way to identify logic links between blocks, inputs and outputs, locate where a given functionality is being implemented or simply understanding what each class is doing. Our projects have become too big, with dozens of VI's and classes and understanding the code is being a challenge for anyone not having participated in the development.

 

Thanks in advance for your ideas,

 

Daniel.

 

0 Kudos
Message 1 of 4
(101 Views)
Solution
Accepted by topic author dberenguer

Hi Daniel,

 


@dberenguer wrote:

Is there any way to export VI's to something like XML, JSON or yaml? What we are looking for is a way to identify logic links between blocks, inputs and outputs, locate where a given functionality is being implemented or simply understanding what each class is doing.


Write your own converter:

  1. use LabVIEW scripting to determine the components of the VI (block diagram)
  2. write all found components (and their linking) into a text file of your own formatting...

Why don't you use Nigel as it is already trained by NI?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(94 Views)

It looks like NigelAI is still at an Advisor level and uses the BD image to analyze instead of the underlying code.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 3 of 4
(81 Views)

First time I hear about Nigel AI. We're gonna look into it ASAP. Thanks!

0 Kudos
Message 4 of 4
(63 Views)