Pat/Dan - box definition files |
Top Previous |
WhiskerServer v2.0 - DEVICE DEFINITION FILE - DO NOT ALTER THIS LINE ####################################################################
#################################################################### # These definitions are for Pat + Dan's boxes ####################################################################
# This file defines device names used by the WhiskerServer program. # Lines beginning with a hash (#) are comments and are ignored. # # Each line takes the following format: # # <device_type> <device_number> <group_name> <device_name> # # where <device_type> may be # line = digital I/O line # display = display device (monitor) # audio = audio device (sound card, or half-sound card; see manual) # # The <device_number> is the number of the line/display/audio device that you see # on the server's console - the number that you would otherwise claim. # # The COMBINATION of the <group_name> and <device_name> must be unique. # If the server encounters non-unique device group/name pairs in this file, # all but the first will be ignored. # Neither the <group_name> nor the <device_name> may start with a number.
#################################################################### # # For full security, clients should check that the lines they get are inputs/outputs # as appropriate, and set the correct reset state. For example, to claim box # 0, you can simple execute the following command: # # ClaimGroup box0 -prefix whatever -suffix ifyouwant # # but for safety, you should also issue these: # # ClaimLine box0 NOSEPOKE -input # ClaimLine box0 LEFTLEVER -input # ClaimLine box0 RIGHTLEVER -input # ClaimLine box0 LOCOBEAM_FRONT -input # ClaimLine box0 LOCOBEAM_MIDDLE -input # ClaimLine box0 LOCOBEAM_REAR -input # ClaimLine box0 HOUSELIGHT -output -ResetOff # ClaimLine box0 TRAYLIGHT -output -ResetOff # ClaimLine box0 PUMP -output -ResetOff # ClaimLine box0 DIPPER -output -ResetOff # ClaimLine box0 LEFTLEVERCONTROL -output -ResetOff # ClaimLine box0 RIGHTLEVERCONTROL -output -ResetOff # ClaimLine box0 LEFTLIGHT -output -ResetOff # ClaimLine box0 RIGHTLIGHT -output -ResetOff # ####################################################################
# Box 0 definition
line 0 box0 NOSEPOKE line 3 box0 LEFTLEVER line 6 box0 RIGHTLEVER line 9 box0 LOCOBEAM_FRONT line 12 box0 LOCOBEAM_MIDDLE line 15 box0 LOCOBEAM_REAR
line 24 box0 HOUSELIGHT line 27 box0 TRAYLIGHT line 30 box0 PUMP line 33 box0 DIPPER line 36 box0 LEFTLEVERCONTROL line 39 box0 RIGHTLEVERCONTROL line 42 box0 LEFTLIGHT line 45 box0 RIGHTLIGHT
# Box 1 definition
line 1 box1 NOSEPOKE line 4 box1 LEFTLEVER line 7 box1 RIGHTLEVER line 10 box1 LOCOBEAM_FRONT line 13 box1 LOCOBEAM_MIDDLE line 16 box1 LOCOBEAM_REAR
line 25 box1 HOUSELIGHT line 28 box1 TRAYLIGHT line 31 box1 PUMP line 34 box1 DIPPER line 37 box1 LEFTLEVERCONTROL line 40 box1 RIGHTLEVERCONTROL line 43 box1 LEFTLIGHT line 46 box1 RIGHTLIGHT
# Box 2 definition
line 2 box2 NOSEPOKE line 5 box2 LEFTLEVER line 8 box2 RIGHTLEVER line 11 box2 LOCOBEAM_FRONT line 14 box2 LOCOBEAM_MIDDLE line 17 box2 LOCOBEAM_REAR
line 26 box2 HOUSELIGHT line 29 box2 TRAYLIGHT line 32 box2 PUMP line 35 box2 DIPPER line 38 box2 LEFTLEVERCONTROL line 41 box2 RIGHTLEVERCONTROL line 44 box2 LEFTLIGHT line 47 box2 RIGHTLIGHT
# Box 3 definition
line 72 box3 NOSEPOKE line 75 box3 LEFTLEVER line 78 box3 RIGHTLEVER line 81 box3 LOCOBEAM_FRONT line 84 box3 LOCOBEAM_MIDDLE line 87 box3 LOCOBEAM_REAR
line 96 box3 HOUSELIGHT line 99 box3 TRAYLIGHT line 102 box3 PUMP line 105 box3 DIPPER line 108 box3 LEFTLEVERCONTROL line 111 box3 RIGHTLEVERCONTROL line 114 box3 LEFTLIGHT line 117 box3 RIGHTLIGHT
# Box 4 definition
line 73 box4 NOSEPOKE line 76 box4 LEFTLEVER line 79 box4 RIGHTLEVER line 82 box4 LOCOBEAM_FRONT line 85 box4 LOCOBEAM_MIDDLE line 88 box4 LOCOBEAM_REAR
line 97 box4 HOUSELIGHT line 100 box4 TRAYLIGHT line 103 box4 PUMP line 106 box4 DIPPER line 109 box4 LEFTLEVERCONTROL line 112 box4 RIGHTLEVERCONTROL line 115 box4 LEFTLIGHT line 118 box4 RIGHTLIGHT
# Box 5 definition
line 74 box5 NOSEPOKE line 77 box5 LEFTLEVER line 80 box5 RIGHTLEVER line 83 box5 LOCOBEAM_FRONT line 86 box5 LOCOBEAM_MIDDLE line 89 box5 LOCOBEAM_REAR
line 98 box5 HOUSELIGHT line 101 box5 TRAYLIGHT line 104 box5 PUMP line 107 box5 DIPPER line 110 box5 LEFTLEVERCONTROL line 113 box5 RIGHTLEVERCONTROL line 116 box5 LEFTLIGHT line 119 box5 RIGHTLIGHT |