10-10-2017 02:31 AM
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
10-10-2017 02:41 AM
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…