#!/bin/csh -f
#
#pragma ident "@(#)e3chk	1.2 10/10/03 EDT"
#

set unit = 0

if ( $#argv == 2 ) then
    if ( "$argv[1]" == "-u" ) then
	set unit=$argv[2]
    endif
endif

echo Testing unit $unit

bitload -u $unit combo_pdh_demuxin
# set clock 2 to e3 rate, clock 0 and 3 to e1 and clock 1 10MHz
set_ss_vco -u $unit 1 0
set_ss_vco -u $unit -F 10000000 1
set_ss_vco -u $unit 4 2
pdb -u $unit -f demux.pdb
