LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get the count instance of LabVIEW Application

Solved!
Go to solution

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

KInd regards,
Waleed El-Badry, MSc., CLAD MCPD
0 Kudos
Message 1 of 4
(229 Views)

Your question is a bit vague. Are you talking about a single built applications that allows multiple instances? What do you mean by "titled"?


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
0 Kudos
Message 2 of 4
(201 Views)

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?

KInd regards,
Waleed El-Badry, MSc., CLAD MCPD
0 Kudos
Message 3 of 4
(183 Views)
Solution
Accepted by topic author wbadry2

@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"


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 4
(168 Views)