DaveX Posted January 13, 2010 Report Share Posted January 13, 2010 Hi all, When I tried to run following vi - NI viServer example - in project (not main LV instance), the example didn't work. Everything is fine if I run it in the main LV instance. C:\Program Files\National Instruments\LabVIEW 8.6\examples\viserver\server.llb\Server - VIServer Example.vi Is it possible to work (set, run, etc.) in project with viServer? Or viServer has to run in main LV instance only? LV: 8.6 OS: Windows Thanks for a help! Quote Link to comment
Yair Posted January 13, 2010 Report Share Posted January 13, 2010 What doesn't work? VI server works perfectly fine in projects, but each project is considered a separate "application", so you have to use the Open Application Reference primitive and use a different port for each project (through the project properties) if you want to communicate between objects. I didn't look at the example, but I'm assuming this is the source of your problems. Quote Link to comment
DaveX Posted January 14, 2010 Author Report Share Posted January 14, 2010 I'd love to having viServer working in projects, but Quote Link to comment
Mellroth Posted January 14, 2010 Report Share Posted January 14, 2010 I'd love to having viServer working in projects, but Right click on "My Computer" in the project, and enable VI server TCP access (and set another port that 3363 since that is probably in use). /J Quote Link to comment
DaveX Posted January 14, 2010 Author Report Share Posted January 14, 2010 Ooopppss...Thanks! I thought that it will be this kind of problem :-) Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.