LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I handle files that were opened using my LabVIEW application?

Solved!
Go to solution
I have LV 2009.  Not sure if it is in previous versions.
Message 11 of 18
(1,348 Views)

Ravens Fan wrote:

Nickerbocker wrote:

@Ravens -

 

If you put:

 

SuperSecretPrivateSpecialStuff=True 

 

In your LabVIEW.ini file, it will unlock an "OS Open Document" event to use in an Event Structure block with a "File Path" node on the left-hand side.  Whenever the application is launched via a file in the OS, this event is fired (even if your application is already up-and-running).

 

Works like a champ and is fairly straightfoward! 🙂


 

That's good.  But your post #2 where you mentioned it gave absolutely no details.  But if you feel you gave enough information there that could help someone else in the future that you could mark your own message as the solution ......

Well, it was the solution I had for the problem I posted, and I wanted to make it clear that the issue was resolved.  When I had originally posted it, I was expecting that this was a known solution and I was just behind everyone else in the learning curve.

0 Kudos
Message 12 of 18
(1,347 Views)
The solution marker is designed not only to tell that a question is answered, but also allow someone else browsing through the thread to jump directly to the answer.  I've heard of that the supersecretstuff, but didn't know how it would apply in this case.  And the vast majority of the people reading these threads have probably not hear do that option at all.  So the simple message you posted in reply #2 really isn't a solution because it can't help anyone.  Now if you had posted some details has to how it was a solution, or a link to the thread where you discovered how it works, then you can consider that a solution.
0 Kudos
Message 13 of 18
(1,325 Views)

Here isa snippet (for LV 2009) with the actual code:

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 14 of 18
(1,310 Views)

Ravens Fan wrote:
The solution marker is designed not only to tell that a question is answered, but also allow someone else browsing through the thread to jump directly to the answer.  I've heard of that the supersecretstuff, but didn't know how it would apply in this case.  And the vast majority of the people reading these threads have probably not hear do that option at all.  So the simple message you posted in reply #2 really isn't a solution because it can't help anyone.  Now if you had posted some details has to how it was a solution, or a link to the thread where you discovered how it works, then you can consider that a solution.

I notified a Moderator to change it.  Thanks.

0 Kudos
Message 15 of 18
(1,290 Views)

TCPlomp wrote:

Here isa snippet (for LV 2009) with the actual code:

Ton


Thanks for the snippet!

 

It is probably Noteworthy that the SuperSecretPrivateSpecialStuff=True in the LabVIEW.ini file is not required to load a VI with an Event Structure that has the "OS Open Document" event handled.  Only required to be able to select it in a new VI.  Once setup in an existing VI, a user can interact with the event structure with or without the LabVIEW.ini toggle.

0 Kudos
Message 16 of 18
(1,286 Views)

Nickerbocker wrote:
I notified a Moderator to change it.  Thanks.

No need to notify the moderator.  If you go to the Options menu to the upper left of that particular message, you can unmark it as the solution.

0 Kudos
Message 17 of 18
(1,263 Views)

Ravens Fan wrote:

Nickerbocker wrote:
I notified a Moderator to change it.  Thanks.

No need to notify the moderator.  If you go to the Options menu to the upper left of that particular message, you can unmark it as the solution.


I did not know that.  Thanks.

0 Kudos
Message 18 of 18
(1,255 Views)