Jump to content

viServer - problem with LV instances


Recommended Posts

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!

Link to comment

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.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.