04-02-2013 07:00 AM
Hello all,
I'm using LabVIEW 2012. Is there any way to list the execution priorities of all the VIs in a project please?
Thank you!
Zola
04-02-2013 07:01 AM
What do you mean by "execution priorities"? What is it you are trying to find out?
04-02-2013 07:05 AM
I've inherited some legacy code. I've been told the execution priority for some of the VIs is set to "realtime". I want to find out which ones.
The execution priority for a VI is set by opening the VI, going to File-> VI Properties and then selecting "Execution" from the pull-down menu. I don't want to have to do this for every single VI in this very big project (there are hundreds). So I wondered if there was some option to list all the VIs and show their execution priorities without having to write code to do it
04-02-2013 07:30 AM - edited 04-02-2013 07:31 AM
I don't see "real-time" on the list of execution priorities, but I do see "high", "time critical", and "subroutine". I don't know of any easy way to find out that information. I doubt it exists because I think it would be very rare for anyone to do what you are asking.
That said, I don't think it would be difficult to write a small VI that would loop through your .vi files and read the Execution priority through a property node. I did the following in about 3 minutes. You just need to create an array of file names. Perhaps using directory information to build the list.