01-06-2016 09:19 AM
I tried to use Real time tutotial 'Getting started.' I build and depoly the application. However when I try to run local Vi to monitor the RT. There is a error -314004. It was surprising that example does not work!! Anyone konws how to solve it??
01-08-2016 02:36 AM
Hello,
This error means that one of the VIs is not running and the connection cannot be established. Make sure you have both VIs running and the issue should be solved.
Best,
Bozhidar
01-08-2016 05:46 AM
Thank you for than.
I have built 'my real-time application' and set it as startup. Then I depoly it to real time engine. After that I run as a startup, the RT engine reboot. When it reboots, it means that the application will run automatically? But when I set IP of RT engine in windows main.vi in My Computer, I still can not run the application in RT engine, the same error. I need run Real-time.VI in remote system?
Thanks.
01-08-2016 06:12 AM
Hello,
To have the VI starting on reboot, you need to manually put it as a start up VI. Check the screenshot I have attached.
Once you set it as start up, you can deploy it and it should run.
Best,
Bozhidar
01-08-2016 06:45 AM
Hi Bozhidar,
Thank you for your answer.
As shown in Picture 1, I set as startup and then deply it, after that I choose run as startup. Then the RT engine reboot, ash shown in Picture 2. After RT engine reboots, I try to run window main.vi, it shows the target is already running a real-time startup application. It means I can not communicate with RT engine when application works in RT engine?
Thanks,
Jie
01-08-2016 06:51 AM
Hi Jie,
Can you send me your code, so I can take a look?
Best,
Bozhidar
01-08-2016 06:56 AM
Hi Bozhidar,
I am sending you the original code.
Thanks,
Jie
01-08-2016 09:04 AM
Hello,
If you run the RT without deploying it and then the Windows app, it works. However, I can see you confusion when deployed.
I am going to deep more in this on Monday and will see why this happens.
Have a great weekend!
Best,
Bozhidar
02-12-2016 06:04 AM
Any follow ups with this? I'm having the same problem with this application.
02-12-2016 06:22 AM
While in RT debug mode I made it work. I think the problem here was because the RT application was not running. I followed the exact instructions in Getting Started with the LabVIEW Real-Time Module, but somehow it stopped at some point, so I could not connect the reader. In RT debug mode I restarted the RT application, and then I could run the main Windows VI.