09-18-2019 07:06 AM
I read the Execution property but it does not seem to report the setting correctly.
What am I doing wrong?
The next question I have will be how to set it programmatically.
09-18-2019 07:14 AM
09-18-2019 08:02 AM
Excellent. Thank you.
Next, I need to figure out how to script changing the Execution Type for all the VIs in a directory.
09-18-2019 08:06 AM
In addition to what Sam said, you may notice that this property is not settable while the vi is running.
To change it, you need to open a reference to the vi (while not running) in another vi, where you are allowed to use this property in Write mode.
Of course, you can do this only at development time and not in an exe, where this property is always Read Only.
The following table lists the characteristics of this property.
| Data type | |
| Permissions | Read/Write |
| Available in Run-Time Engine | Yes (Read Only) |
| Available in Real-Time Operating System | Yes |
| Settable when the VI is running | No |
| Loads the front panel into memory | No |
| Need to authenticate before use | No |
| Loads the block diagram into memory | No |
| Remote access allowed | Yes |
| Must wait until user interface is idle | No |
| Available with control VIs | No |
| Available with global VIs | No |
| Available with strict type definitions | No |
| Available with polymorphic VIs | No |
09-18-2019 08:10 AM
Ok, I did not seen your last reply.
Build a list of all vi paths and open them with Open VI Reference.
09-18-2019 08:38 AM
It works.
Thank you very much to both of you.
Here is my example if it is helpful for others.