From 12:00 AM CDT Sunday, October 17 - 11:30 AM CDT Sunday, October 17, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,179 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 LV2020 on Win8.1+cRIO
Message 2 of 2
(1,174 Views)