LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open Application Reference Fails

I'm trying to run the One Channel PID - Host PC.vi (the One Channel
PID - RT Engine.vi is running on the RT box) from examples/rt. From
the Open Application Reference vi I keep getting error 66 which says a
possible reason was that the network connection was closed by the
peer. I've enabled both TCP/IP and ActiveX VI Server options. I
don't know what else I need to configure to get the demo running. On
the RT side I've got the channels defined. I've tested them and they
seem to work as configured. So I don't know what else I'm supposed to
look at to see what I'm doing wrong. Any suggestions?

Thanks,
Evan
0 Kudos
Message 1 of 4
(3,711 Views)
Is the TCP/IP Access List under Options configured to give the access to the machine you're trying to connect from?

Can you ping the machine?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 4
(3,711 Views)
There are two other settings that should be enabled.
The first list which hosts are allowed to connect.
The second indicates which VI's are served.

Don't remember off hand which drop-downs, but they are under VI propreties somewhere.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 4
(3,711 Views)
Evan,

Check to make sure that VI Server on the RT Engine is configured to allow your Host PC to access it. For RT Series DAQ Devices, this configuration is done automatically. For RT Engines on the network, you will need to do the following:
  1. With LabVIEW Real-Time targeted to the RT Engine, from a VI select Tools>>Network: x.x.x.x Options...

  2. From the top pull down menu of the Options dialog box, select VI Server: Configuration and make sure that TCP/IP is checked and that the Port is 3363.

  3. From the top pull down menu of the Options dialog box, select VI Server: TCP/IP Access and make sure your Host PC's IP address is in the TCP/IP Access List. (Hint: if you put * in the access list, then all clients are allo
    wed VI Server Access.)

  4. From the top pull down menu of the Options dialog box, select VI Server: Exported VIs and add * to the Exported VIs list.

  5. Click OK when finished.



Regards,

Chad H
Applications Engineering
National Instruments
http://www.ni.com/ask
Message 4 of 4
(3,711 Views)