LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DSC EPICS connection to remote network

Solved!
Go to solution
I am using the DSC module from LabVIEW 8.6 and 2009. I am in California, and there is an EPICS server in New Mexico to which I want to connect. I can read and write using command-line EPICS so I know that there are no firewall or hardware connectivity issues. For those programs I put the IP address of the remote server in an environment variable (add it to EPICS_CA_ADDR_LIST, and the EPICS programs then all know to look there for process variables. How do I do the same thing for LabVIEW? I have tried registering the remote computer in the Distributed System Manager, but that didn't work. The remote computer is not running LabVIEW, but that shouldn't really matter. I just need a way to tell LabVIEW to check a specific IP address, and the Channel Access protocol will take care of everything else.
0 Kudos
Message 1 of 3
(3,293 Views)

Hi Richard,

 

Channel Access protocol in LabVIEW is setup such that the server and the client must be on the same subnet to be able to communicate.  If you can figure out a way to get these computers on the same subnet, then this will work great.  Thanks.

Stephen Meserve
National Instruments
0 Kudos
Message 2 of 3
(3,270 Views)
Solution
Accepted by topic author Richard2950
I have solved the problem in LabVIEW 2009. I added the IP address of the remote system to the SYSTEM (not USER) environment variable EPICS_CA_ADDR_LIST, then re-booted. After that I was able to access the PVs outside the local subnet. I had not done a reboot after modifying the environment variable before. In LabVIEW 8.6 the EPICS environment variables were ignored, but in LabVIEW 2009 they are all used, so this works in the new version.
0 Kudos
Message 3 of 3
(3,239 Views)