Jump to content

ViServer/Client question


Recommended Posts

I have vi's (LabView 7.1) running on a PC(Win2k-SP4) controlling a rack of power supplies though a PCI-MXI-2/VXI interface. I would like to pass the current set values for those power supplies from a vi (LabView 7.1) running on another PC (Linux-2.6.8 Kernel).

I have tried the example vi's provided, Server-VIServer example.vi and Cient-VIServer Example.vi without success.

The sequence I tried went as follows...

on the Windows PC-

open Server vi

input the server's ip address

input the client's ip address

input the full path to a test vi (just adds two numbers)

run the server vi (runs with no errors)

on the Linux PC-

open the client vi

input the server's ip address

run the client vi

The output I get in the messages box is

Listing exported Server example VIs on "<ip address>"

and the vi stops. The server:station box remains empty

Should I see the server and test.vi listed?

And the big question is - How do I pass the test.vi a couple numbers to add and get the result on the Linux PC?

Thanks in advance for any help available

Mark

Link to comment
  • 3 weeks later...

Walter,

I'm scratching cobwebs here, but I ran into a similar problem with LabVIEW and VB via TCP/IP - it turned out the 'lingo' is flipped between LabVIEW and the 'rest' of the world.

Meaning try running the 'server' software on the LabVIEW side and the 'SERVER" software on the Linux side or vice versa. Yes, I know odd, but it discovered the problem when I have both my LabVIEW Client and server testing running with the VB app - and the reply from VB popped up in the 'wrong' window'!

Regards

Jack Hamilton

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.