05-15-2009 07:53 AM
Solved! Go to Solution.
05-15-2009 11:53 AM
05-18-2009 02:18 AM
05-18-2009 06:39 AM
Is there by any chance we can modify the System Exec VI to include the Set Cursor Busy VI till the file is fully loaded?
Did you try this out?
05-19-2009 04:30 AM
05-19-2009 07:02 AM
What I mean is to take a copy of the SYstem Exec VI & save it somewhere else (probably in your proj location) & modify it to include the Set Cursor Busy SubVI in it to achieve what you want to.
This is like modifying some File I/O VIs for our custom usage.
Since I dont have LV in my PC curently, I cant tell you assuredly if the code of the System Exec VI can be changed in such a way that the Cursor VI can be included in it.
05-19-2009 08:58 AM
System Exec.vi just calles a dll so I can't do much with that.
05-19-2009 09:32 AM
You would essentially need to write a wrapper for System Exec. This wrapper VI would launch the help file with System Exec with "wait until completion" set to False. Then, after waiting a short bit of time, you would check to see if the help window has displayed itself. If not, have the wrapper VI display itself and enter a loop. The front panel would just consist of a progress bar. In the loop you would keep checking if the help window has displayed itself. Once it's done so, the wrapper VI can close itself.
A simpler wrapper VI would simply change the cursor to the busy cursor, call System Exec, and then enter the loop as described above. Once the window has shown itself, change the cursor back to default.
You can search the forum for plenty of examples on checking for windows and changing the cursor.
05-19-2009 09:34 AM