Delacor Toolkits Discussions

Showing results for 
Search instead for 
Did you mean: 
Reply

DQMH Main in the UI Execution System

Solved!
Go to Solution
Highlighted

DQMH Main in the UI Execution System

I rarely change the "Preffered Execution System" of a VI but I just got an error in my main that may require it.  I want to see peoples thoughts on that.

 

On my main I am adding an ActiveX control to load a PDF.  When I load the PDF I get error: "Error 3006 occurred at Automation Interface can only be used in the User Interface Execution System."

 

So... I can make the main in the UI, but I am not sure that is the best method.  I guess I could make a subVI and use a subpanel.

 

Thoughts?

0 Kudos
Message 1 of 4 (249 Views)
Reply
0 Kudos

Re: DQMH Main in the UI Execution System

All bets are off with ActiveX and .NET. I had a similar situation a while back where the main VI of my (non-DQMH) app just wouldn't work at all unless I ran the VI in the UI thread. It was doing a bunch of .NET stuff.

Darren Nattinger, CLA
LabVIEW Artisan and Nugget Penman
0 Kudos
Message 2 of 4 (246 Views)
Reply
0 Kudos

Re: DQMH Main in the UI Execution System

Is there any specific "danger" to running the DQMH in the UI?  It has been awhile since I dove into the pros and cons of execution systems, but I do remember UI being one I didn't generally play with, thought I thought property nodes where in the UI thread....

0 Kudos
Message 3 of 4 (244 Views)
Reply
0 Kudos
Solution
Accepted by topic author Evan
‎03-16-2017 12:19 PM

Re: DQMH Main in the UI Execution System

I don't think there's any danger in running the DQMH main VI in the UI thread.

Darren Nattinger, CLA
LabVIEW Artisan and Nugget Penman
Message 4 of 4 (242 Views)