Procedure for new texan software:
July 13, 2005 J. B. Scott & K. Heath, posted by J. N. Louie
Connect the bridge to the PC and the GPS as per usual. Connect Bus cable to the trans case. On the bridge PC the login prompt will appear:
login: reftek
password: dasmaster
1. Connect the MAC to the bridge using a crossover cable.
2. On the MAC create a terminal window and cd /Users/jscott/Texan if using refract (or /Users/pancha/Texan if using shock) and
type source ./source-me. Let's call this window "Window A".
** Make sure it is a csh window. If it is not, go to the menu bar, click on “Terminal”, and then change the setting to csh. Open another terminal – it should have csh along the top now. Let's call this window "window A".
In this window, Window A, type:
source ./source-me.
3 . On the Mac a create a second terminal window ( f+alt+n) and type ssh reftek@134.197.33.30 to log into the bridge. Let's call this window, “Window B".
login: reftek
password: dasmaster
4. Connect power to the trans case and then connect the Texans.
Deployment.
5. To program the texans, in window A type
enum -i 134.197.33.30 0 -V
cgps (^C to stop it once you see you have GPS lock “L”).
setbridge (this will say “time now set” when done.)
batt -b 3 (3 is the minimum voltage level – if a battery is below this level, “batt” will report which Texans have a voltage below this level. Re-enter command with more favorable voltage).
6. Now create an event table. The command is “txnetm”.
In Window B type
txnetm
Directory: /home/reftek
name-of-event-table (Create your event table and remember the name you save it to. You can check that it is correct using vi. OR view it on the Mac (see below).)
** warm up length: 300
starting event table time should be entered as: yyyy:ddd:hh:mm:ss
Sample rate: 200
Event length: 120
Interval between events: 150
enter ‘q’ to end event table
7. We now need this event table in the directory /Users/jscott/Texan on the Mac. To do this, in window A type
ftp reftek@134.197.33.30
login: reftek
password: dasmaster
get name-of-event-table
bye
**If you have not done so using vi on the bridge (Window B) check that the event table is OK on the Mac using your desired text editor or vi.
8. Now program the Texans. You should be able to just type the following in window A.
tdeploy -i 134.197.33.30 -p name-of-event-table -b 3
**But I get in error about the IP address being wrong, but this is not true. (try erasing daslist.txt in the directory you are working if this happens. command: rm daslist.txt)
9. If tedeploy fails do the following list of commands:
enum -i 134.197.33.30 0 -V
cgps (^C to stop it once you see you have GPS lock “L”).
reset
junk
para -p name-of-event-table
tims (takes a longer time than expected)
stat (then in stat says everything is OK)
acqe (Texans blink green then stop blinking)
Post deployment download
10. In window A type:
enum -i 134.197.33.30 0 -V
11. In window A type:
cgps (^C to stop it once you see you have GPS lock “L”).
setbridge (this will say “time now set” when done.)
tretrieve
12. If tretrieve does not work the offload sequence would be:
enum -i 134.197.33.30 0 -V
acqd
tims (takes a longer time than expected)
stat (then in stat says everything is OK)
offl
13. In window B cd to the ”data” directory.
cd /home/reftek/data
Now run
trdpeek –i *TRD
This checks that all the files are OK. If they are not, go back to steps 11 or 12. (If you have reset the time, “tims” more than once because of a problem downloading the files will display as NOT OK. This is probably because the time was set repeatedly and the data is good.)
14. Now we want to move the data to a processing machine.
If you want to transfer to the Mac leave the cross-over cable connected.
If you want to transfer to the Suns, replace the cross over cable connected to the bridge to the internet cable.
15. Now, either on the Mac or a Sun do the following:
On the Mac (window A) or the Sun (terminal window on Sun), in a terminal window, cd to the directory you wish to deposit the data.
Now type:
ftp 134.197.33.30
login: reftek
password: dasmaster
cd data (data is the directory on the bridge were the TRD files were previously downloaded)
bin
prompt
mget *TRD (Check that the files transferred before closing ftp connection)
bye
To turn off the bridge
Either in Window B or on the PC of the bridge type
bhlt (in directory /home/reftek)
Then type the password “tscript”