05-07-2014 07:44 AM - edited 05-07-2014 07:53 AM
I'm trying to get a handle to an object using CVI_ActiveApp. It works, but it opens a new CVI application when it is run using the command line. Is it possible to get a handle to an object without a new CVI application opening up?
05-08-2014 03:32 PM
Hi,
In the help documentation for the CVI_ActiveApp function, it states:
"If the server application is already running, this function may or may not start another copy of the application. This is determined by the server application."
http://zone.ni.com/reference/en-XX/help/370051P-01/cvi/usermanual/actxappactiveapp/
I don't believe you have control over whether or not a second instance is started.
Regards,
05-09-2014 01:49 AM
I wonder if this question is somewhat related to this other one.