LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

A VI script for opening an existing VI, remove the Read only attribute and save the VI.

Hi ,

I want to write 2 VI script which need to meet the below object.

Script 1:

A VI script for opening an existing VI, remove the Read only attribute and save the VI.

Script 2:

A VI script for opening an existing VI, check any error in VI and save the error in excel.

 

Please reply me if you have the same.

Regards,

Anand

 

 

0 Kudos
Message 1 of 2
(1,212 Views)

Hi Anand,

 

what kind of "scripts" are you talking about?

LabVIEW VIs usually have a block diagram containing their code…

 

VI1: You don't need to open a VI to remove any "read only" file attribute. Just use SysExec with your favorite "attrib" cmd shell command…

 

VI2: Open the VI using VIServer functions and try to start it. You will get an error message when the VI can't be run…

Best regards,
GerdW


using LV2016/2019/2020 on Win8.1/10+cRIO
Message 2 of 2
(1,207 Views)