Hi Swati,
There's two ways you can do this:
1) You can post a deferred call to a thread using PostDeferredCallToThread and specify a function that does a LoadPanel and Display Panel, as well as obtain the thread ID of the main thread.
2) You can utilize a thread safe queue to pass a flag from one thread to the other. Then have the callback on the main thread, and in that tsq's callback call the loadpanel and display panel. I have attached an example of this here. Personally, I think the first suggestion would be easiest, but if you have other data you need to share between threads, then the TSQ is the way to go. Hope this helps!
Jeremy L.
National Instruments
Jeremy L.
National Instruments