12-04-2020 10:04 AM
I am developing a LabVIEW application. Is it possible to get the instance count (so the first launched instance would be titled "instance 1", the second is "instance 2", and so on?
I guess this could be done using an event structure inside the main VI as a launcher and a counter to be passed to the VI. I was looking if there is a way to detect the current instance without creating a launcher.
Thanks
Solved! Go to Solution.
12-04-2020 12:02 PM
Your question is a bit vague. Are you talking about a single built applications that allows multiple instances? What do you mean by "titled"?
12-04-2020 03:18 PM
My apology if it is vague.
What I meant is is it possible whenever I launch an instance of the application after deployment, I get an incremental number in the title?
12-04-2020 08:27 PM
@wbadry2 wrote:
My apology if it is vague.
What I meant is is it possible whenever I launch an instance of the application after deployment, I get an incremental number in the title?
Yes, use a configuration file to hold a single integer and increment and save the value at startup. Use the FP.Window.Title property to display something like "MyCoolApp %d"