09-25-2007 12:41 PM
09-25-2007 01:00 PM
09-25-2007 01:12 PM
09-25-2007 01:15 PM - edited 09-25-2007 01:15 PM
Hi Paul,
The front panel control that I am reading is on the VI running in the developement environment. The VI reading the control value is running in the runtime environment.
Altenbach, I don't get an actual error message. I get a message from my compiled VI indicating that the control on the other VI is in the wrong position (off).
Jim
Message Edited by lmtis on 09-25-2007 01:17 PM
09-25-2007 01:17 PM
I hesitated in responding here because I don't have all of the details in my head.
I read LVRT as "LV Run-time.
If so I think part of the issue is the process context.
One is open in the RT environment the other is running in the Develop context.
I THINK there is a way of use references hanging from the proj that will let you specify which context you want to touch.
The other idea is to make sure the other VI is designated as a dynamic VI and the proper instance is opened.
Ben
09-25-2007 01:22 PM
Hi Ben,
You are correct LV Run-time and devolopement, Completely different VIs, and the control read works when both are in developement context (LV7.1 BTW). I don't understand how to make a stand alone VI that is open before the exe is started dynamic. My next test will be to build an exe with the second and see if that clears this up.
09-25-2007 01:23 PM
09-25-2007 01:27 PM
Hi Matthew!
I don't know where you came from or exactly when, but I am glad you did so!
Thank you,
Ben
09-25-2007 01:40 PM
Thanks Matthew,
I'll give that a try as soon as I can get access to that station.