06-09-2008 06:04 AM
06-09-2008 06:12 AM
Hi,
You could use shared variables to write the data on the controller and then write a VI that reads from these shared variables on a Windows computer.
http://zone.ni.com/devzone/cda/tut/p/id/4679
KostasB
NIUK Applications Engineering
06-17-2008 05:52 AM
06-17-2008 07:53 AM
Please post an image of how you are accessing the RT app.
Either the VI is still running and your attempt to re-run a running VI is the issue, or the target VI is leaving memory when you disconnect after the fisrt try.
An image of your code will help us help you.
Ben
06-18-2008 06:08 AM
Hi Ben,
When i close the remote front panel the first time, i am terminating the RT VI which is running on startup.
So i had to reboot everytime to access the remote VI. I guess that the VI (exe) should be continuosly running when the RT is started up. The remote panel only should be opened and closed. After I close the remote panel , i want a windows VI to be opened up.
I have a Windows VI which programmatically opens connection to the RT server for opening the remote panel. The VI runs. When the user clicks Exit on this RT VI, the VI running is stopped and then another windows VI opens up. This works fine for first time. Since the RT VI is terminated, second time , if I run, it says, VI not in server memory.
Is there a method to close the remote panel programmatically in the RT VI itself. I have a Exit button in this RT VI, so if the user clicks, Exit, the program has to be running, but the remote panel has to close. There is a method called close connection to client , but this does not work in RT , as this requires VI path.. Right now , when the remote panel RT VI is launced, to close the remote panel, i click on the 'close' button on the VI title bar. Again when the remote panel is launched, there is no error. but is there a method to close the remote panel in the server(RT VI itself). i have attached the VI.
Thank you.
06-18-2008 11:20 AM