I deeply appreciate all your
help. The problem was solved.
Caizhen
The client library, by default,
broadcasts using one subnet limited broadcast address destination for each of
the network interfaces on the client’s host. One can examine the network
interfaces by typing “ifconfig –a” (on Linux) or ipconfig (on
windows). The CA Reference Manual discusses how the network interfaces’
netmask and IP address can be used to determine the network interfaces’
subnet limited broadcast address.
And, as Andrew mentions, the CA
server (IOC) must be listening on one of these subnets, and one can type
“casr 2” to find out which one. Alternatively, one can use
the “ifconfig –a” (on Linux), ipconfig (on windows) , or
ifShow (on vxWorks) to find out which ones might be used by default. Also,
“netstat –a” (windows and linux) or inetstatShow (vxWorks)
will show all of the servers, and what address/port they listen on.
Finally, one can use environment
variables to manually configure the addresses that the client library might
send search messages to. The CA Reference Manual has the gruesome details.
Jeff
______________________________________________________
Jeffrey O. Hill
Email [email protected]
LANL
MS
H820
Voice 505 665 1831
Los Alamos NM 87545 USA
FAX 505 665 5107
Message
content: TSPA
Hi,
When I use camonitor to check a PV, I get the following
error message:
[dt100@tsdaq1 ~]$ camonitor ACQ196_310_UPTIME
ACQ196_310_UPTIME
*** Not connected (PV not found)
I have checked the IOC server is running properly. Then I
try to use caSnooper to trouble-shoot. Here is the result:
--------------------------------------------------------------------------------
[dt100@tsdaq1 linux-x86]$ ./caSnooper -t30 -p4 -c0
Starting CaSnooper 2.1.2.1 (8-10-2007) at Jan 22 08:27:18
EPICS 3.14.11
Individual Name is CaSnoop.test
Internal PV names are not being published
CaSnooper terminating after 30.01 seconds [0.50 minutes]
Data collected for 30.01 seconds [0.50 minutes]
Jan 22 08:27:48:
There were 20 requests to check for PV existence for 2
different PVs.
Max(Hz): 0.33
Mean(Hz): 0.33
StDev(Hz): 0.33
PVs with top 2 requests:
1
192.168.1.1:44539
ACQ196_310_UPTIME
0.33
2
tsdaq1.gat.com:44539
ACQ196_310_UPTIME
0.33
Connection status for top 2 PVs after 10.00 sec:
Questions:
1)
The IP address 192.168.1.1 and tsdaq1.gat.com of the
two requests are the address of the client computer. The computer has two
Ethernet port. Are the ip addresses all right?
2)
Should there be a valid request with the default port
number 5064 instead of the big number 44539?
Thank you very much for your help in advance.
Caizhen