


A failure in the network connection to the TCS can cause an error in the RPC connection to the TCS. To solve this problem exit the application and start over again. If the problem persists check the following things:
1. Check the network connection (try doing a ping from the pc guider to the 4m TCS machine ctiox0)
2. Try the TCP GUI to see if you can still send commands to the TCS.
3. If nothing of the above works try rebooting the TCS computer.
Check if a lock file exists. The pc guider program creates a lock file called /tmp/tvguider.lck. Remove that file and try again. Don't forget to close ximtool too. If you are not sure use the "ps ax" command to see if ximtool is still running. Here's an example of the pc guider processes :
% ps ax
PID TTY STAT TIME COMMAND
.
.
.
1660 p0 S 6:09 ximtool -xrm Pixel 196 -xrm Initialize true -xrm olors 64
1670 p0 R 7:00 /home/pcguider/tvguider/bin/tvguider
1671 p0 S 0:00 /home/pcguider/tvguider/bin/gwish /home/pcguider/tvguider/bi
1672 p0 S 0:00 /home/pcguider/tvguider/bin/tvguider
1673 p0 S 0:00 /home/pcguider/tvguider/bin/tvguider
1674 p0 S 0:00 /home/pcguider/tvguider/bin/tvguider
1675 p0 S 0:00 /home/pcguider/tvguider/bin/tvguider
1676 p0 S 1:47 /home/pcguider/tvguider/bin/tvguider
1677 p0 S 0:00 /home/pcguider/tvguider/bin/tvguider
.
.
.
If you want to be sure kill all the processes above by hand and start over again.
Here's a list of the error messages you can get from the TV Guider program and why they were generated:
ERROR: can't set grab acquisition mode.
ERROR: unable to initialize library packages
These two messages usually go together. Check that you specified the right .conf file for your guider camera in the .tvguirc file and that you have the right type of module at the .conf file.If the message appears when the application is starting, check that the data signal from the camera is reaching the frame grabber. When using the CCD TV this message will tipically appear if the camera is off or unpluged.
ERROR: can't open comex device
ERROR: unable to initialize library packages
Check that the comex driver module is loaded. To get a list of the loaded modules type:
% /sbin/lsmod
Your list should look something like this:
Module Pages Used by
comex 2 0
icpci 20 0
ERROR: Attempt to load a null system param file
ERROR: unable to initialize library packages
You probably don't have the environment of your account set. The PC Guider software needs some environment variables to be set in order to search for its configuration files. Check that the .tvguirc lives in your home directory and that its sourced when you enter you account. You may want to add a line like the following to your ".login" file:
source ~/.tvguirc
The file .tvguirc is a cshell script so it won't run under born again shell (bash) or any other shell without support for cshell type commands.
ERROR: can't set camera configuration
ERROR: can't get image width.
The specified acquisition module doesn't match the acquisition module in the installed IC-PCI board. Check you specified the right .conf file for your guider camera in file .tvguirc and that you have the right acquisition module in the .conf file.
ERROR: can't open primary connection to image server
ERROR: unable to initialize library packages
Check that Ximtool is up and runing. If that is the case check that the I/O fifos exist and have the right read/write permissions.
ERROR: siocln_init: can't open /dev/ttyS0 device
ERROR: unable to initialize library packages
If you get this message the program wasn't able to open the serial communication port. Check that the serial device name in your .conf file matches the one on your system. Also check that it has the right read/write permissions.
host machine: RPC: Port mapper failure - RPC: Unable to send
WARNING: rpc: can't open "host machine"
The GUI wasn't able to open an RPC connection to the application program. Check that the host machine name in your .tvguirc file match the machine name in which the PC Guider program is running. Check also that the network interface is working correctly (a ping to the host machine will do). Quit all the windows and restart.
host machine: RPC: Remote system error - Connection refused
WARNING: rpc: can't open "host machine"
The GUI wasn't able to open an RPC connection to the application program. This message usually appears when the application program is not running at the moment the GUI came up. Check for other error messages like warnings about lock files, etc.
ERROR: can't open icpci ident ioctl device.
ERROR: unable to initialize library packages
The program wasn't able to open the frame grabber device driver. This may happen if the application finished uncleanly. You will have to uninstall the driver and install it again. If you have modified the rc.local file to load the drivers automatically the easiest way to go is reboot the machine. Otherwise you will have to do it manually (see installing the icpci drivers above).